See variable value in preview

i should be able to see variable values in the preview like this or somewhat similar like this


yes i stole this from scratch


photoshopped btw

Yeah this would be a useful debugger tool but it should only appear in the preview not in the actual game when u export it or publish it

No, that’s not true. You can see it in the debugger

BTW

yeah but i wanna i see it at the same time not just in the debugger

For that you would use text object

1 Like

-_-

i could tell, lol.

One of the the debugger’s main purposes is to show variables and object permissions.

Many full games made in GDevelop have hundreds of variables (I’ve worked on a project with over 1000 globals), automatically displaying them on the screen would be impossible.

That said, if you want to display specific variables, you should just make a single or set of global “debug” text objects, and then a external event sheet that populates those objects with the variables you care about, then you can just include that in whatever scene you need it in.

No reason for a separate feature that would be problematic for many games.

2 Likes