Commit Graph

105 Commits

Author SHA1 Message Date
1dc0ac2a7f Moved the high score stuff to the scoreboard because it makes more sense for it to be there even though it is used in the menu. 2025-03-15 18:18:22 -04:00
3f8385599b Work on fixing the path read for scores. 2025-03-15 17:28:32 -04:00
468c663cc1 Integrate scoreboard with game_menu() 2025-03-15 17:07:51 -04:00
fe772cbb1e Consolidated common menu options for game_menu. Now the simplest call is choice = game_menu(). 2025-03-15 04:22:44 -04:00
2c101d1778 Fixed credits file not displaying. 2025-03-15 03:13:52 -04:00
8f81323668 Attempt to make sure exit works even if there's a problem. 2025-03-14 23:27:17 -04:00
be6dfdf53a Attempt to fix traceback on game exit with some older games. 2025-03-14 23:10:14 -04:00
2ad22ff1ae Added back the power bars that somehow got lost in one of the previous updates. 2025-03-14 21:41:00 -04:00
aba87e87ad Huge refactor of the libstormgames library. It is hopefully mostly backwards compatible. Still lots of testing to do, and probably some fixes needed, but this is a good start. 2025-03-14 18:14:42 -04:00
df7945e3b6 Try to fix the problem with cut scenes sometimes not playing in the correct position and at the correct volume. 2025-03-05 19:39:08 -05:00
7902dfacd1 Pressing enter interrupts messagebox messages. 2025-02-26 03:09:43 -05:00
10b46fa168 Only show display_text message once per session. 2025-02-26 02:55:52 -05:00
e7d5b03e55 Adjust volume a bit for directional play. 2025-02-24 14:51:01 -05:00
173220d167 New function for directional audio that needs to be good volume no matter position but indicate direction. 2025-02-24 14:32:45 -05:00
2f791da5b7 One more addition to pause. 2025-02-16 17:23:19 -05:00
9997b684ca Infinite loops are bad. 2025-02-16 17:19:47 -05:00
e7caff3d0f Fixed a bug with pause game. 2025-02-16 17:04:59 -05:00
db6c34f714 Improved pause_game. 2025-02-16 17:02:33 -05:00
3862b36d56 Pause game function added. 2025-02-16 16:52:29 -05:00
8bfe968b4b Added a small delay so the congratulations message for scoreboard can speak. 2025-02-15 12:32:08 -05:00
e2c69e3af7 Fixed a problem with an extra line being added at the beginning of copied text. 2025-02-15 02:55:01 -05:00
da17b71c28 Updated display_text so that it will hopefully skip blank lines when reading with arrow keys. 2025-02-15 02:39:14 -05:00
1cb57391d8 Updated requirements.txt 2025-02-15 01:50:17 -05:00
7f62e6ccca Forgot to specify global when checking the speech delay. 2025-02-15 00:06:23 -05:00
943e2acf53 Try to keep speech form stuttering with status keys. 2025-02-14 23:58:26 -05:00
c242fc6832 Make sure scores are int only. 2025-02-14 21:37:20 -05:00
6d2c6e04d8 Fixed a bug with score sorting. 2025-02-14 20:46:38 -05:00
97431c0c74 Updated the congrats message for the scoreboard. 2025-02-14 19:41:10 -05:00
4a15f951f0 Rewrote the scoreboard class. Added ability to enter name for scoreboard. 2025-02-14 16:50:04 -05:00
5a791510ea Rewrote the scoreboard class. 2025-02-14 16:45:28 -05:00
7cbbc64d27 Fixed a bug in learn sounds. Forgot to switch the if statement from == to in when converting to the list to also allow use of s and w for menu navigation. 2025-02-08 19:51:52 -05:00
b479811a98 Binding for volume keys changed to alt+pageup/down, alt+home/end, etc. 2025-02-08 19:21:14 -05:00
d5d737d0c0 Make intro sound skipable. 2025-02-08 16:13:46 -05:00
dd246db5be Added w and s as alternate navigation keys for libstormgames menus. 2025-02-07 02:12:34 -05:00
21216f361a removed duplicate function. 2025-02-06 12:37:35 -05:00
68e72f5d81 Play sound function added. Code restructure. Added volume controls for master volume, sounds only, and music only. 2025-02-04 05:12:31 -05:00
80fe2caff3 Oops, accidentally removed the obj_update function. 2025-02-03 23:59:46 -05:00
2df86c9c76 Add the ability for obj_play to play a sound once. 2025-02-03 23:49:08 -05:00
5fa90f9e84 Updated play_falling_random. 2025-02-03 21:58:02 -05:00
658709ebce Random play functions for positional audio and positional falling audio. 2025-02-02 17:04:04 -05:00
d5c79c0770 Hopefully last fix to messagebox. This turned out to be harder than I originally thought. 2025-02-01 15:14:29 -05:00
24f9a126d4 I think I was over complicating it. 2025-02-01 15:11:22 -05:00
c316d4e570 I think I actually got it this time. 2025-02-01 15:05:13 -05:00
e66655d75f Another attempt to keep messagebox from double speaking. 2025-02-01 14:59:46 -05:00
c5406d5089 Attempt to keep messagebox from double speaking. 2025-02-01 14:53:55 -05:00
b5b472eebe Added simple message box for spoken text that might need to be repeated. 2025-02-01 14:41:52 -05:00
9f03de15b8 Add a text entry using wx. 2024-08-01 21:10:27 -04:00
428a48678d Power bars are now visual as well as audio. 2024-07-22 22:20:15 -04:00
9a6d6374f9 Added text along with the speak command. Updated window size. 2024-07-22 16:08:42 -04:00
df386cbbd9 Improved check_for_exit function. 2024-07-16 14:22:36 -04:00