chronicleroflegends
Member
I have been messing around with the platformer module trying to create a metroid style game, and I am really impressed so far.
I only picked up Nesmaker a few days ago and I am surprised at the amount of work I have got done from knowing absolutely nothing.
The specific problem I am having is that I am getting lag.
I can create the projectiles and have them fire the correct direction, from the correct starting point, and have them destruct on touching a solid or edge... but it seems like memory is leaking somewhere.
I can fire less than 10 times before the game starts to run really slowly, whether there are any bullets on the screen or not.
It isn't related to how fast I press the fire button. Even if I wait for the last projectile to disappear before firing again, it builds up and start to lag at about 7 shots.
I am using the slot that starts as the Melee gameobject for the projectile, as I don't plan to have a melee attack in the game.
I have checked and the edge and solid collision drop downs are both set to 'destroy me'
Anyone know why I could be running into lag so quickly?
I only picked up Nesmaker a few days ago and I am surprised at the amount of work I have got done from knowing absolutely nothing.
The specific problem I am having is that I am getting lag.
I can create the projectiles and have them fire the correct direction, from the correct starting point, and have them destruct on touching a solid or edge... but it seems like memory is leaking somewhere.
I can fire less than 10 times before the game starts to run really slowly, whether there are any bullets on the screen or not.
It isn't related to how fast I press the fire button. Even if I wait for the last projectile to disappear before firing again, it builds up and start to lag at about 7 shots.
I am using the slot that starts as the Melee gameobject for the projectile, as I don't plan to have a melee attack in the game.
I have checked and the edge and solid collision drop downs are both set to 'destroy me'
Anyone know why I could be running into lag so quickly?