Commit Graph

38 Commits

Author SHA1 Message Date
Jon Thysell
3780806d69 Version 1.1 release 2021-12-17 13:13:19 -08:00
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
e35349b418 Doxygen comments part 1 - headers 2021-12-07 11:07:28 -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
206284b71d Version 1.0 release 2021-11-27 15:38:10 -08:00
Jon Thysell
2f818e73b8 Simplified sound by removing sound channel creation 2021-11-24 17:21:44 -08:00
Jon Thysell
e76fd25c07 Added demo.gif 2021-11-23 16:41:06 -08:00
Jon Thysell
2bf70cf136 Fixed bug where opening the about menu breaks input/rendering 2021-11-23 12:23:23 -08:00
Jon Thysell
2d5d39874a Removed unnecessary drawing for massive performance boost 2021-11-23 10:34:18 -08:00
Jon Thysell
95dba45a0e Added offscreen rendering via WindowBuffer to remove drawing flicker 2021-11-21 16:29:38 -08:00
Jon Thysell
85e3d0f003 Add saving of previous GrafPort before drawing to avoid conflicts with DAs 2021-11-19 13:15:41 -08:00
Jon Thysell
6989dcb185 Remove cursor from screenshot 2021-11-12 15:34:55 -08:00
Jon Thysell
d59fb596ef Fix screenshots 2021-11-12 14:31:47 -08:00
Jon Thysell
d6a4b7255c Update readme with screenshots 2021-11-12 14:25:00 -08:00
Jon Thysell
d709703a64 Add PICT override code 2021-11-12 13:46:42 -08:00
Jon Thysell
56f52ad87c Light bitmaps and more sound fixes
* Adding the loading of bitmaps for the lights
* Moved done sounds to start playing after the end scene has drawn
2021-11-12 10:25:28 -08:00
Jon Thysell
efaf627495 Fix sounds on system 6 2021-11-11 15:00:53 -08:00
Jon Thysell
15378f1077 Added sounds! 2021-11-09 17:01:34 -08:00
Jon Thysell
c7958c23bc Imported more image assets, updated scenes 2021-11-08 14:47:31 -08:00
Jon Thysell
d3b5a77eaa Updated TitleScene and PlayScene with new graphic chars
TitleScene now shows A and B "buttons" to start a game.

PlayScene now shows just the level name in the HUD.

Lots of new helpers added to scale and align rects where I want them.
2021-11-07 15:35:44 -08:00
Jon Thysell
eab519a40d Importing image assets from ArduLO
I've imported some of the "character" images from ArduLO, converted to
GIFs because they're easier to work with. They've been imported into a
new Bitmaps structure so they only need to be loaded once at app start.

I've also cleaned up some of the drawing code, and created a series of
helpers for dividing Rects into a 3x3 grid, to make it easier to define
the layout. I've also stubbed out "theme-support". :)
2021-11-04 19:54:28 -07: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
f49200a4a2 Fixed rendering flicker and more
* No more flicker when updating lights
* Lights now toggled on mouseUp instead of mouseDown
* Added playfield and hud areas
2021-10-20 16:13:31 -07:00
Jon Thysell
c90e42305f Added initial playfield rendering 2021-10-20 09:34:31 -07:00
Jon Thysell
cf5daf9dc7 Cleaned up about dialog, fixed window centering 2021-10-16 15:38:43 -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
6184d31e6a Factored out GameWindow, added error alert dialogs, simplified stdbool.h 2021-10-15 09:43:09 -07:00
Jon Thysell
b51cf36f80 Small refactoring, handle missing WIND resource, added icons and version resources 2021-10-13 17:44:08 -07:00
Jon Thysell
fe307eb9e6 Added convertfiles.cmd script 2021-10-12 16:14:00 -07:00
Jon Thysell
fd9030c142 Fix line endings in md 2021-10-11 11:14:02 -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](
* Added and
2021-10-11 11:04:12 -07:00
Jon Thysell
266a8ddc32 Initial commit 2021-10-11 09:37:35 -07:00