Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Millie, I did it! 

but I have a question, how do I make a function blocked? example: 

if I click the button 10 times, field2 changes the number.

(+1)

So, you'd want something to happen only when the button has been pressed 10 times?

You would need a separate field (maybe a hidden one) to count the number of button presses, so you add 1 to the value each time. And then after you increment the value you have an if statement that checks when the value has reached 10.

(+2)(-1)

If you've got more questions it might be worth posting them in the programming questions thread https://itch.io/t/2445182/lil-programming-questions