Display variable of an object

Hi, I’m looking for a way to display a word on the top of a moving sprite. I’m currently making a typing game and I’m new to making a game.


this is what I have so far. :sweat_smile:

You can display text by creating a text object, add it to the scene, then there is an action for it to change the text. You can change its position x, y just like with sprite objects. You can set its position to match the sprite object by using the expression builder (which helps you get the x and y position of your sprite, such as WispyFire.X() and WispyFire.Y())

Also, check out the sticker extension. It gives you a behavior you can add to the text box that will allow it to stick to the sprite, which means it will follow the sprites position automatically as the sprite moves.

1 Like