Created
October 29, 2015 20:41
-
-
Save raphaelrk/42816b811587786d3a49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Writing 2D Games in C using SDL | |
cs50 seminar | |
Simple DirectMedia Layer | |
Windows Max Linux iOS Android | |
input/output- audio, keyboard, mouse, joystick, graphics | |
Source engine | |
goals: | |
install libraries | |
create game window | |
create sprites | |
animate sprutes | |
use key/mouse input | |
won't do: | |
3d graphics | |
play audio | |
build for anything but linux | |
BUT will learn to use documentation | |
install aplliance | |
VM run sudo apt-get update | |
sudo apt-get install libsdl2-2.0-0 libsdl2-dbg libsdl2-dev libsdl2-image-2.0-0 libsdl2-image-dbg libsdl2-image-dev | |
git clone https://github.com/tlively/sdl_seminar.git | |
or wget https://github.com/tlively/sdl_seminar/master.zip | |
libsdl.org wiki | |
wiki.libsdl.org | |
API by category | |
a union is like a struct but only with enough memory | |
to hold one of its membr | |
code and such |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment