Search the Community
Showing results for tags 'horde'.
-
I'm new to Phaser but familiar with Javascript. I'm working on my first game and am running into some (expected) performance issues. The game is a basic kill 1 and 2 more spawn with a max number of enemies per level. Levels are calculated automatically by adding/multiplying the initial default settings such as Max number of Enemies, Enemy Fire Rate and Enemy Speed. As you can imagine, the higher the levels get the more enemies spawn. Currently it's causing some major performance issues around levels 20+ (lower on less equipped machines). My question: Is there a better way to optimize this -or- is there a more efficient way of handling these enemies? I'm not sure what chunk(s) of code to include but I've linked the game at its current state below and can supply any code chunks needed for review. http://dev.csds.co/pbshooter/ to skip to a certain level change the number in the url (level=#) http://dev.csds.co/pbshooter/?level=20 Any help on this would be greatly appreciated! Thanks in advance!
- 5 replies
-
- performance
- phaser
-
(and 4 more)
Tagged with: