Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openfl dev compatibility fixes #15

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Geokureli
Copy link
Contributor

@Geokureli Geokureli commented Feb 18, 2022

I tried out openfl-player and found some issues with runtime Swf parsing and swflite. these were the changes needed to get the project working.

I couldn't get any swfs to render on html5, except with swflite. the only swf that worked on html5 with swflite was badgerbadger, and my own custom swf. @barisyild mentioned they couldn't get as2 swfs to work with swflite. Any leads on why html5 doesn't work without swflite would be greatly appreciated.

I'm not sure this is the best way to handle, things. Specifically MovieClip.setChildField and SpriteSymbol.__setConstructor. The use of __constructor here seems odd and dangerous, to begin with. why not just call __constructor on the created movieclip in __createObject?

@Geokureli Geokureli marked this pull request as draft March 5, 2022 01:08
@Geokureli
Copy link
Contributor Author

This isn't a real PR, it's used for swfs in Funkin, I do recommend applying similar fixes to swf, but that should be done by someone more familiar with the lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant