I have a quick question just to confirm - if I add a behavior to a sprite and then disable the behavior, does that behavior still take up cpu?
The reason I ask is that I currently have lots of sprite particles being created when you hit an enemy, and they all have the bullet behavior. I'm also doing an "on collision" check to make sure when they hit the wall/floors they decrease speed until the 3rd or 4th time they are hit. On the last time it disables the bullet and collision of the sprite (which works perfectly). However, the CPU seems to increase as the layout carries on. This could be attributed to the amount of objects (I'm making sure its less than 1k objects on the layout by deleting them if it's over), but rarely are more than 20 on screen at once.