AugGodotGameCourse/indigogameone/scenes/game.tscn

64 lines
2.2 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://bpvxf6b1pgvw1"]
[ext_resource type="PackedScene" uid="uid://d4lcu5l7nqd2f" path="res://scenes/crate.tscn" id="1_5062r"]
[ext_resource type="Script" path="res://scripts/player.gd" id="2_u8ltq"]
[ext_resource type="PackedScene" uid="uid://ckvtpjm5q2t0d" path="res://scenes/trigger.tscn" id="3_bhtcy"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_by4gc"]
size = Vector2(25.75, 20)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_7qxn5"]
[sub_resource type="CircleShape2D" id="CircleShape2D_gwwau"]
[node name="World" type="Node2D"]
[node name="platform" type="StaticBody2D" parent="."]
position = Vector2(373, 218)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform"]
shape = SubResource("RectangleShape2D_by4gc")
[node name="platform2" type="StaticBody2D" parent="."]
position = Vector2(312, 290)
scale = Vector2(7.14333, 0.916857)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform2"]
shape = SubResource("RectangleShape2D_by4gc")
[node name="platform3" type="StaticBody2D" parent="."]
position = Vector2(486, 340)
scale = Vector2(7.14333, 0.916857)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform3"]
shape = SubResource("RectangleShape2D_by4gc")
[node name="Floor" type="StaticBody2D" parent="."]
position = Vector2(558, 525)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"]
shape = SubResource("WorldBoundaryShape2D_7qxn5")
[node name="RigidBody2D" parent="." instance=ExtResource("1_5062r")]
[node name="RigidBody2D2" parent="." instance=ExtResource("1_5062r")]
position = Vector2(424, 370)
[node name="RigidBody2D3" parent="." instance=ExtResource("1_5062r")]
position = Vector2(603, 416)
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
position = Vector2(555, 322)
script = ExtResource("2_u8ltq")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
shape = SubResource("CircleShape2D_gwwau")
debug_color = Color(0.858824, 0.227451, 0.4, 0.909804)
[node name="Area2D" parent="." instance=ExtResource("3_bhtcy")]