42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://c1sjec311te5h"]
|
|
|
|
[ext_resource type="Script" uid="uid://ew8vld54loog" path="res://scene/minigames/steering/steering_minigame.gd" id="1_fjh6l"]
|
|
[ext_resource type="Texture2D" uid="uid://bhdmujkbbyti6" path="res://assets/2D/SteeringMinigame/SpacyBackground.png" id="2_2gwot"]
|
|
[ext_resource type="Texture2D" uid="uid://bp5exqkba4hr3" path="res://assets/2D/SteeringMinigame/Spaceship.png" id="3_2gwot"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2gwot"]
|
|
size = Vector2(20, 24)
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_2gwot"]
|
|
properties/0/path = NodePath("Spaceship:position")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 1
|
|
|
|
[node name="SteeringMinigame" type="Node2D"]
|
|
script = ExtResource("1_fjh6l")
|
|
|
|
[node name="background1" type="Sprite2D" parent="."]
|
|
position = Vector2(0, -511)
|
|
texture = ExtResource("2_2gwot")
|
|
offset = Vector2(128, 256)
|
|
flip_h = true
|
|
|
|
[node name="background2" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2_2gwot")
|
|
offset = Vector2(128, 256)
|
|
|
|
[node name="Spaceship" type="Sprite2D" parent="."]
|
|
position = Vector2(128, 400)
|
|
texture = ExtResource("3_2gwot")
|
|
|
|
[node name="Area2D" type="Area2D" parent="Spaceship"]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Spaceship/Area2D"]
|
|
position = Vector2(0, 4)
|
|
shape = SubResource("RectangleShape2D_2gwot")
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = SubResource("SceneReplicationConfig_2gwot")
|
|
|
|
[connection signal="area_entered" from="Spaceship/Area2D" to="." method="_on_area_2d_area_entered"]
|