Really need some help!

I have a problem. This game I am making won’t simulate and I don’t know why! it just won’t show up! its not a bug, but I cant find what is doing this! could someone please look at the code and help me?

@top_hat_lord I see you have a bunch of pause until blocks inside of on game update blocks.

you should never use a pause or pause until block inside of an on game update block. this will cause your game to freeze

instead, just wrap that code inside of an if block. for example, convert this:

image

to this:
image

5 Likes

You have a “pause until” block inside a “On game update” block. Generally, I like to use “pause” blocks inside a “forever” block as it rarely causes the game to actually pause.

Here's you're original code


Here's the edited version


Keep in mind, this makes the game “show” like you said, but I think you might have other issues with code as movement doesn’t work.

2 Likes

It worked! thanks a lot!

1 Like

thanks for telling me about the movement, just noticed it! its not as real problem but why do you think its so jittery?

From what I tested, it’s due to the “camera follow sprite” block. Increasing the movement speed made it a little smoother but moving diagonally still was jittery. Maybe some lighting / animation extensions are interfering with the camera movement?