Skip to content
No description, website, or topics provided.
C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
src
Makefile
README.md
screenshot.png

README.md

SDL2 Demo 01

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.

This is a small SDL2-C Demo and it does demonstrate how...

  • to load and use a Window Icon
  • to set up a window and a renderer
  • to load and render textures with dest rects
  • do conditional Rendering
  • check point in Rect intersection
  • check point in Circle intersection
  • to play a sound chunk and set it's volume
  • to play/pause/halt music, set it's volume
  • to open links
  • to ask for and respond to key/mouse events
  • to create tooltips

Useful links:
SDL2-C-Tutorials | SDL2 | SDL-Discourse

Screenshot:
Screenshot

Assets:
Fonts:
NimbusSanL-Regular
Iconfont

Music:
Title: "Wish You Were Here" Artist: THE.MADPIX.PROJECT
source

Contact
Get in touch on SDL-Discourse

You can’t perform that action at this time.