Open JOELwindows7 opened 3 years ago
wait. I can just
webm = new WebmPlayer();
webm.SKIP_STEP_LIMIT = SKIP_STEP_LIMIT;
stuff like that.
R e a d t h e f u c k i n g b u i l d i n s t r u c t i o n s
R e a d t h e f u c k i n g b u i l d i n s t r u c t i o n s
i
did
well before the suggestion to use new instruction.
this issue has duplicates? Black textures - https://github.com/luckydog7/Funkin-android/issues/12 (max texture size problem) Crash - https://github.com/luckydog7/Funkin-android/issues/10 (ram problem)
Describe the bug Compilation error on VideoPlayer.hx Line 58 (
WebmPlayer.SKIP_STEP_LIMIT = SKIP_STEP_LIMIT;
).To Reproduce Steps to reproduce the behavior:
haxelib git extension-webm https://github.com/GrowtopiaFli/extension-webm
lime rebuild extension-webm android
cd ~/whateverFolder/Funkin-android
e.g.lime test android
and waitExpected behavior Compilation works and app runs.
Screenshots If applicable, add screenshots to help explain your problem.
damn, lost the terminal as I've already worked around it.
Additional context Possible Solutions:
GlobalVideo.hx
that choose either native webm player or HTML5's webm player depending on your platform you are compiling to. Optimize the system to conform with this Video cutscener kit and to change Skip step limit, you must refer through instance instead of static with e.g.GlobalVideo.getWebm().webm.SKIP_STEP_LIMIT = SKIP_STEP_LIMIT;
. example of utilization found here (findfunction backgroundVideo()
), you see that I reference .Workaround, either:
disable SKIP_STEP_LIMIT reference at VideoPlayer.hx around line 58 so that from here
now looks like
Though this may cause video to offsync since the Skip step limit left unchanged.
extension-webm
, uninstall the library first withhaxelib remove extension-webm
. Now install KadeDev version withhaxelib git extension-webm https://github.com/KadeDev/extension-webm
. That's it. you do not have to change the code especially theWebmPlayer.SKIP_STEP_LIMIT = SKIP_STEP_LIMIT;
thingy in VideoPlayer.hx since the SKIP_STEP_LIMIT variable itself is static in KadeDev version.