Graphics and game programming using C++ and SDL

Prepare the your environment. Install g++ Install sdl Install vim and configure .vimrc for C++ projects Run your first hello world program Display Window Graphics basics Sprite and animation basics Keyboard inputs Mouse inputs Summary

Game programming: Your first pygame code!

Install pygame to Python 3. We don’t want to re-invent the wheels. Follow this tutorial to get pygame installed on your system: http://danielj.se/2012/06/16/how-to-install-pygame-to-python-3-on-ubuntu/ Once you got it all set up, type the following game in your editor, save it as hellogame.py, and run it with python3 hellogame.py import pygame, sys…