Commit graph

53 commits

Author SHA1 Message Date
minenice55
b6c222a981 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
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
06cb09e64f 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
5c31558af4 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
f4580eedfb 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
c7d829c033 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
8a38f4ce48 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
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
6855f58a3f fix event grid not scaling with song (#172) 2022-09-19 10:04:56 -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
164c9e9d91 make all dialogs inherit one base class
- opening a new dialog closes the previous one
2022-08-26 23:43:01 -04:00
minenice55
22335a7df7 finally fix deserialization of the new format 2022-08-21 21:57:32 -04:00
minenice55
9de0e1734e further work
attempt at fixing colour deserialization, not working
2022-08-21 20:50:19 -04:00
minenice55
dcb2a71b98 start implementation of new format
needs fixes for some types
2022-08-21 19:46:45 -04:00
minenice55
0cd16b63ea 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
e2a677ebdf 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
70c5216690 fix layer 4 not being usable at certain window sizes 2022-07-08 17:58:58 -04:00
minenice55
4df82e709a duplicating entities can now be undone / redone 2022-07-08 12:50:23 -04:00
minenice55
13ca36d95e make copying use deep copies lol 2022-07-04 13:09:23 -04:00
minenice55
0edd2d005b copy entities, prep settings menu 2022-07-04 12:57:19 -04:00
minenice55
7f3876f1ec fully functional snap change menu 2022-07-04 11:29:19 -04:00
minenice55
b54194ebb8 spawn tempo changes on load 2022-07-04 10:28:40 -04:00
minenice55
94a1e225e9 selecting crap works properly now 2022-07-01 22:03:15 -04:00
minenice55
f31b328f1a 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
27a928712f editor fully scaleable 2022-06-29 21:58:21 -04:00
minenice55
e3edd01be3 tempo change: clamp on scroll 2022-06-28 16:58:23 -04: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
68b12ee34b Editor: disabled tempo change placing
UNTESTED
2022-03-24 13:17:49 -04: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
Jenny Crowe
a570793803 Editor: Timeline now scales to fit song length 2022-03-09 21:24:06 -07:00
Carson Kompon
333c0c86dc Added WASD to Editor, Made Autoplay P as a result 2022-03-02 23:40:59 -05:00
Carson Kompon
66ab560817 Added Autoplay and Metronome Hotkeys
A - Autoplay
M - Metronome
2022-02-26 02:03:33 -05:00
Slaith
a43a81a566 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
8e1013b96a Editor: Song offset! 2022-02-24 07:02:21 -07:00
Jenny Crowe
2725c3b9c6 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
0b94364593 Got rid of unnecessary calculations 2022-02-17 21:59:52 -05:00
Braedon
a8b5d3ed7f 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
73042ae2ae Custom snap interval, but not in the editor (yet) 2022-02-11 20:15:36 -05:00
Braedon
79fc4c8f8d Camera flashes (bug associated with fullscreen) 2022-02-07 20:07:03 -05:00
Jenny Crowe
83afbd0e9f Editor: Added Float type. Space Soccer: Added "swing" property to high-kick-toe event. 2022-02-06 01:28:14 -07:00
Jenny Crowe
befa71a135 Editor: Autoplay button updates at start to reflect autoplay status. 2022-02-05 06:47:47 -07:00
Braedon
c958e20ceb Spaceball camera and more entity parameters. (ugly UI) 2022-02-03 22:25:18 -05:00
Braedon
be3c913c4e Entity object parameters testing 2022-02-03 17:20:26 -05:00
Jenny Crowe
6ade4c7dcf Minimizing Camera.main references 2022-02-03 01:25:27 -07:00
Braedon
dbf60aec34 Playback speed slider 2022-02-03 02:28:14 -05:00
Braedon
a910701b1c Make sure you can only select when the selection state is set 2022-01-30 14:04:15 -05:00
Braedon
bc8f7419be Basic saving and loading system 2022-01-30 07:03:37 -05:00