Преглед на файлове

:wrench: Adjust shape of ship

DricomDragon преди 1 година
родител
ревизия
9ab0f48ab6
променени са 2 файла, в които са добавени 17 реда и са изтрити 9 реда
  1. 15 7
      godot/component/ships/BiBiShip.tscn
  2. 2 2
      godot/component/ships/ship.gd

Файловите разлики са ограничени, защото са твърде много
+ 15 - 7
godot/component/ships/BiBiShip.tscn


+ 2 - 2
godot/component/ships/ship.gd

@@ -4,8 +4,8 @@ extends RigidBody2D
 
 signal moved(speed: float)
 
-const THRUST_STRENGTH = 400_000
-const TORQUE_THRUST = 1
+const THRUST_STRENGTH: float = 400_000.0
+const TORQUE_THRUST: float = 20.0
 const MOVE_CEIL : float = 2
 
 var current_force := Vector2.ZERO