Commit graph

199 commits

Author SHA1 Message Date
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
Carson Kompon 42b7d724be 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 687f2b53f4 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 3bf3b5b4ab Pelly moment 2022-02-28 18:18:06 -07:00
Jenny Crowe 77af919722 Editor: Tempo Finder button tooltip 2022-02-28 01:38:43 -07:00
Jenny Crowe 07f280a8b9
Merge pull request #10 from CarsonKompon/editor-autoplay-hotkey
Added Autoplay and Metronome Hotkeys
2022-02-26 00:15:02 -07:00
Carson Kompon 4e02c380e9 Added Autoplay and Metronome Hotkeys
A - Autoplay
M - Metronome
2022-02-26 02:03:33 -05:00
Carson Kompon f35e015bbc Whoops I never added CTRL+N 2022-02-26 01:54:00 -05:00
Carson Kompon e2ee02775a 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 027a6cddbe 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 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 68bb30ae2a Editor: Tempo finder tweaks 2022-02-24 21:30:02 -07:00
pixlblade 3573f55881 f merge conflicts 2022-02-24 20:02:05 -05: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
Jenny Crowe 081c08e47f 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 2d996ba3c1 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 f24a081fce Editor: General enum property support. Hex input field functionality for color picker. 2022-02-20 06:31:55 -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
Braedon 57b14c3f3e Fix event property dropdown 2022-02-06 04:28:32 -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
Braedon f376e30ee2 You can no longer stab multiple peas at once (Fork Lifter) 2022-02-05 23:03:31 -05:00
Jenny Crowe 96e7b7c3e1 Editor: Autoplay button updates at start to reflect autoplay status. 2022-02-05 06:47:47 -07:00
Braedon 686a8942f5 Spaceball camera easings 2022-02-04 17:16:22 -05: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