scaling
This commit is contained in:
parent
ec275c7584
commit
a1d209ba37
2 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,7 @@ namespace ZoFo.GameCore.GameObjects.Entities.LivingEntities.Enemies
|
|||
health = 5;
|
||||
speed = 2;
|
||||
graphicsComponent.ObjectDrawRectangle = new Rectangle(0, 0, 30, 30);
|
||||
collisionComponent.stopRectangle = new Rectangle(0, 10, 30, 20);
|
||||
collisionComponent.stopRectangle = new Rectangle(10, 20, 10, 10);
|
||||
}
|
||||
|
||||
public override void Update()
|
||||
|
|
|
@ -141,6 +141,8 @@ namespace ZoFo.GameCore
|
|||
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1300, 1000)));
|
||||
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1500, 1000)));
|
||||
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1700, 1000)));
|
||||
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1900, 1000)));
|
||||
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(2100, 1000)));
|
||||
AppManager.Instance.server.RegisterGameObject(new Ammo(new Vector2(140, 440)));
|
||||
AppManager.Instance.server.RegisterGameObject(new Ammo(new Vector2(240, 440)));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue