Commit graph

41 commits

Author SHA1 Message Date
minenice55 254e725b6f
Put Minigame Definitions in a Dictionary (#614)
* put minigame definitions in a dictionary

why haven't we done this two years ago

* paranoia
2024-01-08 06:38:05 +00:00
minenice55 dd461216d9
Chart Seek Bugfix (#545)
* fix lag spike when starting playback from middle of chart

further optimization to GameManager which considerably reduces garbage generation

* let dsp offset be calculated on playback start if needed
2023-09-12 20:38:28 +00:00
minenice55 bb2ae74339
Integration of Jukebox Library (#451)
* add Jukebox library

todo:
- saving / loading of new format
- inferrence of unknown data like past versions
- move the temporary float casts to proper use of double
- make sound related functions take double for timing
- inform people that the Jukebox sound player was renamed to SoundByte lol

* make sound, input scheduling, and super curve use double precision

* successfully load charts

* editor works again

v1 riqs can be saved and loaded

* first tempo and volume markers are unmovable

fix loading of charts' easing values

* use gsync / freesync

* update Jukebox refs to SoundByte

* game events use double part 1

Air Rally - Glee Club converted

* don't load song if chart load fails

* finish conversion of all minigames

* remove editor waveform toggle

* timeline now respects added song offset length

clear cache files on app close
prepped notes for dsp sync

* update timeline length when offset changed

* update to latest Jukebox

* make error panel object in global game manager

* improve conductor music scheduling

* added error message box

fix first game events sometimes not playing
2023-06-10 15:13:29 -04:00
minenice55 caf7d9465f
Play Mode Features Part 1 (#413)
* add pause menu assets

* layout and animation for pause

* make play mode prefab function

re-assign unused class inheritance

* remove filepath

* don't init medals twice

* remove PlayerActionObject

* initial attempt at anti-note lock

TODO: circumvent inputs clearing themselves making the functionality not work

* properly implement input lock prevention

* fix error on editor open

* functional pause menu

* bugfix

* make unpausing not reset current play statistics

* serialize initializer components in inspector instead of procedurally generating

* sanity check

* note for fade

* make flashes in the camera prefabs instead of in world space

remove / reorganize script files
address issue #411

* fix bug with perfect campaign

make minigame transitions hide the game canvas
adjust animation of the song credits textbox

* fully functional intro scene (placeholder for future title screen)

refactored entire game loading procedure
re-organized some files

* add interaction query to disclaimer text

* reword legal

* anchor section medals to section display

more tempo change placement controls

* operation order bugfix

* prep for future ratings and stats

* loading text

* autoload opening scene

* splash screen adjustments

added setting to force enable splash screen

* adjust setting entry
2023-05-07 20:33:15 +00:00
minenice55 87d20b8c8f
Better Sound Sequences (#190)
* add way of creating sound sequences in inspector

- actually implement GameAction preFunction
- implement sound scheduling for Jukebox and MultiSound

* Dj School: fix turntable effect being parented to root

* Pajama Party: fix sleep action type not carrying over between transitions
2023-01-04 23:04:31 -05:00
minenice55 fe0b97d1ab finally fix deserialization of the new format 2022-08-21 21:57:32 -04:00
minenice55 f209b2fd17 start implementation of new format
needs fixes for some types
2022-08-21 19:46:45 -04:00
Jenny Crowe 9f7b8ee278 The biggest of boi refactors 2022-03-14 07:21:05 -07:00
Slaith 896f4a450a clean up 2022-03-06 18:37:27 -08:00
Slaith 7e291e0bfa Added inactive functions
I'm going to flesh it out more in the next commit
2022-03-02 13:59:35 -08:00
Slaith 10572ab35d Actually fixed event system
Somehow I didn't notice while testing before that everything was wrong. I was already suspecting these lines of code would do something weird, and they certainly did.
2022-02-27 11:01:31 -08:00
Slaith 8501e4805c Made the call event function more reliable
I have no idea why the function was set up the way it was before but it should be fine now.
2022-02-27 10:49:06 -08:00
Braedon 49ad157893 Camera flashes (bug associated with fullscreen) 2022-02-07 20:07:03 -05:00
Braedon 44a36ba846 Count ins and event selector cleanup 2022-02-02 22:58:08 -05:00
Braedon 6ac919a232 Fixed some bugs, including one where the game refuses to load a new game. Also migrating a few games to the new Input system. (Read desc)
However the new input system has a bug where if you press with two events eligible for a press, both of them interact. I don't know whether to fix this or not.
2022-01-23 02:01:59 -05:00
Braedon fa519d25d7 A lot of stuff (Read desc)
Beat action is now used to define one-off objects that is used by the beat but I don't wanna bother making a different script for. Example case: the "hit 3" sprite in Karate Man.

Animation helpers for functions I don't wanna rewrite 100,000 times.

General improvements for Karate Man, like prepare animation and some updates to game events.
2022-01-21 02:09:32 -05:00
Braedon 06ef8986c7 Buggy timeline object resizing 2022-01-17 14:23:18 -05:00
Braedon f8a8180061 Drag n drop begun 2022-01-10 19:17:29 -05:00
Braedon 00e3791e6d Timeline improvements 2022-01-09 18:35:55 -05:00
Braedon 9bcb315344 Timeline entities added 2022-01-08 11:42:48 -05:00
Starpelly 775fd7e580 Initialize game with one script 2022-01-03 17:42:43 -05:00
Starpelly 76ed0ee2e9 Most kick animations and functionality complete 2022-01-02 07:09:15 -05:00
Starpelly 2c2d43ac17 Karate Man Kick started 2022-01-01 13:54:17 -05:00
Starpelly fc3cb73bdf Game loading optimization 2021-12-31 09:46:11 -05:00
Starpelly a52e883f3a Spaceball camera and perspective fixes + Karate Man animated background 2021-12-30 07:17:22 -05:00
Starpelly 5cbb182797 Karate Man animation fixes 2021-12-30 03:26:18 -05:00
Starpelly 88f13795a9 Karate Man started. 2021-12-29 01:52:48 -05:00
Starpelly c653d487ac Spaceball pretty much finalized. 2021-12-28 02:38:55 -05:00
Starpelly 75965927d6 Further improvements to AudioSource.time (Conductor.cs) 2021-12-27 21:36:27 -05:00
Starpelly 4b3bfeda1b Spaceball costumes 2021-12-26 02:25:17 -05:00
Starpelly 95ac1306d4 Multiple events can now be called onto same frame + more Spaceball camera fixes 2021-12-26 00:11:54 -05:00
Starpelly 417986c08c Stars background + Camera zooming *UNFINISHED* 2021-12-25 20:04:23 -05:00
Starpelly 6729eec8dc Highball added to Spaceball + event types added. 2021-12-25 08:32:52 -05:00
Starpelly 866c8c80be Spaceball swing + low ball throw + perspective camera 2021-12-25 07:16:40 -05:00
Starpelly db79325393 Further input latency fixes 2021-12-24 21:37:03 -05:00
Starpelly d72cb639b3 Fixed ForkLifter hand grab bug 2021-12-23 22:36:16 -05:00
Starpelly aa3f999721 Fixed problem with Trio faces not changing 2021-12-23 19:58:48 -05:00
Starpelly 88d23ef8cc Music sorting 2021-12-23 17:39:03 -05:00
Starpelly 1a7b1b7e07 General code cleanup 2021-12-22 21:28:05 -05:00
Starpelly 575e47e384 Fork Lifter fully functional again + more progress on dynamic event caller 2021-12-22 20:49:16 -05:00
Starpelly a0e2636ecd Dynamic event manager 2021-12-22 19:08:35 -05:00