Commit graph

53 commits

Author SHA1 Message Date
minenice55
b1fab52ad9
Integration of Jukebox Library (#451) (#457)
* 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 19:17:06 +00:00
AstrlJelly
11044922d3
Marching Orders Rework + Bug Fixes (#442)
* first things first, kill mr. downbeat.

now onto fixing meat grinder forrealzies

* meat grinder fix

* fixed munchy monk icon + mr upbeat ding bug

* a few little changes

* lotta stuff

yeahh just look at the pr description

* point and clap

* anim Adjustment

* new sheet + adjustments for it

* IM USING THE INTERNET

i hate merge conflicts

* grrr merge conflicts

* insane changes

* progress

* fixed The Spaceball Camera Bug (literally a single line of code wtf guys)
* colrs

* k im done :3

---------

Co-authored-by: ev <85412919+evdial@users.noreply.github.com>
2023-06-04 04:30:42 +00: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
d5ae99d8ba
Game Overlays (#280)
* add accuracy display

* temp BG for show

* separate overlays prefab

make proper shader for star effects

* aim shakiness display

* implement testing skill star

* fully functional skill star

* separate section display from editor

* fully separate chart section display from timeline

* add section to overlays

* fix nullreference issues

* start game layout settings

* add game settings script

* fix nonfunctioning scoring

* invert y position logic on timing bar

* add perfect challenge functionality

* fix section not showing up in editor

add perfect challenge option

* add timing display minimal mode

* Update PerfectAndPractice.png

* show gismo for minigame bounds in editor

* add ability to disable overlays in editor

* prepare medals

add new timing display graphic

* hide screen preview

* per-axis camera control

added per request

* section medals basic functionality

* add medal get animations

* fix bug with perfect icons

* visual enhancements

* adjust look of timing display minmode

address audio ducking issues(?)

* prepare overlay lyt editor

add viewport pan, rotate, scale
adjust audio setting

* add layout editor UI elements

* dynamic overlay creation

* fix default single timing disp

* set up overlay settings controls

* start UI events

* runtime uuid for component reference

* layout editor affects overlay elements

* show overlay element previews while editing

* advanced audio settings

* fix bug in drop-down creation

* fallback defaults for the new stuff

* fix textbox & overlay visibility bugs
2023-03-11 04:51:22 +00:00
minenice55
cdbd1c9b7d
Expose Song Pitch to Minigames (#301)
* expose song pitch to minigames

* clean up new additions

* make new functions actually set music pitch

* fix playback speed slider bug
2023-02-21 16:26:08 +00:00
minenice55
330c538947
First PlayerActionEvent Pass (#202)
* update blue bear to use PlayerActionEvent

* update built to scale DS to use PlayerActionEvent

* update clappy trio to use PlayerActionEvent

* update crop stomp to use PlayerActionEvent

* update drumming practice to use PlayerActionEvent

* update fork lifter to use PlayerActionEvent

* update minigame icons

* update wizard waltz' icon
2023-01-14 23:33:37 -05:00
minenice55
eaba812665
Timing Window Improvements (#199)
* implement a fix for #196

- improve checking for unwanted inputs in minigame scripts, see Fan Club, Karate Man, and Pajama Party for examples
- provisionally implemented calculating average player input offset

* update samurai slice ds to new assets

implement near miss feedback

* import new pajama party assets
2023-01-13 23:53:25 -05:00
minenice55
41e9d36177
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
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
695f6671fb
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
bccd88e164
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
f209b2fd17 start implementation of new format
needs fixes for some types
2022-08-21 19:46:45 -04:00
minenice55
8ff7539d2b
I shouldn't be coding at midnight (#96)
* 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

* peabrain moment

VERY IMPORTANT FIX

* Make this not loop
2022-06-08 23:46:51 -07:00
minenice55
b039ff219a
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
d3a528a43a
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
f6df1644bc Conductor: property that returns secPerBeat scaled to song pitch
NEEDS TESTING
2022-03-22 14:29:15 -04:00
minenice55
32460a257f extend multisound with pitch, volume, looping, offset in seconds 2022-03-20 19:46:12 -04:00
Jenny Crowe
9f10dbd3ca Editor: Music volume! 2022-03-19 05:46:38 -07:00
Jenny Crowe
9f7b8ee278 The biggest of boi refactors 2022-03-14 07:21:05 -07:00
Jenny Crowe
daf19fae54 Crop Stomp: Implementation progress 2022-02-28 23:38:38 -07:00
Jenny Crowe
8b4b1cac1a Crop Stomp: He go 2022-02-27 22:11:18 -07:00
Jenny Crowe
4738692323 Fixed minor song offset/song pitch compatibility issue 2022-02-24 21:37:04 -07:00
Jenny Crowe
3fb4db34cb Better timeline handling for song offset 2022-02-24 17:09:14 -07:00
Jenny Crowe
72d55d887a Editor: Song offset! 2022-02-24 07:02:21 -07:00
Jenny Crowe
c9ac1608e2 Tweezers: Plucking animation additions. Autoplay support. 2022-02-10 04:59:20 -07:00
Braedon
93c1cb2065 Rhythm tweezers logic but not really 2022-02-08 22:58:25 -05:00
Braedon
49ad157893 Camera flashes (bug associated with fullscreen) 2022-02-07 20:07:03 -05:00
Braedon
e0db2a446e Entity object parameters testing 2022-02-03 17:20:26 -05:00
Braedon
a7c1359f97 You can now press whenever you want on Space Soccer 2022-02-01 20:11:42 -05:00
Braedon
af24468f25 Some tempo changes improvements 2022-01-28 21:26:34 -05:00
Braedon
9185249dd1 Tempo change? (Don't update very buggy) 2022-01-27 21:50:57 -05:00
Braedon
9d67d26fda Karate Man design overhaul 2022-01-19 00:40:49 -05:00
Braedon
e735f1ccaf Fixed some play and pause bugs in the editor 2022-01-16 21:31:49 -05:00
Braedon
c48f2064f0 Import game icons 2022-01-15 17:52:53 -05:00
Braedon
0d5b938c52 Game switching fixes 2022-01-15 12:45:08 -05:00
Braedon
8760412bb2 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
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
0208e6c490 Can pick places on timeline and gamemanager bugs fixed 2022-01-07 18:51:08 -05:00
Starpelly
afa2d6d482 Playback visualization + started on timeline in editor 2022-01-07 06:36:23 -05:00
Starpelly
576b0d8482 Editor stuff 2022-01-05 19:11:33 -05:00
Starpelly
775fd7e580 Initialize game with one script 2022-01-03 17:42:43 -05:00
Starpelly
fc3cb73bdf Game loading optimization 2021-12-31 09:46:11 -05:00
Starpelly
16140314be DSP to game time improvement, might be buggy, but works well so far 2021-12-31 01:56:51 -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
ff6bce2806 Fixed AudioSource.time bug, check Conductor.cs for comment. 2021-12-26 23:48:39 -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