Permalink
Browse files

+ admiral steering

  • Loading branch information...
1 parent 48b43b5 commit 85f508710e263539263f772fb9823b29e4ea5446 @floere committed May 16, 2009
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/top_down_oriented.rb
  2. +2 −2 lib/units/admiral.rb
@@ -38,7 +38,7 @@ def full_speed_ahead factor = acceleration
self.speed += rotation_vector * factor
end
def reverse factor = acceleration
- self.speed -= rotation_vector * factor
+ self.speed -= rotation_vector * factor * 0.1
end
def left amount = turning
self.rotation -= amount
@@ -7,8 +7,8 @@ class Admiral < Player
with Gun, 10, -140
with Gun, 140, 0
- acceleration 0.0001
- turning 0.00001
+ acceleration 0.001
+ turning 0.0001
lives 300
def initialize window

0 comments on commit 85f5087

Please sign in to comment.