itch.io is community of indie game creators and players

Devlogs

Fixed crashing issue on level load/restart

Monstro Burger
A browser game made in HTML5

I finally fixed the issue that was causing the game to crash sometimes when starting a new level or restarting the current one.

Turns out that if you use get_tree().create_tween() to tween a property of a node, then reload or switch the current scene while that tween is still active in the scene tree, godot crashes. Good to know! I replaced them all with just create_tween(), which means they'll get freed along with whatever node created them.

Files

  • monstroburger.zip 10 MB
    May 06, 2023
Leave a comment