tweaks in support of better rendering

This commit is contained in:
Fraser Graham
2013-10-28 23:35:00 -07:00
parent a4b539e79d
commit 1498414357
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ func (p *player) Tick(g *game) {
hit_player.Robot.Speed = (hit_player.Robot.Speed * 0.1)
hit_player.Robot.Heading = p.Robot.Heading
}
move_by := intersection_point.Sub(p.Robot.Position).Scale(0.95)
move_by := intersection_point.Sub(p.Robot.Position).Scale(0.9)
p.Robot.Position = p.Robot.Position.Add(move_by)
p.Robot.Health -= int(p.Robot.Speed / 10.0)