A quick and dirty example "game" created for the November 2014 TasLUG (Tasmanian Linux User Group) talk on creating a simple game from scratch using SDL2 and OpenGL.
Copyright Josh "Cheeseness" Bush 2014
Use mouse movement to control the first person camera and WASD or cursor keys to steer and accelerate the hovercraft.
Linker requirements/dependencies
- GLU
- GLEW
- SDL2
- SDL2_ttf
- SDL2_mixer
- stdc++
Windows builds have been tested via MinGW, and platform specific ifdefs are present for that compiler. If you want to try building for Windows with another compiler, you'll need to adjust those.
Source code, models and presentation licenced under Creative Commons: By Attribution 3.0 http://creativecommons.org/licenses/by/3.0/
SciFly-Sans font (see Flyerzone license.txt in resources/fonts/) http://www.flyerzone.co.uk
hovercraft.ogg and fan.ogg are derived from qubodup's CC0 licenced Hovercraft Loop.flac http://freesound.org/people/qubodup/sounds/187684/
"Funk Game Loop" Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 http://creativecommons.org/licenses/by/3.0/ http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100839