In this project, we use SDL framework to program the simple game - Pacman, which is the first lesson for coding with SDL.
- [] Control pacman character: moving with keyboard.
- Organizing source code:
- src: including code: header(h), source(cpp)
- assets: including sprite - image of characters, sound, ...
- Get sprite of pacman
- Using keyboard event in SDL
- Organizing source code:
- [] Creating obstacle: wall - character cannot moving when see obstacle
- [] Creating other characters
- [] Creating awards
- ...
- .h - declare class of object pacman
- .cpp - define class of object pacman