Commit Graph

  • a17a4c6f15 Code cleanup and sound consolidation. master Storm Dragon 2025-03-22 17:34:35 -04:00
  • 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. Storm Dragon 2025-03-17 21:12:29 -04:00
  • 3b01662d98 Directory names were not speaking. Hopefully fixed it. Storm Dragon 2025-03-16 17:45:49 -04:00
  • 5e926fa7eb More updates to learn_sounds. I think I have a good system for multiple sound directories now. Storm Dragon 2025-03-16 17:34:22 -04:00
  • e272da1177 learn_sounds needed updating too. Hopefully this attempt works. Storm Dragon 2025-03-16 17:13:02 -04:00
  • 1bb9e18ea2 Sounds can now load from subdirectories. Storm Dragon 2025-03-16 17:02:18 -04:00
  • 619cb5508a Learn sound now tells you which item in the list you are on. Storm Dragon 2025-03-16 01:20:41 -04:00
  • 2c34f31a82 Fixed music not pausing when play is selected. Storm Dragon 2025-03-15 21:28:06 -04:00
  • a9c2c4332d Fixed a typo in utils.py. Storm Dragon 2025-03-15 21:10:20 -04:00
  • fedb09be94 Updated the readme. Storm Dragon 2025-03-15 20:33:57 -04:00
  • 27765e62bc Finally, a working scoreboard! Storm Dragon 2025-03-15 19:52:16 -04:00
  • 23aea6badf More fixes for scoreboard. Storm Dragon 2025-03-15 19:06:29 -04:00
  • af38d5af76 Fixed another error in scoreboard. Storm Dragon 2025-03-15 18:41:35 -04:00
  • 4d0436c5a9 Fixed typo in menu.py. Storm Dragon 2025-03-15 18:34:30 -04:00
  • f51bd6dee4 Fixed errors in __init__ Storm Dragon 2025-03-15 18:31:43 -04:00
  • 3b2bcd928d Fixed errors in scoreboard. Storm Dragon 2025-03-15 18:29:55 -04:00
  • 91f39aad88 Oops, I accidently committed my scrp file for menu instead of the actual file. Storm Dragon 2025-03-15 18:22:21 -04:00
  • 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. Storm Dragon 2025-03-15 18:18:22 -04:00
  • 3f8385599b Work on fixing the path read for scores. Storm Dragon 2025-03-15 17:28:32 -04:00
  • 468c663cc1 Integrate scoreboard with game_menu() Storm Dragon 2025-03-15 17:07:51 -04:00
  • fe772cbb1e Consolidated common menu options for game_menu. Now the simplest call is choice = game_menu(). Storm Dragon 2025-03-15 04:22:44 -04:00
  • 2c101d1778 Fixed credits file not displaying. Storm Dragon 2025-03-15 03:13:52 -04:00
  • 8f81323668 Attempt to make sure exit works even if there's a problem. Storm Dragon 2025-03-14 23:27:17 -04:00
  • be6dfdf53a Attempt to fix traceback on game exit with some older games. Storm Dragon 2025-03-14 23:10:14 -04:00
  • 2ad22ff1ae Added back the power bars that somehow got lost in one of the previous updates. Storm Dragon 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. Storm Dragon 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. Storm Dragon 2025-03-05 19:39:08 -05:00
  • 7902dfacd1 Pressing enter interrupts messagebox messages. Storm Dragon 2025-02-26 03:09:43 -05:00
  • 10b46fa168 Only show display_text message once per session. Storm Dragon 2025-02-26 02:55:52 -05:00
  • e7d5b03e55 Adjust volume a bit for directional play. Storm Dragon 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. Storm Dragon 2025-02-24 14:32:45 -05:00
  • 2f791da5b7 One more addition to pause. Storm Dragon 2025-02-16 17:23:19 -05:00
  • 9997b684ca Infinite loops are bad. Storm Dragon 2025-02-16 17:19:47 -05:00
  • e7caff3d0f Fixed a bug with pause game. Storm Dragon 2025-02-16 17:04:59 -05:00
  • db6c34f714 Improved pause_game. Storm Dragon 2025-02-16 17:02:33 -05:00
  • 3862b36d56 Pause game function added. Storm Dragon 2025-02-16 16:52:29 -05:00
  • 8bfe968b4b Added a small delay so the congratulations message for scoreboard can speak. Storm Dragon 2025-02-15 12:32:08 -05:00
  • e2c69e3af7 Fixed a problem with an extra line being added at the beginning of copied text. Storm Dragon 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. Storm Dragon 2025-02-15 02:39:14 -05:00
  • 1cb57391d8 Updated requirements.txt Storm Dragon 2025-02-15 01:50:17 -05:00
  • 7f62e6ccca Forgot to specify global when checking the speech delay. Storm Dragon 2025-02-15 00:06:23 -05:00
  • 943e2acf53 Try to keep speech form stuttering with status keys. Storm Dragon 2025-02-14 23:58:26 -05:00
  • c242fc6832 Make sure scores are int only. Storm Dragon 2025-02-14 21:37:20 -05:00
  • 6d2c6e04d8 Fixed a bug with score sorting. Storm Dragon 2025-02-14 20:46:38 -05:00
  • 97431c0c74 Updated the congrats message for the scoreboard. Storm Dragon 2025-02-14 19:41:10 -05:00
  • 4a15f951f0 Rewrote the scoreboard class. Added ability to enter name for scoreboard. Storm Dragon 2025-02-14 16:50:04 -05:00
  • 5a791510ea Rewrote the scoreboard class. Storm Dragon 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. Storm Dragon 2025-02-08 19:51:52 -05:00
  • b479811a98 Binding for volume keys changed to alt+pageup/down, alt+home/end, etc. Storm Dragon 2025-02-08 19:21:14 -05:00
  • d5d737d0c0 Make intro sound skipable. Storm Dragon 2025-02-08 16:13:10 -05:00
  • dd246db5be Added w and s as alternate navigation keys for libstormgames menus. Storm Dragon 2025-02-07 02:12:34 -05:00
  • 21216f361a removed duplicate function. Storm Dragon 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. Storm Dragon 2025-02-04 05:12:31 -05:00
  • 80fe2caff3 Oops, accidentally removed the obj_update function. Storm Dragon 2025-02-03 23:59:46 -05:00
  • 2df86c9c76 Add the ability for obj_play to play a sound once. Storm Dragon 2025-02-03 23:49:08 -05:00
  • 5fa90f9e84 Updated play_falling_random. Storm Dragon 2025-02-03 21:58:02 -05:00
  • 658709ebce Random play functions for positional audio and positional falling audio. Storm Dragon 2025-02-02 17:04:04 -05:00
  • d5c79c0770 Hopefully last fix to messagebox. This turned out to be harder than I originally thought. Storm Dragon 2025-02-01 15:14:29 -05:00
  • 24f9a126d4 I think I was over complicating it. Storm Dragon 2025-02-01 15:11:22 -05:00
  • c316d4e570 I think I actually got it this time. Storm Dragon 2025-02-01 15:05:13 -05:00
  • e66655d75f Another attempt to keep messagebox from double speaking. Storm Dragon 2025-02-01 14:59:46 -05:00
  • c5406d5089 Attempt to keep messagebox from double speaking. Storm Dragon 2025-02-01 14:53:55 -05:00
  • b5b472eebe Added simple message box for spoken text that might need to be repeated. Storm Dragon 2025-02-01 14:41:52 -05:00
  • 9f03de15b8 Add a text entry using wx. Storm Dragon 2024-08-01 21:10:27 -04:00
  • e1451f69b0 Started work on making this more library like. testing Storm Dragon 2024-07-27 21:51:12 -04:00
  • 401b2a8527 Merged with latest code from master. Storm Dragon 2024-07-27 21:41:46 -04:00
  • 428a48678d Power bars are now visual as well as audio. Storm Dragon 2024-07-22 22:20:15 -04:00
  • 9a6d6374f9 Added text along with the speak command. Updated window size. Storm Dragon 2024-07-22 16:08:42 -04:00
  • df386cbbd9 Improved check_for_exit function. Storm Dragon 2024-07-16 14:22:36 -04:00
  • 38522aee78 First pass at creating requirements files. Storm Dragon 2024-07-15 19:52:02 -04:00
  • 0e9c52f5e1 A few fixes for x-powerbar, more accurately exiting when exit keys are pressed, etc. Storm Dragon 2024-07-14 03:51:35 -04:00
  • fabf48ff42 Powerbars added and working. Storm Dragon 2024-07-13 03:03:32 -04:00
  • 0c73e98876 Improved sound while walking on left/right only. Storm Dragon 2024-07-05 17:24:23 -04:00
  • 0ef11785ec Revert "A new try at sound panning with walking." Storm Dragon 2024-07-05 17:04:12 -04:00
  • 58ab5aa854 A new try at sound panning with walking. Storm Dragon 2024-06-20 02:03:06 -04:00
  • 639198e8de Somewhat of a start on switching over to pyglet. It's in a very broken state with some remaining calls to pygame. Storm Dragon 2022-03-27 00:59:07 -04:00
  • 155ed6ec39 Updated donation link to use ko-fi. Storm Dragon 2022-01-09 01:59:30 -05:00
  • 68ad08be46 moved the libstormgames.py file to __init__.py so you can just import libstormgames. Storm Dragon 2020-09-15 19:35:59 -04:00
  • 536659338e Updated the object placement code code so that if sounds are out of range they still clame the channel, but they do not play at an audible level.[A Storm Dragon 2020-09-10 18:02:53 -04:00
  • 37aa764d68 Small update to object positioning. Storm Dragon 2020-09-10 13:44:51 -04:00
  • 84a722bb8e Attempt to fix object positioning. Storm Dragon 2020-09-10 02:51:33 -04:00
  • b897abf0a3 Quickly jump to the top or bottom of the game menu with home or end keys. Storm Dragon 2020-09-09 21:38:59 -04:00
  • 678af54346 More work on the sound functions for object placement. Storm Dragon 2020-09-09 20:55:40 -04:00
  • d456b8b3b3 Fixed a couple bugs on the object positioning code. Storm Dragon 2020-09-09 20:41:41 -04:00
  • c5c32943e2 Added the rest of the object management functions, hopefully. Storm Dragon 2020-09-09 20:06:34 -04:00
  • 34d89ca54b Started work on sound positioning for objects. Storm Dragon 2020-09-09 19:50:56 -04:00
  • e8bf4f9565 Scoreboard now works! Finally! Storm Dragon 2020-09-04 11:17:05 -04:00
  • dd350c0285 Scoreboard still not saving past the first position. Storm Dragon 2020-08-30 02:00:07 -04:00
  • ae93e02e69 Another approach to writing the scoreboard. Storm Dragon 2020-08-30 01:41:52 -04:00
  • 21c0795ea9 Updated scoreboard. Storm Dragon 2020-08-30 01:23:32 -04:00
  • 67d2315cef Finally fixed the scoreboard I think. Storm Dragon 2020-08-29 22:11:06 -04:00
  • b6afb5450e New_High_Score method added. Storm Dragon 2019-12-11 23:31:19 -05:00
  • 42266d4b6c More progress on the scoreboard. Not complete yet. Storm Dragon 2019-12-11 23:09:31 -05:00
  • 54842bac29 Scoreboard mostly working. It doesn't read the existing scores correctly yet though. Storm Dragon 2019-12-11 21:45:52 -05:00
  • 08f06699c8 Merge branch 'devel' Storm Dragon 2019-12-11 09:38:30 -05:00
  • fc62ccc058 Make process name nicer. devel Storm Dragon 2019-12-11 09:37:58 -05:00
  • 7ef11be54c New scoreboard feature added. Partially implimented. Storm Dragon 2019-12-11 09:32:50 -05:00
  • ba09c4d5f3 Updated ReadMe, now require setproctitle Jeremiah Ticket 2019-12-11 04:59:56 -09:00
  • 27d24006a2 Merge branch 'master' into devel Jeremiah Ticket 2019-12-11 04:38:32 -09:00
  • d66af32804 Added setproctitle. Jeremiah Ticket 2019-12-11 04:04:56 -09:00