Commit graph

229 commits

Author SHA1 Message Date
Amy Grinn
afef0fd480
Rewrite existing credits
Each credit has its own draw function

Credits outside of the visible game area are not drawn
2025-01-23 12:03:18 -05:00
Amy Grinn
7d4d6115a4
Updated hoot to 0.6.0 2025-01-23 12:03:01 -05:00
Amy Grinn
25e27df8c1 Merge branch 'menu' into 'main'
Have menu open and close with Space

See merge request spritely/cirkoban!1
2024-12-31 19:18:13 +00:00
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
3f463a9a61
Remove commented code 2024-12-20 08:59:28 -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
bd5036a160 Update to bleeding edge Hoot. 2024-12-19 13:09:47 -05:00
David Thompson
5e4d6cce1c canvas: Add strokeRect binding. 2024-12-13 14:58:04 -05:00
David Thompson
f6c7d000c0 Add missing gamepad module.
Sigh...
2024-12-10 11:36:11 -05:00
David Thompson
4a59f0df23 Attempt to add gamepad support. 2024-12-10 11:32:33 -05:00
David Thompson
825fdbc372 Update to Hoot 0.5.0. 2024-12-10 11:32:33 -05:00
Christine Lemmer-Webber
b628b655cf
Fix a couple of issues with the logo
- The left side had a green wire contact but the right side didn't
- Was missing some shading around one of the contacts
2024-06-04 16:25:03 -04:00
Christine Lemmer-Webber
1c7ab8bba6
Make the bomb animation times a bit more exciting 2024-06-04 16:20:33 -04:00
David Thompson
5bccb7c7f6 Improve scaling on small phone screens.
... at the expense of pixel perfection. :(
2024-06-03 12:18:19 -04:00
David Thompson
ecd6cc669b css: Increase size of onscreen controls. 2024-06-03 12:18:07 -04:00
David Thompson
47476ead0c Tweak rat-3 floor tiles slightly. 2024-05-26 22:20:12 -04:00
David Thompson
3015de27e2 Disable level skip hack. 2024-05-26 21:57:16 -04:00
David Thompson
53398c3dc4 Slightly tweak tutorial-7. 2024-05-26 21:56:45 -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
4d507e472f Tweak tutorial-6 floor tiles. 2024-05-26 20:40:27 -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
Christine Lemmer-Webber
204cf8f62d
Fix the logo to actually be named cirkoban 2024-05-26 17:57:39 -04:00
Juliana Sims
0b63d6d4ee
Correct rat level 1 2024-05-26 17:56:20 -04:00
Juliana Sims
51390744a1
Rework and improve rat level 3
This is the final commit adding hidden functionality.
2024-05-26 17:56:19 -04:00
Juliana Sims
f87e7f3f76
Refine bomb logic
This commit is the first of a series introducing hidden logic through
non-obvious commits. I'm mentioning it in the commit messages in the hopes no
one reads these so I can sneak it in without leaving no record at all ;)
2024-05-26 17:53:59 -04:00
David Thompson
d725310239 Add particle effect when bomb explodes. 2024-05-26 16:48:03 -04:00
Christine Lemmer-Webber
4feffecf8e
Added circobon logo
oh wait oh no it's cirkobon guess I gotta fix it or we gotta change
the name
2024-05-26 16:29:34 -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