{EDIT} change movement speed of enemies and player

This commit is contained in:
SemvdH
2021-08-24 22:36:41 +02:00
parent 066f625831
commit 616e1db466
4 changed files with 6 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ void init_sprites()
// add simple enemies
for (i = 0; i < SIMPLE_ENEMY_MAX_AMOUNT; i++)
{
ENEMY_SPRITE e = {NONACTIVE, SIMPLE, 20 * i + 10, 10, RGBA8(245, 90, 66, 255), 1.0};
ENEMY_SPRITE e = {NONACTIVE, SIMPLE, 0,0, SIMPLE_ENEMY_COLOR, SIMPLE_ENEMY_MOVEMENT_SPEED};
enemies[i] = e;
enemy_count++;
}