Long txt bug

whenever i run this, its like it prioritizes the text first and doesn’t show the sprites or the tilemap

Hello!

Can you post a link to your game here so we can take a look at it? It’s the second button next to home button on the upper-right corner of your screen when you’re editing your game.
image
We’ll be able to have a better idea of what is going on if we can run your game.

Best,
Hassan

2 Likes

yes,

here you go, its a bit messy, I’m a pretty new makecode user and i might add on to it while you look at it so this wont be the newest.

1 Like

Hello,

Sorry for the long delay! I was able to make it the shop-keeper and the tile map for that area loaded. I didn’t see any text though. Looking at the updated blocks I see the saved_blocks function which has the only instance of show long text is not called.

When I hover over the show long text block I see the flowing text blurb:
image
So it seems you were correct in your initial post. Show long text is used when you have a lot of text that you want the user to ready in chunks. Once that text is read, your other code will then run as expected.

You probably just want to use a regular textSprite, though @richard would know more than I do.