Attributes, how they work?
InovaTech
Member Posts: 161
Hello, I red the cookbook and it helped, but I still holding a doubt between Index attribute and Intiger.
In index it specifies that they cant hold negative numbers, but in Intigers they dont specify.
also can index hold decimals?
I am using the Intigers for keeping lives because my lifes are whole numbers and cant be negative. That will do?
thanks
Best Answer
-
bjandthekatz Orlando, FlPosts: 1,375
Is this the page you looked at? https://help.gamesalad.com/hc/en-us/articles/202021193-2-1-Attributes-in-GameSalad
Integer can hold any whole number, positive or negative.
Index can only hold whole numbers.
You can use an integer attribute or an index attribute for lives.Need Help? Email Me | Templates | Full Game Source Code