31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://c0s77m0ea3sey"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/game.gd" id="1_g5flc"]
|
|
[ext_resource type="PackedScene" uid="uid://dy71gkll44btc" path="res://scenes/player.tscn" id="2_3msrq"]
|
|
[ext_resource type="PackedScene" uid="uid://c7todenm3hn4d" path="res://scenes/boat.tscn" id="3_5kild"]
|
|
[ext_resource type="PackedScene" uid="uid://bmxg7u37aon0o" path="res://scenes/tile.tscn" id="4_cd0bw"]
|
|
|
|
[sub_resource type="SegmentShape2D" id="SegmentShape2D_dliv6"]
|
|
|
|
[node name="Game" type="Node2D"]
|
|
position = Vector2(552, 300)
|
|
script = ExtResource("1_g5flc")
|
|
|
|
[node name="Player" parent="." instance=ExtResource("2_3msrq")]
|
|
z_index = 1
|
|
position = Vector2(-546, -300)
|
|
|
|
[node name="Boat" parent="." instance=ExtResource("3_5kild")]
|
|
position = Vector2(-548, -304)
|
|
|
|
[node name="Tile" parent="Boat" instance=ExtResource("4_cd0bw")]
|
|
position = Vector2(6, 6)
|
|
|
|
[node name="Barrier" type="StaticBody2D" parent="Boat"]
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Boat/Barrier"]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Boat/Barrier"]
|
|
shape = SubResource("SegmentShape2D_dliv6")
|
|
one_way_collision_margin = 63.0
|