lag in game, stops working after time... Too many actors?
theastamana
Member Posts: 6
Hey everybody,
I've tried to create a game with an actor leaving a trail behind. But after some time, the game engine starts lagging a lot, which is unfortunate.
How I get it to work:
actor1 creates itself every 0.05 seconds 4 pixels above the first one. (so a loop)
After that it places actor2 on the place of actor 1.
actor one is destroyed.
With this you get like a snaky effect (with controls etc).
But is there another way to do this. On the PC it works O.K. but if I check it on the device it goes horribily wrong after like 7 seconds.
Sincerly,
theastamana
I've tried to create a game with an actor leaving a trail behind. But after some time, the game engine starts lagging a lot, which is unfortunate.
How I get it to work:
actor1 creates itself every 0.05 seconds 4 pixels above the first one. (so a loop)
After that it places actor2 on the place of actor 1.
actor one is destroyed.
With this you get like a snaky effect (with controls etc).
But is there another way to do this. On the PC it works O.K. but if I check it on the device it goes horribily wrong after like 7 seconds.
Sincerly,
theastamana
Comments
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
or does the particles belong to the collsion of the actor?
thanks