aprilGame/game.tscn

74 lines
2.9 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene format=3 uid="uid://btxq5hrirovod"]
[ext_resource type="Script" uid="uid://f42eg5a0cckl" path="res://scripts/player_guy.gd" id="1_80nbo"]
[ext_resource type="Script" uid="uid://cebn6t5n1cwib" path="res://scripts/platform.gd" id="1_e2o6t"]
[ext_resource type="Script" uid="uid://jsnpm50wknk2" path="res://scripts/game.gd" id="1_fc0e3"]
[ext_resource type="Script" uid="uid://cdxh14mtlvhl6" path="res://scripts/trigger_circle.gd" id="3_feb5d"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mwb40"]
size = Vector2(342, 62)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_80nbo"]
size = Vector2(129, 132)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_mwb40"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_80nbo"]
[sub_resource type="CircleShape2D" id="CircleShape2D_e2o6t"]
radius = 153.83757
[node name="Game" type="Node2D" unique_id=1249397989]
script = ExtResource("1_fc0e3")
[node name="platform" type="StaticBody2D" parent="." unique_id=817692358]
position = Vector2(528, 486)
script = ExtResource("1_e2o6t")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform" unique_id=469432658]
shape = SubResource("RectangleShape2D_mwb40")
[node name="wall left" type="StaticBody2D" parent="." unique_id=1750621226]
position = Vector2(528, 486)
rotation = -1.5922282
constant_linear_velocity = Vector2(20, 0)
[node name="wall left" type="CollisionShape2D" parent="wall left" unique_id=482160421]
position = Vector2(148.07408, -141.85933)
shape = SubResource("RectangleShape2D_mwb40")
[node name="cube" type="RigidBody2D" parent="." unique_id=1022714074]
position = Vector2(554, 136)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="cube" unique_id=111037541]
position = Vector2(54.5, 56)
shape = SubResource("RectangleShape2D_80nbo")
debug_color = Color(0.95640117, 0, 0.540705, 0.41960785)
[node name="world border" type="StaticBody2D" parent="." unique_id=920368740]
position = Vector2(563, 988)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="world border" unique_id=1075301728]
shape = SubResource("WorldBoundaryShape2D_mwb40")
[node name="CharacterBody2D" type="CharacterBody2D" parent="." unique_id=1928490773]
position = Vector2(491, 38)
script = ExtResource("1_80nbo")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D" unique_id=1078296156]
shape = SubResource("CapsuleShape2D_80nbo")
[node name="Area2D" type="Area2D" parent="." unique_id=733267557]
position = Vector2(881, 413)
script = ExtResource("3_feb5d")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=762446279]
shape = SubResource("CircleShape2D_e2o6t")
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]