M
mizzy
Guest
Hello Happy Game Makers,
I have a very noob question for you (was unable to find on my own):
When I declare a variable.. do I have to write var before it?
ex:
var thingy = 0;
or can i just write:
thingy = 0;
as far as I can tell they do the same thing, but I am very early on in my project (GMS2) and I don't want to shoot myself in the foot if it can be helped
thanks!
I have a very noob question for you (was unable to find on my own):
When I declare a variable.. do I have to write var before it?
ex:
var thingy = 0;
or can i just write:
thingy = 0;
as far as I can tell they do the same thing, but I am very early on in my project (GMS2) and I don't want to shoot myself in the foot if it can be helped
thanks!