소스 검색

: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