How many attributes are too many?
Im making my game and I am thinking about how it will work and it seems it will have a lot of attributes in the game, how many attributes are too many, because i try to keep it under 10. Im not sure if thats a lot or not? will it slow down the game if i have so many attributes?
Comments
I asked this very question when I started with GS, and someone replied that they had over 500.
From what I can tell it shouldn't effect the game too much. Timers and moveable actors will more-so than lots of attributes.
The way that I do it, is I go to my game.attributes and click on the "-" to "remove" it. GameSalad will pop up with a window that asks are you sure? and lists the actors that reference the attribute (if no actor references it, the attribute will be deleted). Just be sure to NOT delete it by accident as this will cause some serious problems digging through actors to find it.
It's convoluted, but it works for me. At first I didn't keep track and ended up spending 6 hours untangling a mess of rules and attribute logic because I had conflicts. It was a mess.