Commit Graph

12 Commits

Author SHA1 Message Date
Jon Thysell e4cb9a7af8 Added sound menu item and other optimizations
* Added sound menu which keeps in sync with pressing sound button
* Changed navigation behavior between scenes to go straight to next
  level if it hasn't been beaten, otherwise return to level select
  so the player can view their progress in the set
* More drawing optimizations
2021-12-16 12:57:00 -08:00
Jon Thysell cdf67289a9 Added saving of progress to the application's 'SAVE' resource 2021-12-12 15:45:28 -08:00
Jon Thysell 5a4928ba39 Doxygen comments part 2 - c files 2021-12-08 14:35:06 -08:00
Jon Thysell 50a753b35e Minor cleanup of resources
Made sure all resources are no longer marked as purgeable so they stay
in memory (not that we were running out), also cleaned up some other
code issues.
2021-12-01 10:08:07 -08:00
Jon Thysell 3542861603 Added level select scene and more
I've added a new level select scene after picking your set, and I've
updated the engine to store the result of each puzzle separately. The
level select is paged (can't fit all 50 on one screen), so needed to add
a new "previous button" graphic.

Added confirmation prompts, so I can prompt before quitting, and for a
new menu option to clear your scores if you want to reset your progress.

Progress is still not persisted when you exit, as I haven't figured out
how to do that yet.

I've also rearranged the title screen a bit.
2021-11-30 18:38:36 -08:00
Jon Thysell 2d5d39874a Removed unnecessary drawing for massive performance boost 2021-11-23 10:34:18 -08:00
Jon Thysell 66794a2241 Refactored scenes into separate files, added game end, added title logo 2021-10-31 15:13:51 -07:00
Jon Thysell 866dadb28d Added placeholder Title screen and scoring 2021-10-28 17:44:36 -07:00
Jon Thysell dd6cb045ca Added minimal HUD and level complete scene, basic game is playable 2021-10-22 11:32:19 -07:00
Jon Thysell 2ce4236ea7 Proper event loop, menus, and more
* Added a proper event loop
* Added minimal menu bars
* Added about menu
* GameWindow initializes a GameEngine (even if you can't play it yet)
* Updated variable naming conventions
2021-10-15 17:29:07 -07:00
Jon Thysell 855abe8717 Fix line endings 2021-10-11 11:11:48 -07:00
Jon Thysell 1f51e4e4d2 First "Hello MacLO" build
* Added base "Hello MacLO" app
* Added first attempt at porting game engine from [ArduLO](https://github.com/jonthysell/ArduLO)
* Added README.md and LICENSE.md
2021-10-11 11:04:12 -07:00