Dynamic bug
-
When you click the dynamic object block 2x, your game “crashes” in a sort of way, more-so a softlock, but you can just refresh the page. -
When you click the dynamic object block 2x, your game “crashes” in a sort of way, more-so a softlock, but you can just refresh the page.Which block is the “dynamic object block” you are referring to?
-
Which block is the “dynamic object block” you are referring to?
@info-creaticode
behave as a [v] [v] shape [v] debug [v], or in better formatting:
-
@info-creaticode
behave as a [v] [v] shape [v] debug [v], or in better formatting:
Thank you. We will look into it.
-
Thank you. We will look into it.
Can you please share the project? We can’t seem to recreate the “crash” when clicking on this block multiple times. thank you
-
Can you please share the project? We can’t seem to recreate the “crash” when clicking on this block multiple times. thank you
@info-creaticode Okay, I’ll share the project link.
(go into sprite ball, and click the
when green flag clicked
go to x: (120) y: (35)
initialize 2D physics world with gravity x (0) y (-250)
behave as a [dynamic v] [object v] shape [Circle v] debug [No v]
endagain.)
https://play.creaticode.com/projects/679b7d73e83001fc08dab60f
-
@info-creaticode Okay, I’ll share the project link.
(go into sprite ball, and click the
when green flag clicked
go to x: (120) y: (35)
initialize 2D physics world with gravity x (0) y (-250)
behave as a [dynamic v] [object v] shape [Circle v] debug [No v]
endagain.)
https://play.creaticode.com/projects/679b7d73e83001fc08dab60f
We looked into the issue. It seems the issue only occurs when you click the green flag block, but it works fine when you click the green flag button. This is because when you click the green flag button, additional clean up code will run so the sprite starts with a clean state. When you click the green flag block, the sprite’s state will not reset properly.
Also, for the Maze sprite, it should not run the “behave as” block when the green flag is clicked, because the physics engine may not have been initialized by the Ball sprite. A safer way is for the Ball sprite to initialize the physics engine, then broadcast a message to trigger the Maze to run the “behave as” block.
-
We looked into the issue. It seems the issue only occurs when you click the green flag block, but it works fine when you click the green flag button. This is because when you click the green flag button, additional clean up code will run so the sprite starts with a clean state. When you click the green flag block, the sprite’s state will not reset properly.
Also, for the Maze sprite, it should not run the “behave as” block when the green flag is clicked, because the physics engine may not have been initialized by the Ball sprite. A safer way is for the Ball sprite to initialize the physics engine, then broadcast a message to trigger the Maze to run the “behave as” block.
@info-creaticode Oh, thank you

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login