tiger tiger tiger

Pure of heart, dumb of ass. A grumpy cat made out of code.

(circa 337ppm, colorized)

No borders, no nations.🕊️
Enthusiastic dissent. 🏴
Tiger / it / they. 🐅
GameDev Life. 🕹️
Grey Muzzle. 🐺
Greygender. ⬛
Grey ace. ♠️
Polyam. ➿
Panro. 🌈
ϑδ.🐾

  • 1 Post
  • 8 Comments
Joined 2 years ago
cake
Cake day: October 7th, 2024

help-circle


  • Yay! Your game works! *asterisk…

    I released a new release (v4.7.1.59) of 2dog that hardwires all the native WASM trampoline functions. It’s one of those bugs that has me scratching my head, as in “how did this ever work?”, but it did, including for samples from the Godot foundation, three friends’ games, and two of my own. So… mega big thanks for this bug report, this was a big one!

    You may need to run dotnet nuget locals all --clear and dotnet restore --force or similar to get the fresh packages.

    Anyway. The asterisk: the loading performance of certain scenes and textures isn’t great at all 😓, and I’m working on ways to make that nicer in the web html harness; and I also need to figure out where the majority of that time is spent; sometimes it’s WASM compile time, sometimes it’s scene load.

    PS: Super adorable game idea. That angry beach ball can get bent, though… sheesh. Ey, I’m walkin’ crawlin’ here!


  • Getting closer, it’s GD.PushError and some other functions with 7 parameters under the hood. (a little confused why these aren’t generated, or how the native equivalent to GD.PushError(“Blah”) has 7 params, maybe it tries to look up all candidates) … I need to do something else for the next hour or so, and then can get back to this. My automated and manual tests always fail on errors so ironically that led to GD.PushError never being tested.

    In related news, who ever in the .NET/mono team thought it was a good idea to call native signature strings “cookies” in the context of WASM specifically deserves a villain award… I navigated away from the documentation page three times thinking it was about web cookies.


  • Awesome, thanks for the detailed report and prepared repository to reproduce in. The failure is a bit different on my end - first I get a bunch of issues trying to serve the blender files (which it shouldn’t, on the web, very likely my bug! bad dog, bad dog… - should already be imported), and then I get your crash. Is this what you get, too?

    Game seems to run okay in the editor. I’m working on making the blender import happen correctly or raise an error during the 2dog import step, I think this is where it goes wrong. (also, fantastic test case for future tests… I built 2dog because of resource import issues, now resource import bites me in the belly yet again, ha.)

    Edit: No, the problem is not the missing blender import, after correctly setting it to my blender path I get your behaviour. Which is great, only need to find the missing native trampoline now…