Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Bitsy Game Maker

Make little games, worlds, and stories! (No coding required.) · By Adam Le Doux

How do I...

A topic by Scycor created May 26, 2018 Views: 198 Replies: 4
Viewing posts 1 to 3

I have a game where I want a character to give you something if you have something else.

Example: You have a cookie. Other character wants it for ball. You give them cookie, you get ball.

You will be able to do this with variables.
In your  dialogue you could have a conditional node on the sprite that want's to trade the ball for the cookie and have 3 conditions that would look something like this: (b for ball - c for cookie. Makes sense right? Though you can use any letters you want)


Now in order to get the cookie in the first place you would need pick up a cookie. So in the dialogue for the cookie you should add {c=c+1} to the end of it so the player actually has a cookie to trade. 

Here's a copy of the game I made for this explanations. Feel free to have a dig.
Here's an in depth tutorial on bitsy variables

Hope this helps! 

How do I pick up a key that unlocks a door?

Try variables or since you can't VISUALLY see your inventory make the door give you an item but don't show dialog that you did or use a variable to change where an exit goes. I'm not saying it will work but it mght.

Using variables is not the problem. what is the command to deleted the locked door?