How to spawn actors, and do it without eating up memory.
littlemanapps
Member Posts: 13
Hi,
I have an attribute which goes up every time a coin is collected. and then when it reaches a multiple of 5 to place a enemy actor on the screen, but i've heard using the spawn actor uses up memory.
I have an attribute which goes up every time a coin is collected. and then when it reaches a multiple of 5 to place a enemy actor on the screen, but i've heard using the spawn actor uses up memory.
Comments
but then again, if you are only doing limited spawning, you can get away with it fine.
check out my first game ever:
http://itunes.apple.com/us/app/z-is-for-zombie-lite/id346479833?mt=8
it's got a ton of spawning, and was made with an old version of GS, so it's even less memory friendly.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
As long as there isn't any smooth movement involved on the stage spawning could be used.
In my Penny Shoel app I have pucks coming from outside the stage because when I would use spawn you would see the moving pucks falter. Now it falters less
Penny Shoel is here and free so check it out if you like to see it.
http://itunes.apple.com/app/penny-shoel/id429448038?mt=8
(v.1.1 is waiting for review now, that version has better performance)
Lump Apps and My Assets