Commit Graph

42 Commits

Author SHA1 Message Date
minenice55 6bb135a091 event caller refactoring
change operation order of minigame loading
2024-01-25 12:29:05 -05:00
minenice55 df905c699a 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 199d16cb9f 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 50a1b7bcdb 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 4c4d0a7a7a 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 599c12d8b6 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 22335a7df7 finally fix deserialization of the new format 2022-08-21 21:57:32 -04:00
minenice55 dcb2a71b98 start implementation of new format
needs fixes for some types
2022-08-21 19:46:45 -04:00
Jenny Crowe 2d80cb05b1 The biggest of boi refactors 2022-03-14 07:21:05 -07:00
Slaith 6c25344e9e clean up 2022-03-06 18:37:27 -08:00
Slaith d2bc7d9871 Added inactive functions
I'm going to flesh it out more in the next commit
2022-03-02 13:59:35 -08:00
Slaith a4af3adaea 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 554a8833ec 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 79fc4c8f8d Camera flashes (bug associated with fullscreen) 2022-02-07 20:07:03 -05:00
Braedon 44faa3f150 Count ins and event selector cleanup 2022-02-02 22:58:08 -05:00
Braedon 606ad902e7 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 44e70ddf1e 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 6cf529327b Buggy timeline object resizing 2022-01-17 14:23:18 -05:00
Braedon 8e00fa3d4c Drag n drop begun 2022-01-10 19:17:29 -05:00
Braedon f4459c1c98 Timeline improvements 2022-01-09 18:35:55 -05:00
Braedon 5c2b4317df Timeline entities added 2022-01-08 11:42:48 -05:00
Starpelly ee42be75e0 Initialize game with one script 2022-01-03 17:42:43 -05:00
Starpelly b12658a7a7 Most kick animations and functionality complete 2022-01-02 07:09:15 -05:00
Starpelly 88e2264d87 Karate Man Kick started 2022-01-01 13:54:17 -05:00
Starpelly 581435fe5d Game loading optimization 2021-12-31 09:46:11 -05:00
Starpelly 6482ab3d4c Spaceball camera and perspective fixes + Karate Man animated background 2021-12-30 07:17:22 -05:00
Starpelly c5938adb92 Karate Man animation fixes 2021-12-30 03:26:18 -05:00
Starpelly 2677ac1172 Karate Man started. 2021-12-29 01:52:48 -05:00
Starpelly cec00281c4 Spaceball pretty much finalized. 2021-12-28 02:38:55 -05:00
Starpelly b5a1651dbc Further improvements to AudioSource.time (Conductor.cs) 2021-12-27 21:36:27 -05:00
Starpelly ba8d5238e2 Spaceball costumes 2021-12-26 02:25:17 -05:00
Starpelly f68931cb9b Multiple events can now be called onto same frame + more Spaceball camera fixes 2021-12-26 00:11:54 -05:00
Starpelly 3840870684 Stars background + Camera zooming *UNFINISHED* 2021-12-25 20:04:23 -05:00
Starpelly 23b897206b Highball added to Spaceball + event types added. 2021-12-25 08:32:52 -05:00
Starpelly bd40c87b80 Spaceball swing + low ball throw + perspective camera 2021-12-25 07:16:40 -05:00
Starpelly 3f1b2a328c Further input latency fixes 2021-12-24 21:37:03 -05:00
Starpelly cb79307b46 Fixed ForkLifter hand grab bug 2021-12-23 22:36:16 -05:00
Starpelly 3d103fbf7a Fixed problem with Trio faces not changing 2021-12-23 19:58:48 -05:00
Starpelly dab2379f68 Music sorting 2021-12-23 17:39:03 -05:00
Starpelly 82e6b881eb General code cleanup 2021-12-22 21:28:05 -05:00
Starpelly 7635cd87b8 Fork Lifter fully functional again + more progress on dynamic event caller 2021-12-22 20:49:16 -05:00
Starpelly 5a9a2bcaae Dynamic event manager 2021-12-22 19:08:35 -05:00