-
Notifications
You must be signed in to change notification settings - Fork 3
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
HTML5 library #4
Comments
Oh, is this a gdnative library? If so it looks like web exports don't support gdnative godotengine/godot/issues/12243 |
It is gdnative, yes, which means according to that issue that it seems not to be possible to update for html5. |
Thank you, you can close this issue if you want and I've subscribed to that thread so I can get updates there. |
Hmm, looks like the 3.2.4 beta might support this feature: godotengine/godot#44076 |
I can take a look at that when I have the time. |
so did you ever take a look? |
Sorry, I think I was waiting for it being in an official release and then forget. I will definitely take a look this week or weekend. |
that's good to hear, would be great to have that working |
This could prove to be a bit more difficult. Godot is being built with exceptions disabled for javascript, by default. I will try to find a way, but it will probably take a bit longer than I hoped. |
hmm I see, I might need to write some hacky parser then for my project if this will take long as it's basically the only thing I am missing. but thanks for looking into this, will be waiting for the release! |
would there be any ETA on this? if you are in general looking into it. |
I can't say. I am looking into using a different library, which I can hopefully make to produce the same results, but I need to rewrite some things. |
Small update, I found a library with customizable error handling and got the basics to work with that. The rest should not take too long, though it depends on how much time I can work on this. The new library outputs tags a bit differently than the old one (that put tags in a "<>") though, but from what I see this is more like the standard anyway. |
cool update me whenever you get more progress and know an ETA thanks :) |
Sorry, I forgot about the ETA, but I have finished the changes. The files in the asset library are pending approval at this moment, but you should be able to download directly from here, if you want to test it now. |
I will definitely check this out asap. Thanks! |
Hmm I seem to have an issue when exporting the html project still as it says the parser is null |
@otDan Did you get it from the asset library or directly from here? The new version on the asset library apparently was not yet reviewed. |
@Beliaar yeah I got it directly from this repo, gonna try it out more when I have some time, but yeah it seems that the instance is null for some reason |
@otDan Not quite sure what the problem could be. I tried with a new project and the files downloaded from here and it works. What exact message do you get? |
is there a way I can contact you directly for a simpler support? I can show you off what happens when I export it out, think that would be the fastest way to show what exactly breaks |
@otDan Not quite sure what I have that would make that easier. The problem is that you need to export with gdnative support. The message "does not have a library for the current platform." is the main hint. However there are no HTML export templates for the mono version that have gdnative support, as far as I see. |
thank you so much! yeah I did not even realize I was using the mono version, I have versions ranging from 3.0 to 4.0 and sometimes open up the wrong one. everything works fine now, I really appreciate your work on this! |
Good to hear. I am closing this issue then. |
Ah, and the version on the asset library has also been approved. |
Thank you for all your work on this! Gonna play with it during my lunch break, hopefully I can get an export up for a tool I made. Edit: Worked great! I've got it hosted on gh pages, pretty handy little feature: https://gammagames.github.io/procedural-generation-ruleset/play/ |
Would it be possible to update this asset for HTML5 exports?
The text was updated successfully, but these errors were encountered: