Technically though, scofano, as I understand it the first is best, but by such a small amount I doubt you could tell the difference even doing it a bunch of times over a project.
Thanks, Arima.
Everything that I test on browser (pc) runs fine. My problem is when I test it on my Ipad(new).
So I've started to read forums and ppl always blame the everytick (among other things, like number of objects) for performance.
What I think I should do (please tell me if I'm wrong):
I'm coding a top down shooter and there are 4 types of guns. So I coded every gun on their own group (inside each group there is an everytick for each gun) and I activate and de-activate the groups depending on the powerup(gun) I get.
I will be using 1 'everytick' call (go rotate, for example) instead of using them all in a single 'everytick' that is doing things on gun2, 3, and 4 (sprites) but only gun1 is on the scene. Waste of time putting them all on a single event if they are not on the scene, right? (or, is it ignored for the sprite not to be seen?)
Thanks