NovemberGodotGame2024/novembergame/scenes/game.tscn
2024-11-18 20:50:07 -05:00

91 lines
3.1 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://dmk3hbsrqhgad"]
[ext_resource type="PackedScene" uid="uid://flumvyk8tafw" path="res://scenes/box.tscn" id="1_ixp3c"]
[ext_resource type="Script" path="res://scripts/dudecontroller.gd" id="1_pin1i"]
[ext_resource type="Script" path="res://scripts/trigger.gd" id="2_e4xab"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mhewf"]
size = Vector2(102, 12)
[sub_resource type="CircleShape2D" id="CircleShape2D_drde1"]
radius = 23.0
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0jo0r"]
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_jsnkw"]
[node name="Game" type="Node2D"]
[node name="Platform" type="StaticBody2D" parent="."]
position = Vector2(584, 454)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform"]
shape = SubResource("RectangleShape2D_mhewf")
[node name="Platform2" type="StaticBody2D" parent="."]
position = Vector2(802, 455)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform2"]
shape = SubResource("RectangleShape2D_mhewf")
[node name="Platform4" type="StaticBody2D" parent="."]
position = Vector2(980, 381)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform4"]
shape = SubResource("RectangleShape2D_mhewf")
[node name="Platform3" type="StaticBody2D" parent="."]
position = Vector2(331, 455)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform3"]
shape = SubResource("RectangleShape2D_mhewf")
[node name="Platform5" type="StaticBody2D" parent="."]
position = Vector2(137, 363)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform5"]
shape = SubResource("RectangleShape2D_mhewf")
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
position = Vector2(589, 426)
script = ExtResource("1_pin1i")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
rotation = -0.0421956
shape = SubResource("CircleShape2D_drde1")
debug_color = Color(0.459127, 0.454101, 0.981072, 0.42)
[node name="Area2D" type="Area2D" parent="."]
position = Vector2(576, 533)
scale = Vector2(18.56, 0.640005)
script = ExtResource("2_e4xab")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_0jo0r")
debug_color = Color(0.774214, 0.233911, 0.917118, 0.42)
[node name="RigidBody2D" parent="." instance=ExtResource("1_ixp3c")]
position = Vector2(627, 304)
[node name="RigidBody2D2" parent="." instance=ExtResource("1_ixp3c")]
position = Vector2(586, 229)
[node name="RigidBody2D3" parent="." instance=ExtResource("1_ixp3c")]
position = Vector2(533, 301)
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2(581, 648)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("WorldBoundaryShape2D_jsnkw")
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]