This commit is contained in:
Tabby 2025-06-27 16:39:28 +10:00
parent 57eeede288
commit 57f147236a
13 changed files with 227 additions and 24 deletions

View file

@ -1,18 +1,15 @@
[gd_scene load_steps=5 format=3 uid="uid://d2waabvrlsfs8"]
[gd_scene load_steps=4 format=3 uid="uid://d2waabvrlsfs8"]
[ext_resource type="Texture2D" uid="uid://lkj8ecm5p4g6" path="res://icon.svg" id="1_8uh7m"]
[ext_resource type="Script" uid="uid://cd54ktlkabbla" path="res://ship.gd" id="2_6uqi0"]
[ext_resource type="PackedScene" uid="uid://crrbht7mwhgyc" path="res://Prefabs/lander.tscn" id="2_8uh7m"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ppyta"]
size = Vector2(128, 26)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ykrsh"]
size = Vector2(38, 38)
[node name="Node2D" type="Node2D"]
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2(597, 583)
position = Vector2(407, 23)
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D"]
modulate = Color(0, 0, 0, 1)
@ -23,7 +20,7 @@ texture = ExtResource("1_8uh7m")
shape = SubResource("RectangleShape2D_ppyta")
[node name="StaticBody2D2" type="StaticBody2D" parent="."]
position = Vector2(932, 437)
position = Vector2(409, 110)
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D2"]
modulate = Color(0, 0, 0, 1)
@ -45,7 +42,7 @@ texture = ExtResource("1_8uh7m")
shape = SubResource("RectangleShape2D_ppyta")
[node name="StaticBody2D4" type="StaticBody2D" parent="."]
position = Vector2(796, 107)
position = Vector2(555, 243)
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D4"]
modulate = Color(0, 0, 0, 1)
@ -55,16 +52,5 @@ texture = ExtResource("1_8uh7m")
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
shape = SubResource("RectangleShape2D_ppyta")
[node name="RigidBody2D" type="RigidBody2D" parent="."]
position = Vector2(597, 548)
gravity_scale = 0.2
script = ExtResource("2_6uqi0")
thrust_power = 500.0
turn_power = 1000.0
[node name="Sprite2D" type="Sprite2D" parent="RigidBody2D"]
scale = Vector2(0.3, 0.3)
texture = ExtResource("1_8uh7m")
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
shape = SubResource("RectangleShape2D_ykrsh")
[node name="Lander" parent="." instance=ExtResource("2_8uh7m")]
position = Vector2(223, 258)