NovemberGodotGame/fabigame/scenes/game.tscn

64 lines
2.4 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://ciko2h5jj1a3k"]
[ext_resource type="PackedScene" uid="uid://djgtbc1quqvwe" path="res://scenes/dude.tscn" id="1_4l1yw"]
[ext_resource type="PackedScene" uid="uid://bw3gps1njvtgr" path="res://scenes/box.tscn" id="1_mg5q5"]
[ext_resource type="Script" path="res://scripts/scene_manager.gd" id="1_tpgoh"]
[ext_resource type="Script" path="res://scripts/trigger.gd" id="2_a7w16"]
[ext_resource type="PackedScene" uid="uid://b2tgt64a7m32v" path="res://scenes/bullet.tscn" id="4_0ysyc"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fuiwd"]
size = Vector2(142, 10)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lbd3t"]
size = Vector2(20, 4.47115)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_vdfbk"]
[node name="Game" type="Node2D"]
[node name="SceneManager" type="Node" parent="."]
unique_name_in_owner = true
script = ExtResource("1_tpgoh")
[node name="Platform" type="StaticBody2D" parent="."]
position = Vector2(394, 460)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform"]
scale = Vector2(1.02381, 1.00385)
shape = SubResource("RectangleShape2D_fuiwd")
[node name="CharacterBody2D" parent="." instance=ExtResource("1_4l1yw")]
[node name="Area2D" type="Area2D" parent="."]
position = Vector2(392, 535)
scale = Vector2(24.2, 4.16)
script = ExtResource("2_a7w16")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(0, -7.76443)
shape = SubResource("RectangleShape2D_lbd3t")
debug_color = Color(0.31865, 0.625237, 0, 0.42)
[node name="RigidBody2D" parent="." groups=["shootable"] instance=ExtResource("1_mg5q5")]
position = Vector2(432, 417)
[node name="RigidBody2D2" parent="." groups=["shootable"] instance=ExtResource("1_mg5q5")]
position = Vector2(405, 385)
[node name="RigidBody2D3" parent="." groups=["shootable"] instance=ExtResource("1_mg5q5")]
position = Vector2(422, 344)
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2(352, 535)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("WorldBoundaryShape2D_vdfbk")
[node name="Area2D2" parent="." instance=ExtResource("4_0ysyc")]
position = Vector2(269, 391)
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]