- Reworked Internal Audio to work with Streaming Vorbis Files (for now?)
- FlxSound.amplitude, FlxSound.amplitudeLeft, FlxSound.amplitudeRight, SoundChannel.leftPeak, SoundChannel.rightPeak now works. (Streamed Audio on this seems to be half-broken)
- Reworked AudioAnalyzer to work with all type of audios (hopefully) and work with Streamed Audio.
- Redo AudioSwitchFix to work in time instead of when switching states.
gosh, and all that i hope it doesnt break anything.
* peak is happening
<r>RED<r>
* oops
* oops x2
forgot I left a trace when loading up global.hx from `Assets` lol
* **State / SubState reloading broken rn but pushing changes to see if anyone can fix**
* Human... I remember you
<r>disabling reloading substates cuz it broke...<r>
* <y>forgor to edit assets global.hx<y>
* lemme see
* kk
* opa
---------
Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
* fix transition crash when skipping
* transition crash fix again
* rename transition script var
* better transition scripting
* add more transition script functions
* move post create to actually be after
* change this
* actually destroy the script
* add a variable to disable skipping the transition
* opa
idk felt better like this
---------
Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
* Added extras to NativeAPI.hx
-Added `setWindowBorderColor()`, `hasVersion()`, and `redrawWindowHeader`.
* Added `redrawWindowHeader` to Main.hx
* Added setWindowBorderColor
* Update NativeAPI.hx
* Update Main.hx
* Update Windows.hx
* Update NativeAPI.hx
* Update Windows.hx
* Update NativeAPI.hx
* Added FlxColorToArray to CoolUtil
-Added the FlxColorToArray function to CoolUtil so people can easily use FlxColors with functions like setWindowBorderColor and setWindowTitleColor.
* Update Windows.hx
* Fix Windows.hx
-You now have to use `FlxColor.fromRGB(255, 255, 254)` or 0xFFFFFFFE to set the border to normal
* Update Windows.hx
shhh
* Update NativeAPI.hx
* Small fixes
* small optimization
* eh imma add it here too
---------
Co-authored-by: Ne_Eo <NeeEoo@users.noreply.github.com>
Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>