Move components offscreen to begin with, so the engine effects don't jump.
This commit is contained in:
parent
5d5c19a62d
commit
c8b6ddd978
|
@ -67,6 +67,8 @@ Entity *spawnCapitalShip(char *name, int x, int y, int side)
|
|||
else
|
||||
{
|
||||
e->owner = capitalShip;
|
||||
e->x = -SCREEN_WIDTH;
|
||||
e->y = -SCREEN_HEIGHT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue