issues
search
novayo
/
Mario_cplus
MIT License
0
stars
0
forks
source link
Import game statemachine
#17
Open
novayo
opened
3 months ago
novayo
commented
3 months ago
[ ] Init
[ ] Enter: Load resources: sound / handlers
[ ] Starting
[ ] Show start game page.
[ ] Detect
[ ] Loading
[ ] Enter: Load Level
[ ] Game start
[ ] Enter: level.play_background_music()
[ ] while in_game:
[ ] Detect key_input
[ ] collision()
[ ] Update player / background data
[ ] render_level_background
[ ] Exit: level.stop_background_music()
[ ] Game over
[ ] Enter: play_gameover_background_music()
[ ] stop_gameover_background_music()
[ ] if life > 0: Go back to loading stage else Go to ending
[ ] Ending
[ ] play_ending_music()
[ ] Go to init stage