MarcianoSR
2 posts
|
Topic: Game Programming /
Optimizing my game...
Thanks for all the replies.
I found the spot which made all the trouble. It was a single array which I forgot to empty. It got full off objects which I didn’t remove.
Thanks for thinking with me, I really appreciate it.
MarcianoSR.
|
MarcianoSR
2 posts
|
Topic: Game Programming /
Optimizing my game...
Hi there,
I’m new here. so I’ll introduce myself first! I am MarcianoSR and I love to program, especially with as3. I’m coming here to ask a serious question about optimizing the peformance in such a game, created in as3.
Ive got peformance problems when the game progresses. The game generates objects every certain time, when the game progresses, it will generate objects faster and faster. I think I cannot re-use the objects, but I remove all objects when I dont need them anymore, dispose bitmaps and remove event listeners. Still it lags more and more. What can I do to make it not lag? Is there a way to remove objects entirely?
Thanks for reading,
MarcianoSR.
|