JulyGame/scenes/game.tscn

79 lines
2.7 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://bjk7nrcwo0ikb"]
[ext_resource type="Script" uid="uid://bc6rpr127gn6l" path="res://scripts/gamecontroller.gd" id="1_lnu2h"]
[ext_resource type="Script" uid="uid://r3vurapv33hu" path="res://scripts/player.gd" id="1_uwrxv"]
[ext_resource type="PackedScene" uid="uid://d1gmq2hler2x3" path="res://scenes/trigger.tscn" id="2_yqjtg"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8cj0n"]
size = Vector2(66, 20)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"]
size = Vector2(82, 52)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_8cj0n"]
[sub_resource type="CircleShape2D" id="CircleShape2D_8cj0n"]
[node name="Game" type="Node2D"]
script = ExtResource("1_lnu2h")
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2(205, 132)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("RectangleShape2D_8cj0n")
[node name="RigidBody2D" type="RigidBody2D" parent="."]
position = Vector2(156, 49)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
position = Vector2(4, 0)
rotation = 0.50364
shape = SubResource("RectangleShape2D_uwrxv")
debug_color = Color(0.920063, 0.281624, 0, 0.42)
[node name="RigidBody2D2" type="RigidBody2D" parent="."]
position = Vector2(207, -17)
rotation = 0.00469979
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D2"]
position = Vector2(4, 0)
rotation = 0.50364
shape = SubResource("RectangleShape2D_uwrxv")
debug_color = Color(0.920063, 0.281624, 0, 0.42)
[node name="RigidBody2D3" type="RigidBody2D" parent="."]
position = Vector2(272, -97)
rotation = 0.00469979
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D3"]
position = Vector2(4, 0)
rotation = 0.50364
shape = SubResource("RectangleShape2D_uwrxv")
debug_color = Color(0.920063, 0.281624, 0, 0.42)
[node name="world-boundary" type="StaticBody2D" parent="."]
position = Vector2(490, 632)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="world-boundary"]
shape = SubResource("WorldBoundaryShape2D_8cj0n")
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
position = Vector2(210, 92)
script = ExtResource("1_uwrxv")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
shape = SubResource("CircleShape2D_8cj0n")
debug_color = Color(0, 0.64833, 0.184337, 0.42)
[node name="Area2D" parent="." instance=ExtResource("2_yqjtg")]
position = Vector2(1106, 604)
[connection signal="areaTriggerSignal" from="Area2D" to="." method="_on_area_2d_area_trigger_signal"]