Commit Graph

136 Commits

Author SHA1 Message Date
Storm Dragon
aed7ba523d First pass at implementing a speech history option for games. 2025-09-23 17:21:33 -04:00
Storm Dragon
5444ec4047 Fixed a bug where _ prefixed sounds in sub directories weren't hidden from learn sounds. 2025-09-23 14:16:11 -04:00
Storm Dragon
66bc11099e I misremembered the one I wanted it was event.clear not pump. 2025-09-21 22:38:16 -04:00
Storm Dragon
25d54a4f5e Potential fix for dialogues when running from pyinstaller compiled code. 2025-09-21 22:15:19 -04:00
Storm Dragon
a00bdc5ff9 Removed the default text in scoreboard.py. This way people don't have to backspace before entering their name. If the text is empty or None, it then uses Player as the default. 2025-09-21 14:33:18 -04:00
Storm Dragon
d050db0d6e Dialogue instructions only show once per game now following the same pattern as display_text. 2025-09-21 13:41:52 -04:00
Storm Dragon
a98783dbc4 Fixed critical sound timing bug. Finally, after a couple of days of banging my head against this problem and sound getting progressively worse, it's fixed. Turned out the fix was a very simple timing issue for when to play sounds. 2025-09-19 12:51:45 -04:00
Storm Dragon
f2079261d1 More event handling to help with pyinstaller compilation. 2025-09-10 12:57:09 -04:00
Storm Dragon
0190fa3a06 Add the ability to add an optional graphical logo for games. Tested with .png file. 2025-09-10 00:59:21 -04:00
Storm Dragon
09421c4bda Updated donation link. 2025-09-08 11:14:42 -04:00
Storm Dragon
dcd204e476 Added the ability to create submenus with instructions. 2025-09-07 02:38:27 -04:00
Storm Dragon
ca2d0d34bd A few more tweaks to the input code. 2025-07-10 01:22:24 -04:00
Storm Dragon
8ffa53b69f Attempt to fix speech cutoff when reading default text. 2025-07-10 01:13:59 -04:00
Storm Dragon
68ffde0fc7 Dropped wxpython because of stability issues. 2025-07-10 00:53:36 -04:00
Storm Dragon
a17a4c6f15 Code cleanup and sound consolidation. 2025-03-22 17:34:35 -04:00
Storm Dragon
3a478d15d5 Instead of implementing sound changes in one huge go, I'm going to try smaller approaches. Now play_sound has an optional loop parameter set to false by default for backwards compatibility. 2025-03-17 21:12:29 -04:00
Storm Dragon
3b01662d98 Directory names were not speaking. Hopefully fixed it. 2025-03-16 17:45:49 -04:00
Storm Dragon
5e926fa7eb More updates to learn_sounds. I think I have a good system for multiple sound directories now. 2025-03-16 17:34:22 -04:00
Storm Dragon
e272da1177 learn_sounds needed updating too. Hopefully this attempt works. 2025-03-16 17:13:02 -04:00
Storm Dragon
1bb9e18ea2 Sounds can now load from subdirectories. 2025-03-16 17:02:18 -04:00
Storm Dragon
619cb5508a Learn sound now tells you which item in the list you are on. 2025-03-16 01:20:41 -04:00
Storm Dragon
2c34f31a82 Fixed music not pausing when play is selected. 2025-03-15 21:28:06 -04:00
Storm Dragon
a9c2c4332d Fixed a typo in utils.py. 2025-03-15 21:10:20 -04:00
Storm Dragon
fedb09be94 Updated the readme. 2025-03-15 20:33:57 -04:00
Storm Dragon
27765e62bc Finally, a working scoreboard! 2025-03-15 19:52:16 -04:00
Storm Dragon
23aea6badf More fixes for scoreboard. 2025-03-15 19:06:29 -04:00
Storm Dragon
af38d5af76 Fixed another error in scoreboard. 2025-03-15 18:41:35 -04:00
Storm Dragon
4d0436c5a9 Fixed typo in menu.py. 2025-03-15 18:34:30 -04:00
Storm Dragon
f51bd6dee4 Fixed errors in __init__ 2025-03-15 18:31:43 -04:00
Storm Dragon
3b2bcd928d Fixed errors in scoreboard. 2025-03-15 18:29:55 -04:00
Storm Dragon
91f39aad88 Oops, I accidently committed my scrp file for menu instead of the actual file. 2025-03-15 18:22:21 -04:00
Storm Dragon
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
Storm Dragon
3f8385599b Work on fixing the path read for scores. 2025-03-15 17:28:32 -04:00
Storm Dragon
468c663cc1 Integrate scoreboard with game_menu() 2025-03-15 17:07:51 -04:00
Storm Dragon
fe772cbb1e Consolidated common menu options for game_menu. Now the simplest call is choice = game_menu(). 2025-03-15 04:22:44 -04:00
Storm Dragon
2c101d1778 Fixed credits file not displaying. 2025-03-15 03:13:52 -04:00
Storm Dragon
8f81323668 Attempt to make sure exit works even if there's a problem. 2025-03-14 23:27:17 -04:00
Storm Dragon
be6dfdf53a Attempt to fix traceback on game exit with some older games. 2025-03-14 23:10:14 -04:00
Storm Dragon
2ad22ff1ae Added back the power bars that somehow got lost in one of the previous updates. 2025-03-14 21:41:00 -04:00
Storm Dragon
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
Storm Dragon
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
Storm Dragon
7902dfacd1 Pressing enter interrupts messagebox messages. 2025-02-26 03:09:43 -05:00
Storm Dragon
10b46fa168 Only show display_text message once per session. 2025-02-26 02:55:52 -05:00
Storm Dragon
e7d5b03e55 Adjust volume a bit for directional play. 2025-02-24 14:51:01 -05:00
Storm Dragon
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
Storm Dragon
2f791da5b7 One more addition to pause. 2025-02-16 17:23:19 -05:00
Storm Dragon
9997b684ca Infinite loops are bad. 2025-02-16 17:19:47 -05:00
Storm Dragon
e7caff3d0f Fixed a bug with pause game. 2025-02-16 17:04:59 -05:00
Storm Dragon
db6c34f714 Improved pause_game. 2025-02-16 17:02:33 -05:00
Storm Dragon
3862b36d56 Pause game function added. 2025-02-16 16:52:29 -05:00