-
Notifications
You must be signed in to change notification settings - Fork 3
How did you get HTML5 support working? #11
Comments
update: I have ended up just using Psych Extra. Made a PR; sorting out all the issues and missing changes we made. Will keep this open though since I'm sure others would be interested (as am I still!) |
This will be a lot, but it's what's needed to compile to HTML. On CoolUtil.hx:
On LoadingState.hx:
Due to the new asset cache method, On Paths.hx:
This function is called right when the game state is created, so it would immediately remove the song audio that LoadingState cached. Replace
On HTML these don't check for the audio in the 'songs' library, so they fail to get it. On TitleState.hx: On WeekData.hx: |
swaaag thank you! |
(a heads up that you may want to turn off notifications for this issue; I imagine you'll get many just of issue mentions) |
Update: see #11 (comment)!
What is your question?
Hey! Me and a few others are working on a mod, and we've already made pretty significant changes to the regular engine codebase. I would switch to this, but it's already WIP and I also don't want to revert/break any of our existing changes. I get stuck at the song freezing; are you able to show how you changed the code to get songs loading in HTML5 (and why it works so that I'm not just ripping it off from you lol)
The text was updated successfully, but these errors were encountered: