Nothing is happening when on specified tile

For some reason, when the sprite goes on the specified tile, the function isn’t called and nothing is happening. The sprite won’t even move.

Here’s the tiles needed for the action to happen.


Here’s a look at the code that triggers the action.

Game Link:

1 Like

@RoboVacDev haven’t debugged this yet, but i think your issue here is that you’re pausing inside the handler (via the “play song until done” block). pausing inside an on overlaps tile block will delay the game loop and essentially freeze your game.

easy fix here is use the separately do block from the timers extension. however, on tile overlaps events fire every frame so you’ll also need to add some code to make sure this doesn’t get retriggered a million times. i’d recommend either setting a variable (e.g. “cutsceneStarted”) or changing the kind of the sprite that is doing the overlapping to something else and changing it back when the cutscene ends

1 Like

Thanks for the fix recommendtions, can you demonstrate this? I understand better in pictures :slight_smile:.

Can you clarify on that, @richard, please? Thanks!

@richard have you provided the pictures for the fix? I’m waiiiiting!!! :grinning_face::grinning_face::smiley::smiley::smiley:

instead of this:

do something more like this:

1 Like