Started implementing the ship's control scheme

This commit is contained in:
Jorge Vásquez Pérez
2018-07-27 09:14:42 -07:00
parent 7aded55a11
commit 62caf40b66
4 changed files with 20 additions and 4 deletions
+2 -3
View File
@@ -2,7 +2,6 @@
[ext_resource path="res://Scripts/Ship.gd" type="Script" id=1]
[node name="Ship" type="Node2D" index="0"]
script = ExtResource( 1 )
@@ -10,9 +9,9 @@ __meta__ = {
"_edit_group_": true
}
max_speed = 5
accel = 0.1
accel = 1.1
radial_max_speed = 1
radial_accel = 0.1
radial_accel = 0.05
[node name="ShipShape" type="Polygon2D" parent="." index="0"]
+11
View File
@@ -0,0 +1,11 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://Scenes/Ship.tscn" type="PackedScene" id=1]
[node name="Space" type="Node2D"]
[node name="Ship" parent="." index="0" instance=ExtResource( 1 )]
position = Vector2( 577, 440 )