How do I show stats of ANYTHING

I’m making a game, but the problem is I have many variables, to make it easier for both me and the player, I want to make a panel where you can see stats, for example
image

5 Likes

Usually the text sprite extension is useful for that.


Having a whole bunch of these when you update a stat, destroy all sprites of kind text then create one, set it relative to camera.

I would recommend the text sprite extension or the mini menu extension!
Search riknoll/arcade-fancy-text or riknoll/arcade-mini-menu in the extension bar to find them. You can make menus with images next to the options with the mini menu extension, or you can make your own (without all the extra menu stuff) using text sprites that display the information. There are a lot of blocks in the Text tab for combining strings and numbers into one string, so that you can display all the info correctly!

1 Like

So you want variables to be shown?
Use the text extension. You can find it in the extensions bar thingy…

1 Like

You can use the fancy text extension to make a dashboard, and update the stats on game update.

1 Like

just create a textsprite/fancytextsprite and set its text to a variable, updating it when the panel is opened

or if your panel is constantly shown just put this under a game update block:
(make sure you’ve defined the textsprite/fancytextsprite when this code is able to run)

1 Like