Commit graph

227 commits

Author SHA1 Message Date
AstrlJelly 51843b310e Editor Additions (#479)
* favoriting and pick block

favoriting needs to not break after previewing (maybe make it persistent in the settings file?)
pick block needs to pick the icon, too. and preferably scroll to it as well

* final star anim + automatic icon game switching

before i make any more changes im making a checkpoint here cuz i know it works
* i want to add a way to specify which event SwitchGame() will switch to (because that's a cool feature for pick block)
* i'll have to figure out how to auto scroll to the game when the icon is selected
* the star now fully works, even between preview switches 👍

* fix the rest of the stuff

the event name gets colored correctly and hidden games are skipped over, but still loaded.
also i built mm ass buns

* tweaks + zoom and sorting

this stuff will be in the pr desc so it doesn't matter

* oop one more thing

* icons look better now :D

mipmaps to the rescue

* double date fix
2023-06-19 16:40:50 -04:00
minenice55 757e1c2c5e update Jukebox to latest version
fixes for inferred entity loading
2023-06-12 17:18:37 -04:00
minenice55 9e3e594209
make base datamodels for special entity reading (#463)
* make base datamodels for special entity reading

* fix crop stomp breaking when no game switch or remix end is set

* fix save shortcut

fix loading charts with no music
2023-06-11 12:12:25 -04:00
minenice55 81eafec986
editor fixes (#459)
* ditch loading dialog

doesn't show up when it's supposed to

* format song offset in editor

* remove VorbisPlugin

* Update Editor.cs
2023-06-10 22:27:58 -04: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
ev 9b16a8d5a9
Fan Club Retouch (#416)
* new sprites not done

* more sprites more anim chanegs

* almost done

* INSANE

* sheet done

* its done

* re-implement improved squat sprite

* remove many unused assets

allow games to be hidden in the editor

* start animations of backup dancers

* finish backup dancer animations

* add effects to backup dancers' tree

* add dancers to the prefab

* import new sprites

* backup dancers fully functional

* game camera now updates in LateUpdate()

* touched some anims

* oops

* oops 2

* add audience applause

fix the mapped cellanim shaders

---------

Co-authored-by: minenice55 <star.elementa@gmail.com>
2023-05-21 17:35:00 +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
trickssss 8b63cce876
fix textbox listeners, check flags for Ctrl-A (#406) 2023-04-29 22:51:25 +00:00
dav 6b7e5b67d7
Event Selection Bug (#404)
The currentEventIndex will no longer change when another UI element is in front of it.
2023-04-27 03:09:43 +00:00
Jenny Crowe 4656ebe630
Remix properties panel now scrolls correctly when the curor is over an inputfield (#395)
Co-authored-by: Jenny Crowe <jakobwcrowe@berkeley.edu>
2023-04-19 01:49:19 +00:00
Rapandrasmus c837b11e1d
Quiz Show (#390)
* I'm a menace to society

* Made some small fixes

* added missing stuff, realignment

* Added Animators

* Unity Shenanigans

* all contestee anims

* mb

* Changed how the contestee is structured in the hierachy

* ymf

* I love quiz show

* more anim implementation

* anim fixes and bg upscale

* oops

* implemented prepare and rest

* oops2

* timer

* Implemented Head Animations

* Added the timer

* Oopsie

* there we go

* changed wizards waltz default length

* Added explosions

* Made consecutive intervals possible

* Implementing counting for the contestant

* The quiz host now has numbers

* host anims

* host anims done

* Implemented all host anims and fixed some stuff

* implemented more stuff

* oops

* anim fixes

* Bug fixes woohoo!

* Fixes

* Fixed something !!!!

* upscale and more

* updated reveal answer to not remove the black on reveal of the number

* new sheet2

* Added ForceExplode

* They now go grey

* upscale done anim stuff

* smoke and explosion

* Stage0 added

* KABOOM

* tweaks

* icon and anim fixes

* Added randomPresses event and prefunction to start interval

* Fixed a bug with random presses and also made the sign change color

* Fixed small bug

* fixed a spaceball bug

* New Metronome

---------

Co-authored-by: ev <85412919+evdial@users.noreply.github.com>
Co-authored-by: saladplainzone <chocolate2890mail@gmail.com>
2023-04-12 22:34:15 +00:00
minenice55 3984c8353f
Rendering Fixes and Other Adjustments (#384)
* fix game view alpha issues

* fix right-clicking on parameter-less entity locking event selection

* reduce ram use of rendertextures

* fix missing sprite references

fix cheer readers sprite masks not working

* fix lockstep rendering discrepancy

* fix section medal toggle not matching described behaviour in UI

* fix game settings masking issue

* dj school "Scratchy Music" toggle on by default

* import new sheets for fan club, mahou tsukai

* make dj school audio FX persist between game change

* make one shot sounds not create extra objects when not needed

* fix potential issue with new one shots

* make string properties apply changes for every keystroke
2023-04-03 04:17:55 +00:00
minenice55 381b69fac9
Revert "Misc. Fixes and Tweaks (#377)" (#380)
This reverts commit f9906b50a5.
2023-04-02 02:28:23 +00:00
Seanski2 f9906b50a5
Misc. Fixes and Tweaks (#377)
* Fix Batch 1

fix batch 1

* fixes 2

tired

* fixes 3

* 1

* coin

coin

* Fixes 4

* Update README.md

* localization

* procrastination

heat death of the universe

* seal

* the funny 2023

* animatioon adjust

* more adjustment

---------

Co-authored-by: ThatZeoMan <67521686+ThatZeoMan@users.noreply.github.com>
Co-authored-by: minenice55 <star.elementa@gmail.com>
2023-04-01 04:00:04 +00:00
minenice55 26248b0f83
Lockstep Additions (#360)
* tiled stepswitchers

* recolourable step switchers

change text used in the properties edit menu

* fix colour setup on game load

* colourize text based on track

* B
2023-03-27 02:26:01 +00:00
minenice55 c60cce17dd
Revert "Remove duplicate song saving (#356)" (#358)
This reverts commit 04cbfae438.
2023-03-24 03:15:47 +00:00
Zeo 04cbfae438
Remove duplicate song saving (#356)
* Unrecognized entity support

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.

* Discord RPC Toggle

Required for Mac use. Since there is no persistent settings save, it must be re-enabled each time you open the program.

* Revert "Discord RPC Toggle"

This reverts commit 249ee69ecb.

* Revert "Revert "Discord RPC Toggle""

This reverts commit c2eca02e94.

* Remove duplicate song saving

FileMode.OpenOrCreate go brrrrrr

* Delete Properties.meta

whats that still doing there
2023-03-23 02:51:44 +00:00
minenice55 0724ce9510
improve game rendering setup (#342)
fix alpha channel overriding issues with transparent objects in game scene
2023-03-12 22:20:22 +00:00
minenice55 29d8c3c40d
Bugfixes (#340)
* new letterbox implementation

* make DSP buffer larger

* add new "ambient" letterbox option

* remap keyboard control

* enable autoplay cheat mode

* fix editor settings not being applied on start

* run the cursor init in editor init

remove debug prints
2023-03-12 02:56:26 +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
Braedon Lewis b45c4315b5
Editor bug fixes (#261)
* Spaceball cleanup and small bug fix

* Replace old hit sound in spaceball

* Camera filters

* added 9 new filters, including 3 types of sepia

* oops

* remark

* normalization of fade out and fade in on filters are by 100

* GenerateFilterTypeEnum comments

* Pure black and white filter

* Zooming

* Constant playback bar offset

* Prepare box selector rewrite

* Update icons, finalize

* Bug fixes
2023-02-05 14:48:49 -05:00
Braedon Lewis 495cc5ad4c
General editor improvements (#257)
* Spaceball cleanup and small bug fix

* Replace old hit sound in spaceball

* Camera filters

* added 9 new filters, including 3 types of sepia

* oops

* remark

* normalization of fade out and fade in on filters are by 100

* GenerateFilterTypeEnum comments

* Pure black and white filter

* Zooming

* Constant playback bar offset

* Prepare box selector rewrite

* Update icons, finalize
2023-02-04 22:05:36 -05:00
minenice55 669588ab68
fix config creation collisions (#239) 2023-01-25 10:28:51 -05:00
minenice55 9cbd353506
Persistent Settings (#234)
* modularize tabs-style menus

* make remix properties use modular design

* add persistent settings
2023-01-24 14:31:49 -05:00
ev f1de3cd30c
Editor Ui Redraw (#197)
* Editor Ui Redraw

-redrew every ui icon
-colors changed

-some ui elements (like pause, stop, play, undo, redo, and the line showing the beat youre on in the timeline) are the wrong color in-editor compared to unity

* fix colours

- update credits

Co-authored-by: minenice55 <star.elementa@gmail.com>
2023-01-13 17:18:11 -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
Zeo ddc183acdd
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 b361814c11
editor input locking fix (#175)
* fix keyboard input locking

* add build date auto-generation script
2022-10-13 12:20:48 -04: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 af8dd6142e
fix event grid not scaling with song (#172) 2022-09-19 10:04:56 -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 9d36db5ff9.

* 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 fd0f5799f7 new remix stops playback properly 2022-09-03 23:36:08 -04:00
minenice55 5dd7cdec2b loading: add extension filter for all supported formats 2022-09-03 23:26:19 -04:00
minenice55 e0c782d4a1 finish essential property work
- fix minor bug related to karate man flow bar sounds
2022-09-03 23:17:17 -04:00
minenice55 cb2b5707e9 headers and subheaders 2022-09-03 22:29:50 -04:00
minenice55 7084d96cc1 fix nasty bugs with saving / loading
- duplicate property names no longer soft crash loading (thanks, tap trial)
- fix remix saving nothing music
2022-09-03 21:51:37 -04:00
minenice55 68c1802e87 use tab manager to control flow 2022-09-03 19:46:54 -04:00
minenice55 87a51dd302 property menu population functional 2022-09-03 19:10:27 -04:00
minenice55 b84dc9a2de prep auto-population of property menu 2022-09-01 20:57:47 -04:00
minenice55 b19afcd2e2 prepare automated property interface creation 2022-08-27 00:20:56 -04:00
minenice55 2b4b7f0a73 make all dialogs inherit one base class
- opening a new dialog closes the previous one
2022-08-26 23:43:01 -04:00
minenice55 6c80073b12 prepare work for remix properties UI 2022-08-23 10:56:39 -04:00
minenice55 a0f25ad4a4 split event properties into own scripts 2022-08-23 10:27:30 -04:00
minenice55 2f05667126 dialog for clearing current remix 2022-08-23 09:38:23 -04:00
minenice55 4a6f4fa1f0 correct param typings on load now 2022-08-22 19:14:38 -04:00
minenice55 fe0b97d1ab finally fix deserialization of the new format 2022-08-21 21:57:32 -04:00
minenice55 cc577966c1 further work
attempt at fixing colour deserialization, not working
2022-08-21 20:50:19 -04:00
minenice55 f209b2fd17 start implementation of new format
needs fixes for some types
2022-08-21 19:46:45 -04:00
minenice55 38a4086acf Merge branch 'master' into new-properties 2022-08-21 17:47:04 -04:00
minenice55 ca8d8b5145 fix bug with non-sequential enum properties 2022-08-21 17:40:40 -04:00
minenice55 cf2850ccb1 display action real name in aproppriate places
- make text on entities larger
- fix bug with enum properties
- show beat of editing entity when viewing properties
2022-08-20 23:54:09 -04:00
minenice55 2c45e9a61c Merge branch 'master' into misc-additions-3 2022-08-19 19:32:46 -04:00
minenice55 3adb82c504 optimize remix saving / loading
stream is now saved to a buffer so we don't have to convert every time we save, only once when loading a new audio file
- make a distinction between Load Remix and New Remix
2022-08-19 17:53:04 -04:00
huantian 542ece5ed4
Random Code Refactoring 2022-08-18 18:28:05 -07:00
ThatZeoMan ec7936b954 Track 5 fully functional
also fixed karate man's Set Background Effects
2022-07-28 17:16:20 -05:00
ThatZeoMan aa9379e21e start gearing up for track 5
it is battery acid color (i will change it)

i probably did this wrong
2022-07-28 00:17:02 -05:00
minenice55 111531b07d make dropdown properly update after auto-search 2022-07-26 08:54:59 -04:00
minenice55 d3c3beb950 playstation controller lightbar colours
- fix controller feature flags not actually being flags
2022-07-25 18:36:32 -04:00
minenice55 a713895f96 move duplicate code to own method 2022-07-25 12:49:43 -04:00
minenice55 7e275365b8 dual joy-con support
- add controller icons in the controller selection menu
2022-07-24 18:38:00 -04:00
minenice55 06fe482f3d add controller selection, auto-search
- fix bug in master volume control where the text input doesn't work
- fix bug in the Fan Club minigame where the player wouldn't jump when they were supposed to
2022-07-23 22:24:07 -04:00
minenice55 ecbe84074f 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 6699e7d98b basic controller input from JSL
may need compiles for linux and mac
2022-07-19 18:50:35 -04:00
minenice55 9f3e0de3b4 missing fit to song 2022-07-10 17:45:59 -04:00
minenice55 a7bea351c5 add cursor toggle, master volume 2022-07-10 17:39:14 -04:00
minenice55 7fd1617ea7 add tabs system to editor settings 2022-07-09 23:22:59 -04:00
minenice55 52ff2a7829 settings resolution changer 2022-07-08 22:11:55 -04:00
minenice55 be5aff5aae prep settings menu for real 2022-07-08 18:49:15 -04:00
minenice55 2409a20aab fix layer 4 not being usable at certain window sizes 2022-07-08 17:58:58 -04:00
minenice55 ee142c9bcc fix issue with param disabling 2022-07-08 16:20:39 -04:00
minenice55 216c50a99f duplicating entities can now be undone / redone 2022-07-08 12:50:23 -04:00
minenice55 e2956f7c29 make copying use deep copies lol 2022-07-04 13:09:23 -04:00
minenice55 fb39a7c5fe copy entities, prep settings menu 2022-07-04 12:57:19 -04:00
minenice55 21c175d025 fully functional snap change menu 2022-07-04 11:29:19 -04:00
minenice55 70a335da5d spawn tempo changes on load 2022-07-04 10:28:40 -04:00
minenice55 b02a6b0b8a event scroll fixes 2022-07-01 22:29:16 -04:00
minenice55 ae944062c5 selecting crap works properly now 2022-07-01 22:03:15 -04:00
minenice55 8e16e9be04 event selection doesn't go offscreen anymore
github copilot is insane it wrote half of the code in this commit lmao
2022-06-30 15:51:13 -04:00
minenice55 d1ee45fe7a editor fully scaleable 2022-06-29 21:58:21 -04:00
minenice55 d8dbd1f44c tempo change: clamp on scroll 2022-06-28 16:58:23 -04:00
minenice55 9229304c52 fix missing reference errors in tooltip 2022-06-28 16:09:41 -04:00
minenice55 2a87dd3aff fix tooltip with scaled window 2022-06-28 15:57:32 -04:00
minenice55 607b97a4f3 wip editor responsive scaling 2022-06-26 17:37:30 -04:00
minenice55 8d571f6443
Icon Improvement Concept & Resizeable Window (#104)
* Editor: mostly PoC icon effects

* slightly more responsive selection

* resizeable window

game camera still doesn't letterbox properly, will need a bit more work

* letterbox both in editor and in fullscreen

* restore camera rects when returning to editor
2022-06-13 22:24:41 -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
Saraistupid 3a5273d31b
Fix Importing Music files on Linux (#89)
* fix importing music files on linux

* oops
2022-06-03 20:15:45 -07:00
minenice55 12fb8c2117
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
Pengu123 13a2417f37 BUGFIX: Prevents Scrolling between cues mid-game
You can't scroll between the game event selector when the song is playing (Using the keyboard or scrollwheel). It's smoother especially when doing arrow inputs
2022-05-04 19:26:19 +02:00
Pengu123 163d414606 Fixed a bug where checkbox properties wouldn't load properly when selected 2022-05-03 17:26:08 +02:00
minenice55 ca158363e4 Editor: disabled tempo change placing
UNTESTED
2022-03-24 13:17:49 -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 a9c452a5ee Editor: Timeline now scales to fit song length 2022-03-09 21:24:06 -07:00
Carson Kompon a97fd43ec3 He rotate 2022-03-03 19:15:56 -05:00
Carson Kompon 1bf0df5855 Added WASD to Editor, Made Autoplay P as a result 2022-03-02 23:40:59 -05:00
Carson Kompon 8704daf8f9 Added tooltips for all existing parameters 2022-03-01 16:37:17 -05:00
Carson Kompon 6a43469056 Bottom right tooltip now matches hover tooltip if there is one 2022-03-01 16:11:19 -05:00
Carson Kompon 4142c09a4c Karate Man Events have been merged also I forgot the toggle in the last update lol 2022-03-01 12:40:59 -05:00
Carson Kompon 3f84054779
Merge branch 'megaminerjenny:master' into karate-man-event-merging 2022-03-01 12:23:25 -05:00