Commit graph

54 commits

Author SHA1 Message Date
AstrlJelly e2d770c910
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 20:28:52 +00:00
minenice55 e909d13a7a
merge from release 1 (#460)
* 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

* 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-11 02:30:46 +00:00
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
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
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
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 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 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 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 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
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 2409a20aab fix layer 4 not being usable at certain window sizes 2022-07-08 17:58:58 -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 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 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 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
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 1bf0df5855 Added WASD to Editor, Made Autoplay P as a result 2022-03-02 23:40:59 -05:00
Carson Kompon 4e02c380e9 Added Autoplay and Metronome Hotkeys
A - Autoplay
M - Metronome
2022-02-26 02:03:33 -05:00
Slaith fd748e8309 Fixed tempo change bug
Tempo changes that were deleted would still exist in some places and break the check that determines if a new change should be placed.
2022-02-24 23:01:41 -08:00
Jenny Crowe 72d55d887a Editor: Song offset! 2022-02-24 07:02:21 -07:00
Jenny Crowe 19a76babd2 Editor: Starting BPM can be entered via input field as well as through the BPM change tool. 2022-02-22 01:16:10 -07:00
Braedon 6ca364d5a0 Got rid of unnecessary calculations 2022-02-17 21:59:52 -05:00
Braedon c2c59e7910 Fixed timeline event's not being rendered if their start and end points are outside of the view.
Thank you to chrislo27 for suggesting a fix to this.
2022-02-17 21:57:35 -05:00
Braedon c04f994d1b Custom snap interval, but not in the editor (yet) 2022-02-11 20:15:36 -05:00
Braedon 49ad157893 Camera flashes (bug associated with fullscreen) 2022-02-07 20:07:03 -05:00
Jenny Crowe b5d3621051 Editor: Added Float type. Space Soccer: Added "swing" property to high-kick-toe event. 2022-02-06 01:28:14 -07:00
Jenny Crowe 96e7b7c3e1 Editor: Autoplay button updates at start to reflect autoplay status. 2022-02-05 06:47:47 -07:00
Braedon 9722ce7122 Spaceball camera and more entity parameters. (ugly UI) 2022-02-03 22:25:18 -05:00
Braedon e0db2a446e Entity object parameters testing 2022-02-03 17:20:26 -05:00
Jenny Crowe 1b2aca94cd Minimizing Camera.main references 2022-02-03 01:25:27 -07:00
Braedon cf24d11cf8 Playback speed slider 2022-02-03 02:28:14 -05:00
Braedon e1f933a030 Make sure you can only select when the selection state is set 2022-01-30 14:04:15 -05:00