Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Bitsy Game Maker

Make little games, worlds, and stories! · By Adam Le Doux


A topic by dreek93 created Nov 23, 2017 Views: 3,994 Replies: 8
Viewing posts 1 to 6

Just wondering if someone can explain the Variables editor under the inventory tool.  How do I assign them and what does that even mean?  Do they correspond to items or is it something else?  There was no information under the tutorial (I assume it was from an older version of the Bitsy Editor) I am very new at this stuff so I understand if this is a bit obvious and I just don't get it.  Thanks in advance for any and all help.


I didn't find a documentation about variables, I  figure out how to use variables myself. Those are the informations I was able to learn so far.

Variables are use to store integer or float. I tried with string value, but it didn't worked (it just changed the variable value to null).

  • Change value: Anywhere you can write a dialog line : {a = 1}. You can do some small operations like {a = a + 5} or {a = a * 2}, etc. Float value also works: {a = 1.1}, {a = a + 1.1}.
  • If you use a variable you didn't create in the editor before running the game, the variable will be created, and then removed when you stop the game.

Here's a simple variable use:

Hope that helps!

Thank you so much for this example!

That screenshot really helped me to understand how conditional dialog works.

It also gave me a clear idea about how to use the markup for variables.


sorry I didn't get to this until now :( life has been pretty busy

however, great answer sprvrn! that covers most of what you can do with variables. once you create  a variable you can use it to make dialog change and you can update it using math operation during dialog (as sprvrn shows).

you _should_ be able to store strings in variables, but it may not be working correctly

I need to add documentation for the scripting language - I will try to add that soon!

Hello ! I am discovering bitsy, and am investigating if I should use that to teach poeple making game. So thanks for these udpates Adam ! That tool looks promising.

I am try to make a game in 4hours for this weekend's ludum


I'd love to know if there's a way to make a sprite disappear after it's said something. Not just change the look, but actually get rid of it so you can walk over the tile. (Globally, if possible. I don't want it coming back if I re-enter the room.)

This is basically how items work, they say something and disappear forever. If you don't want to move into its spot when you "talk" to it, you can even add an exit on that square that leads back to the square next to it.

It would disappear before you talk to it, not after, but I think that's as close as you're going to get. Hope it helps!


I never said thank you. Thank you! :D

Andrew Yolland wrote a pretty decent tutorial on how to use variables. It builds a little more onto what sprvrn has said