I tryed again and found a way for much more enemys.

Thanks 3run for the tip and the example of mass-ai.
I made a single while that controlls all enemys. Enemys are stored in a array.
First i thought it makes no difference. But this is the trick, real Speed boost (almost like NOS)!

Note: Only collision models without sprites shown in the shot for now but already using pathfinding. 60fps again.

That really rocks!
update with sprites:

update2: random movement and Animation Speed for each



Only problem, i need to rewrite my enemy script from scratch now. Need to think about how exactly iam doing this. A bit tricky with sprites in the array.Basics already done.

Greets

Last edited by rayp; 08/04/16 01:24.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;