Open Sunnigen opened 2 years ago
Hey!
The rust binding don't support exporting an html project so far, if I'm not mistaken it will change either in gd extension (the rust bindings for godot4.x) or when Godot solve that problem/implement that feature themselves -- nothing we can do I'm afraid!
From: Sunnigen @.> Sent: Monday, November 21, 2022 9:35:48 AM To: MatejSloboda/Dijkstra_map_for_Godot @.> Cc: Subscribed @.***> Subject: [MatejSloboda/Dijkstra_map_for_Godot] No Interface for HTML5? (Issue #118)
Exporting project to HTML5 leads to issues. From the picture, it looks like the "web" cannot recognize DijkstraMap.new(). I'm not sure why it can't. I was able to successfully export onto desktop.
Also, I noticed after downloading from AssetLib, this module doesn't appear in the plugins for me to toggle?
Minimum Working Examplehttps://github.com/Sunnigen/godot_dijkstra_test
Tested on:
How to reproduce:
— Reply to this email directly, view it on GitHubhttps://github.com/MatejSloboda/Dijkstra_map_for_Godot/issues/118, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMZTDKRL6SHRDEJMCO7VGKTWJMX6JANCNFSM6AAAAAASGMCKIE. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Oh my bad they totally do support it but it's a bit of a pain, got it working on one of my project, see godot rust book for details and ask them or me if you can't get it working
if someone is interested in bringing support for this go ahead
Running the HTML5 exported project has run into an issue. When bringing up developer tools on either Chrome or Microsoft Edge I get the following:
The
GameScreen._reset_dungeon()
issue at line 130 is this following code:dijkstra_map = DijkstraMap.new()
Then, I also tried the HTML5 export without my code: Minimum Working Example
Just from the Visualisation.tscn demo, I get the same errors as above on both Chrome and Edge.
From the picture attached below when I make a selection from the visualizer dialog box, neither the cost map nor the direction map updates. I'm not sure why it can't. I was able to successfully export onto desktop and play around with the visualizer.
Also, I noticed after downloading from AssetLib, this module doesn't appear in the plugins for me to toggle?
Tested on:
How to reproduce: