Commit graph

135 commits

Author SHA1 Message Date
minenice55
17bf3737b5 Misc Additions #4 (#192)
* update icons

* add background loading of sound sequences

- fix bug with preFunction
- remove most of the old preloading code

* update spritesheets for karate man, marching orders

* file explorer chart loading

* update icon for trick on the class
2023-01-11 20:42:12 -05:00
Zeo
674db30b8c Unrecognized entity support (#191)
Due to some recent discoveries about a certain upcoming rhythm game, I have added support for unrecognized entities found in remix.json to be loaded and moved, and be able to save them.
2023-01-06 22:59:54 -05: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
d245740f80 Performance Improvements (#173)
* improve performance with new render settings

- fix letterboxing losing camera references

* fin in missing params?

needs testing

* finish default param check

* scale jump animation of fan club spectators

* fix missing references in a karate man method

* more liberal use of Double in conductor

beatkeeping is now absolute instead of being additive

* optimize Conductor more

reduce caching from constantly sorting tempo changes despite game manager doing it for us
moved metronome logic to LateUpdate
2022-09-22 22:05:04 -04:00
minenice55
d74fe11e68 Beatmap Sections & Latency Reduction (#170)
* prep UI for chart section

* all special layers now on one area

todo: have buttons toggle between special layers  (selection mode shows all?), use the tabs system for this

* swapping between special timelines - prelim

* special entities can be placed

* spec. timeline base functions complete

music volume changes should work now

* attempt at input lag reduction

needs testing

* fix dsp issues

* smaller DSP buffer?

* Revert "smaller DSP buffer?"

This reverts commit 9d36db5ff90cf4e2d7bb8db9b4b7376cb493e02b.

* make conductor clock use real time (double)

change order of execution of input-related scripts to further attempt a reduction in input latency

* start values can be changed

make the old special entity bar visible when the corresponding type is selected

* creation of Chart Sections (TODO: GO REFERENCE)

* added GO references

* section edit dialog

* disable wrapping on chart section obj

* backspace can now delete entities

* entities don't shift when duplicated

* fix PlayerActionEvent order of operations

- fixed remix loading trying to clear special timeline while it's writing to itself

* make oop check match parity

* more operation order fix

* fix Karate Man BG initialization

* show section progress in editor

todo: section progress in-game

* more fix for entity duping
2022-09-18 16:48:14 -04:00
minenice55
3697021976 correct param typings on load now 2022-08-22 19:14:38 -04:00
minenice55
dcb2a71b98 start implementation of new format
needs fixes for some types
2022-08-21 19:46:45 -04:00
minenice55
a45625ebd0 heavy rework of our input system
- implement the InputController abstract class, an adapter class for any HID interface to use common controller methods relevant to Heaven Studio
- implement InputKeyboard and InputJoyshock classes, for keyboard input and controllers driven by JoyShockLibrary respectively
- add Linux compile of JoyShockLibrary
2022-07-23 20:36:10 -04:00
minenice55
8df667bfec basic controller input from JSL
may need compiles for linux and mac
2022-07-19 18:50:35 -04:00
minenice55
b660b4dcbd Allow games to load assets from AssetBundles (#102)
* Loading improvements: prepwork for loading from assetbundles

* note for sfx

* cleaner code

* correct type

* put loaded assetbundle in the minigame data instead

also lays groundwork for future localization stuff

* add samurai slice gold, coin toss assetbundles

* very messy "already loaded" checks

* make Dj School load from assetbundle
2022-06-12 12:32:00 -07:00
minenice55
37eb45ec6d Small Bugfixes (#95)
* Fix Sheets issue 11

* Textboxes: Fix unicode glyphs sometimes not displaying

* Fan Club: fix order of operation bug

* Conductor: refactor ReportBeat

this fixes issues with using crop stomp alongside tempo changes

* Built to Scale (Gold): temporarily disable post-processing

game renders very incorrectly due to the post processing effects
will need someone who knows what they're doing in that field to fix it proper

* marked some assets for deletion

* I'm dumb and left in debug prints
2022-06-08 20:35:15 -07:00
minenice55
a824040f59 Tempo changes restored (#92)
* Prepwork for seeking + tempo change fixes

TODO: make playing after seeking function (I'll need help with the offset stuff so if anyone can push to this branch please do)

* functions to get the beat from a song position

will need more testing but I think it works well enough to get into prod
thanks @wooningcharithri#7419 for the psuedo-code
2022-06-06 09:54:57 -07:00
minenice55
fc07f80b4f Feature: Textboxes and other text-related features (#90)
* Textboxes: setup prefab

* Textboxes: basic functionality finished

* Textbox: scaling

* Textbox: open captions

* Textbox: res edits

* Textbox: song artist

* Textbox: closed captions

* Textbox: fix not being able to use multiple text events

* I/O: save / load remixes using UTF-8 encoding

* Textboxes: stop editor shortcuts while typing
2022-06-03 20:15:05 -07:00
minenice55
4ace832a11 Global Camera Movement (#80)
* Global Camera: move Spaceball to new system

* Global Camera: holy shit I'm done already?????
2022-05-15 22:29:39 -07:00
Slaith
8960d9da55 Allowed lion count and mii faces to be set before game switches and fixed some bugs from last pr
I went through every single game script to look for bugs in intialization, there shouldn't be anything else that was caused by the pr (there is a bug in Spaceball where a ball cue won't trigger correctly if it's on the same beat as the switch, but i'm not sure how to fix it)
2022-03-27 11:13:13 -07:00
Jenny Crowe
8d0895b86d Editor: Music volume! 2022-03-19 05:46:38 -07:00
Jenny Crowe
2d80cb05b1 The biggest of boi refactors 2022-03-14 07:21:05 -07:00
Slaith
c9ec6bd6e2 Merge branch 'master' of https://github.com/megaminerjenny/HeavenStudio into megaminerjenny-master 2022-03-07 20:53:30 -08:00
Slaith
531053cdd3 Implemented inactive functions for all game count ins
Also made some changes to how SwitchGame(), OnGameSwitch, and the jukebox work.
2022-03-07 20:46:49 -08:00
Jenny Crowe
71d7f1323f Flash now relegated to its own layer 2022-03-07 17:21:27 -07:00
Jenny Crowe
ec571a52fe Flash now renders in fullscreen 2022-03-07 08:58:34 -07:00
Jenny Crowe
1d564b4910 Fixed some errors 2022-03-07 02:41:07 -07:00
Jenny Crowe
c6f0da37a2 BTSDS: Piano!!! 2022-03-07 02:16:31 -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
Carson Kompon
4636b8a4bf Added Checkbox Parameter + Toggle Inputs Event
So now you can disable inputs if you need to :)
2022-03-01 02:27:49 -05: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
Carson Kompon
609ce5cd6e Reset Song when pressing "New"
Song was not removed prior to this
2022-02-26 14:06:52 -05:00
Carson Kompon
2a8da0a551 Added New (CTRL+N) Button
Allows you to call GameManager.LoadRemix("") to initialize a blank remix at bpm 120. The New button (or CTRL+N) calls Editor.NewRemix();
2022-02-25 22:41:32 -05:00
Jenny Crowe
8e1013b96a Editor: Song offset! 2022-02-24 07:02:21 -07:00
Jenny Crowe
f3b30f212b Camera now always resets on game switch, even when scrubbing. 2022-02-23 20:17:53 -07:00
Jenny Crowe
8557a382ae DJ School: Additional gameplay implementation and tuning. 2022-02-20 10:28:56 -07:00
Jenny Crowe
973fe3118f Rhythm Rally: Fixed broken background in editor preview. FreeCam components can now be enabled/disabled with ctrl+shift+D. 2022-02-20 06:57:20 -07:00
Braedon
10ffad5d3f Changing the "Update" function to "LateUpdate" in GameManager might fix some animation bugs. But also might cause a few others 2022-02-18 19:44:17 -05:00
Braedon
79fc4c8f8d Camera flashes (bug associated with fullscreen) 2022-02-07 20:07:03 -05:00
Braedon
973df96566 Some DJ School logic and animations, DJ Yellow is not currently animatable. 2022-02-04 22:48:35 -05:00
Braedon
4efc96255e Spaceball's camera messed with other games 2022-02-04 13:15:28 -05:00
Jenny Crowe
ef3b287beb GameManager no longer attempts to load games that are "fxOnly" (gameManager, countIn, etc) 2022-02-03 00:47:38 -07:00
Braedon
dbf60aec34 Playback speed slider 2022-02-03 02:28:14 -05:00
Braedon
44faa3f150 Count ins and event selector cleanup 2022-02-02 22:58:08 -05:00
Braedon
d8653bf135 Space soccer polish and editor preview button 2022-02-02 03:36:20 -05:00
Braedon
809ef84f35 You can now press whenever you want on Space Soccer 2022-02-01 20:11:42 -05:00
Braedon
7190505628 Same but for Game Manager events 2022-01-31 00:02:36 -05:00
Braedon
05f8a5a842 Event properties wouldn't update when calling multiple events at once. (FIXED) 2022-01-30 23:59:15 -05:00
Braedon
759d4236e2 Discord rich presence 2022-01-30 18:40:12 -05:00
Braedon
bc8f7419be Basic saving and loading system 2022-01-30 07:03:37 -05:00
Braedon
69535ba564 Upgrade renderer to the universal render pipeline 2022-01-30 04:09:26 -05:00
Braedon
80ca4743f2 Game switch improvements + Karate man animation fixes (READ DESC)
If you don't release on a combo, it will smoothly transition back to the idle animation. Fixing basically a soft-lock.
2022-01-29 20:26:53 -05:00
Braedon
a5638a3302 Karate man game switch cue fix 2022-01-29 18:30:29 -05:00
Braedon
aef93fa0a1 Tempo change? (Don't update very buggy) 2022-01-27 21:50:57 -05:00
Braedon
b79535168b More space soccer crap, like fixing some animations 2022-01-24 20:02:45 -05:00
Braedon
d88a5614ec I'm tired 2022-01-23 21:15:23 -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
62c6e65945 Autoplay began 2022-01-22 22:40:53 -05:00
Braedon
e7353723ab Multisound + Combo miss animation 2022-01-20 20:24:30 -05:00
Braedon
6cf529327b Buggy timeline object resizing 2022-01-17 14:23:18 -05:00
Braedon
32298d85d6 Box selection improvements 2022-01-16 14:23:46 -05:00
Braedon
38e442da84 Import game icons 2022-01-15 17:52:53 -05:00
Braedon
660af3f678 Game switching in every game 2022-01-15 13:46:50 -05:00
Braedon
ff6eb94055 Game switching fixes 2022-01-15 12:45:08 -05:00
Braedon
bf7d7110bc Dynamic editor theme (WIP), read desc for more info
Spaceball has been improved, you can now hit multiple balls at a time. Fork Lifter and Karate Man need this update soon as well. No idea why I did it the way I did.

Time jumping also has been improved by pausing.

Dynamic editor themes for custom theme support, however that won't be implemented until later.
2022-01-13 21:33:51 -05:00
Braedon
75c98a87fb Time hopping improvements although still a bit buggy 2022-01-13 19:35:41 -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
7928e3f94b Can pick places on timeline and gamemanager bugs fixed 2022-01-07 18:51:08 -05:00
Starpelly
c838c65494 Playback visualization + started on timeline in editor 2022-01-07 06:36:23 -05:00
Starpelly
032777e36f Editor stuff 2022-01-05 19:11:33 -05:00
Starpelly
ee42be75e0 Initialize game with one script 2022-01-03 17:42:43 -05:00
Starpelly
581435fe5d Game loading optimization 2021-12-31 09:46:11 -05:00
Starpelly
90f03dc4ff DSP to game time improvement, might be buggy, but works well so far 2021-12-31 01:56:51 -05:00
Starpelly
6482ab3d4c Spaceball camera and perspective fixes + Karate Man animated background 2021-12-30 07:17:22 -05:00
Starpelly
2677ac1172 Karate Man started. 2021-12-29 01:52:48 -05:00
Starpelly
b5a1651dbc Further improvements to AudioSource.time (Conductor.cs) 2021-12-27 21:36:27 -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
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
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
Starpelly
286c862197 Got rid of all hard-coded ForkLifter code from GameManager. 2021-12-20 23:38:59 -05:00
Starpelly
5d85d9d363 Proper namespaces 2021-12-20 20:10:49 -05:00
Starpelly
9266cf2a8a Fork Lifter Spaghetti Code 2021-12-18 23:10:43 -05:00