Commit Graph

207 Commits

Author SHA1 Message Date
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
minenice55 07b9f8dff1 fix config creation collisions (#239) 2023-01-25 10:28:51 -05:00
minenice55 d96570513e 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 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 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 a48ecff2e8 editor input locking fix (#175)
* fix keyboard input locking

* add build date auto-generation script
2022-10-13 12:20:48 -04: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 5dc9bf4f2f new remix stops playback properly 2022-09-03 23:36:08 -04:00
minenice55 ed5f028d54 loading: add extension filter for all supported formats 2022-09-03 23:26:19 -04:00
minenice55 3a9c0db871 finish essential property work
- fix minor bug related to karate man flow bar sounds
2022-09-03 23:17:17 -04:00
minenice55 6f7719d4e7 headers and subheaders 2022-09-03 22:29:50 -04:00
minenice55 45bbcc8fba 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 aa4f9440cd use tab manager to control flow 2022-09-03 19:46:54 -04:00
minenice55 5f5d9b99bb property menu population functional 2022-09-03 19:10:27 -04:00
minenice55 434e40274c prep auto-population of property menu 2022-09-01 20:57:47 -04:00
minenice55 c9b37fc8a4 prepare automated property interface creation 2022-08-27 00:20:56 -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 1e8234cb1e prepare work for remix properties UI 2022-08-23 10:56:39 -04:00
minenice55 c6d60d6d20 split event properties into own scripts 2022-08-23 10:27:30 -04:00
minenice55 d74dd315d2 dialog for clearing current remix 2022-08-23 09:38:23 -04:00
minenice55 3697021976 correct param typings on load now 2022-08-22 19:14:38 -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 e09d8ad5dd Merge branch 'master' into new-properties 2022-08-21 17:47:04 -04:00
minenice55 f4fceb8f22 fix bug with non-sequential enum properties 2022-08-21 17:40:40 -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
minenice55 c034155e8a Merge branch 'master' into misc-additions-3 2022-08-19 19:32:46 -04:00
minenice55 4aff0385ee 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 77570971fd Random Code Refactoring 2022-08-18 18:28:05 -07:00
ThatZeoMan e337fe650e Track 5 fully functional
also fixed karate man's Set Background Effects
2022-07-28 17:16:20 -05: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 c4d77c2254 make dropdown properly update after auto-search 2022-07-26 08:54:59 -04:00
minenice55 a47153f2f6 playstation controller lightbar colours
- fix controller feature flags not actually being flags
2022-07-25 18:36:32 -04:00
minenice55 379ad6163b move duplicate code to own method 2022-07-25 12:49:43 -04:00
minenice55 a695a4c221 dual joy-con support
- add controller icons in the controller selection menu
2022-07-24 18:38:00 -04:00
minenice55 96ac465200 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 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 ffcccdb6b9 missing fit to song 2022-07-10 17:45:59 -04:00
minenice55 fbeab5f0ad add cursor toggle, master volume 2022-07-10 17:39:14 -04:00
minenice55 0f1eb77988 add tabs system to editor settings 2022-07-09 23:22:59 -04:00
minenice55 53f48c64e7 settings resolution changer 2022-07-08 22:11:55 -04:00
minenice55 19f0009c55 prep settings menu for real 2022-07-08 18:49:15 -04:00
minenice55 70c5216690 fix layer 4 not being usable at certain window sizes 2022-07-08 17:58:58 -04:00
minenice55 7adc281618 fix issue with param disabling 2022-07-08 16:20:39 -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 58dd43e67b event scroll fixes 2022-07-01 22:29:16 -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 5d62518e3a fix missing reference errors in tooltip 2022-06-28 16:09:41 -04:00
minenice55 a53176a1fd fix tooltip with scaled window 2022-06-28 15:57:32 -04:00
minenice55 10b5be926a wip editor responsive scaling 2022-06-26 17:37:30 -04:00
minenice55 342f3d6771 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 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
Saraistupid 9b9bfea627 Fix Importing Music files on Linux (#89)
* fix importing music files on linux

* oops
2022-06-03 20:15:45 -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
Pengu123 f5bcd70756 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 555a2d6bc0 Fixed a bug where checkbox properties wouldn't load properly when selected 2022-05-03 17:26:08 +02: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 edece5218a He rotate 2022-03-03 19:15:56 -05:00
Carson Kompon 333c0c86dc Added WASD to Editor, Made Autoplay P as a result 2022-03-02 23:40:59 -05:00
Carson Kompon 187923d62a Added tooltips for all existing parameters 2022-03-01 16:37:17 -05:00
Carson Kompon 597908510b Bottom right tooltip now matches hover tooltip if there is one 2022-03-01 16:11:19 -05:00
Carson Kompon d1a4c0464f 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 42dc3ec14c Merge branch 'megaminerjenny:master' into karate-man-event-merging 2022-03-01 12:23:25 -05:00
Carson Kompon 267d9f6bdd Started work on merging the karate man events
This breaks enum dropdowns but I'll fix that tomorrow
2022-03-01 03:17:06 -05: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
Jenny Crowe 4c53e759f4 Pelly moment 2022-02-28 18:18:06 -07:00
Jenny Crowe 9d7620feb3 Editor: Tempo Finder button tooltip 2022-02-28 01:38:43 -07:00
Jenny Crowe b681656cd6 Merge pull request #10 from CarsonKompon/editor-autoplay-hotkey
Added Autoplay and Metronome Hotkeys
2022-02-26 00:15:02 -07:00
Carson Kompon 66ab560817 Added Autoplay and Metronome Hotkeys
A - Autoplay
M - Metronome
2022-02-26 02:03:33 -05:00
Carson Kompon bfa73ade05 Whoops I never added CTRL+N 2022-02-26 01:54:00 -05:00
Carson Kompon 4ebcdd038d Preventing even more code re-use
Editor.NewRemix() from my last commit is now Editor.LoadRemix(json) and is called within Editor.LoadRemix(). The "New" button new calls Editor.LoadRemix("");
2022-02-25 22:48:44 -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
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 867f8f75cc Editor: Tempo finder tweaks 2022-02-24 21:30:02 -07:00
pixlblade 775eed31e0 f merge conflicts 2022-02-24 20:02:05 -05: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
Jenny Crowe d9550afaec Tweezers: Allowed inputting via arrow keys. Editor: Remix files now saved as .tengoku files (.rhmania files can still be opened via the editor). 2022-02-21 22:43:31 -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
Jenny Crowe a7dfb48dbc Editor: General enum property support. Hex input field functionality for color picker. 2022-02-20 06:31:55 -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