Commit graph

100 commits

Author SHA1 Message Date
Amy Grinn
93e666f1bf
Simplified menu drawing; standardized variable names 2024-12-31 13:15:03 -05:00
Amy Grinn
27b6a4d840
Setting initial game state
Use matching for game state procedures
2024-12-31 13:14:17 -05:00
Amy Grinn
514c7db401
Moving default value to parameter list 2024-12-20 10:21:10 -05:00
Amy Grinn
b29c13e0fc
Replace 'win state with 'credits, refactoring level drawing 2024-12-20 10:14:44 -05:00
Amy Grinn
b468bab159
Using menu item actions instead of type and payload 2024-12-20 09:16:30 -05:00
Amy Grinn
b248ea72ad
Changing the way game state is handled 2024-12-20 09:09:12 -05:00
Amy Grinn
4a46d3d1d1
Refactoring menu drawing 2024-12-20 08:52:50 -05:00
Amy Grinn
89fa09c387
Small logic changes 2024-12-20 08:52:50 -05:00
Amy Grinn
8627f06ebd
Avoiding string-append for drawing menu 2024-12-20 08:52:50 -05:00
Amy Grinn
a42d5c5656
Created game state history 2024-12-20 08:52:50 -05:00
Amy Grinn
0e5fc5a73b
Optimizing conditionals 2024-12-20 08:52:50 -05:00
Amy Grinn
6aed092c24
Changed stroke color of menu 2024-12-20 08:52:50 -05:00
Amy Grinn
06a982747e
Combining menu state into a single record 2024-12-20 08:52:49 -05:00
Amy Grinn
20948a5955
Finalizing menu 2024-12-20 08:52:49 -05:00
Amy Grinn
c393ab50b3
Doing the actions when selecting menu items 2024-12-20 08:52:49 -05:00
Amy Grinn
dbca0ba6cf
Added paging to menu 2024-12-20 08:52:49 -05:00
Amy Grinn
d6506a6e6d
Enter and leave sub-menus
Created record types for menus and menu items
2024-12-20 08:52:49 -05:00
Amy Grinn
7bf1d20147
Drawing menu to the screen with text
Also allows user to step up and down the menu.

No action is performed when confirming a menu item yet.

Can't handle menus larger than the screen yet.
2024-12-20 08:52:49 -05:00
Amy Grinn
60b998758d
Have menu open and close with Space 2024-12-20 08:52:49 -05:00
David Thompson
4a59f0df23 Attempt to add gamepad support. 2024-12-10 11:32:33 -05:00
Christine Lemmer-Webber
1c7ab8bba6
Make the bomb animation times a bit more exciting 2024-06-04 16:20:33 -04:00
David Thompson
3015de27e2 Disable level skip hack. 2024-05-26 21:57:16 -04:00
David Thompson
a9575c5aa6 Fix bug where instructions pop-in during reset fade-out. 2024-05-26 20:51:13 -04:00
David Thompson
190f234b44 Disable rat-2 level for now. 2024-05-26 20:43:13 -04:00
David Thompson
76fdb7c6f6 Add particle effects for pickups, e-switches, and warps. 2024-05-26 20:40:42 -04:00
David Thompson
c41fb5abfe Remove pks. 2024-05-26 19:49:11 -04:00
David Thompson
2ce709b95b Add logo and input mappings to intro level. 2024-05-26 18:09:03 -04:00
David Thompson
d725310239 Add particle effect when bomb explodes. 2024-05-26 16:48:03 -04:00
David Thompson
9398b550d7 Add bomb animations. 2024-05-26 16:10:46 -04:00
David Thompson
a70f7f02da Stop importing the experimental levels. 2024-05-26 15:54:45 -04:00
David Thompson
c9336f2273 Lower music volume a bit. 2024-05-26 15:42:48 -04:00
David Thompson
9027df5f20 Add logic gate animations. 2024-05-26 15:42:48 -04:00
David Thompson
fb3da196df Add background music!
Thanks Vivi!
2024-05-26 15:23:41 -04:00
David Thompson
e2a23f7820 Update existing animations to use the new onesheet tileset. 2024-05-26 15:08:37 -04:00
David Thompson
aa0c826b3c Add attempt at onscreen controls for touch screens. 2024-05-26 14:55:27 -04:00
David Thompson
ea8d42ebc4 Add source license headers. 2024-05-26 13:07:47 -04:00
David Thompson
3abec15644 Update music credits. 2024-05-26 12:49:27 -04:00
David Thompson
eeb95785c7 Fix desync between fade out/in and level loading when game is lagging. 2024-05-26 12:35:46 -04:00
Christine Lemmer-Webber
a9755c6ff9
Add catboss-3 level 2024-05-26 08:50:32 -04:00
David Thompson
cab2db6fed Update credits text. 2024-05-25 21:23:52 -04:00
David Thompson
0c85128dd3 Show non-ghost gems during credits. 2024-05-25 21:23:25 -04:00
David Thompson
d2eb41f6f3 Shake screen when bomb explodes. 2024-05-25 20:21:37 -04:00
Christine Lemmer-Webber
d1e5402db7
A somewhat insidious level 2024-05-25 17:31:40 -04:00
Juliana Sims
a674988bc6
Add explosion sound effect 2024-05-25 16:42:39 -04:00
Christine Lemmer-Webber
534e9c30b7
Add catboss-1 level 2024-05-25 14:54:14 -04:00
David Thompson
3c207cd9c3 Move tutorial-8 to 10, add new 8 and placeholder 9. 2024-05-25 09:52:02 -04:00
David Thompson
770a5e6b7d Hack around animation wackiness when user switches windows for awhile. 2024-05-25 07:27:08 -04:00
David Thompson
faf4fa7124 Add animations. 2024-05-25 06:53:06 -04:00
Juliana Sims
6896b49848
Add obligatory checkerboard level (moderate) 2024-05-24 20:43:56 -04:00
Juliana Sims
ca4355ee4f
Add obligatory checkerboard level (basic) 2024-05-24 20:43:56 -04:00