I specifically love tampering with the variables, its about my favorite block of programming! I am here to make it as EASY as possible on how to make your own little variable MAAAAAAAAADNESS!!!
(Hint: For a "Learn by seeing" tutorial, look up the project "moneymaker tycoon" with either ImMaximum as an author or someone with 5 numbers in their name, look at the orangish-red blocks in the scripts section on the stick figure guy, and learn how)
If you want to just see it from here and write it down (which you dont have to), keep reading.
When you want to create your variable (such as money or score or health points)
go to the Variables section, and simply click Add Variable, set name, and choose if that variable is for just the selected sprite or if it doesnt really matter which sprite its for (suggested if you only have 1 main sprite)
If you want to make that variable increase by time forever at the click of the green flag, put these together in exact order, and have your own number, when you create the project: <when green flag clicked> <forever> (you also have to set how much time it takes to increase, i love that ability, its like reload rate) <wait( )secsc> <change{ }by(
Offline
By the way, if you have any more questions about this very topic, just ask me in this topic. Ask me anything if you need specific or just more help on variables that i didnt mention or wasnt clear about:)
-ImMaximum
Offline
I do not use change by #. I do set the variable to variable + 1. It works more efficiently
Offline
Thescratch3 wrote:
I do not use change by #. I do set the variable to variable + 1. It works more efficiently
![]()
Actually, it works the same exact way. Nice tutorial btw!
Offline