tweaks in support of better rendering
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user