JayJayHux
Active member
Im hoping to get some help or advice on allowing my game to run at least 4 objects or hopefully more at the same time without slow down?
At the moment i have my playerObject and he has a swordObject attached to him at all times. so thats 2 constant objects that will always be there. He also has a projectile but I have now changed it from an object to a DrawSprite with a couple of variables and it works well. If I add 2 more objects onto the screen even if the are just static there is noticable slowdown. All my playerObject/swordObjects movement and collisions are coded myself as I find it easier to control whats happening or debug/fix glitches. I can do the same with the monsters/moving platforms but id like to be able to place them using the GUI.
So basically im wondering if theres anyway to make the objects more efficient and remove some unused code or something so i can have at least 2 enemies on screen without slowdown?
Any help or advice appreciated.
Thankyou NESmakers.
At the moment i have my playerObject and he has a swordObject attached to him at all times. so thats 2 constant objects that will always be there. He also has a projectile but I have now changed it from an object to a DrawSprite with a couple of variables and it works well. If I add 2 more objects onto the screen even if the are just static there is noticable slowdown. All my playerObject/swordObjects movement and collisions are coded myself as I find it easier to control whats happening or debug/fix glitches. I can do the same with the monsters/moving platforms but id like to be able to place them using the GUI.
So basically im wondering if theres anyway to make the objects more efficient and remove some unused code or something so i can have at least 2 enemies on screen without slowdown?
Any help or advice appreciated.
Thankyou NESmakers.