NovemberGodotGame/novembergame/scenes/game.tscn

136 lines
4.2 KiB
Plaintext

[gd_scene load_steps=11 format=4 uid="uid://cmh68gsfunmwa"]
[ext_resource type="Texture2D" uid="uid://bvbxh8nxgekny" path="res://assets/graphics/environment/terrain/Terrain (32x32).png" id="1_n0y6d"]
[ext_resource type="Script" path="res://scripts/scene_manager.gd" id="1_obwxw"]
[ext_resource type="PackedScene" uid="uid://cjqhmd3158nb7" path="res://scenes/character.tscn" id="1_p32ky"]
[ext_resource type="Script" path="res://scripts/trigger.gd" id="2_tsnf5"]
[ext_resource type="PackedScene" uid="uid://dm71h7adhhf8u" path="res://scenes/box.tscn" id="3_pi0u1"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ih8kf"]
texture = ExtResource("1_n0y6d")
texture_region_size = Vector2i(32, 32)
0:0/0 = 0
1:0/0 = 0
2:0/0 = 0
4:0/0 = 0
6:0/0 = 0
7:0/0 = 0
9:0/0 = 0
10:0/0 = 0
12:0/0 = 0
13:0/0 = 0
15:0/0 = 0
0:1/0 = 0
1:1/0 = 0
2:1/0 = 0
4:1/0 = 0
6:1/0 = 0
7:1/0 = 0
9:1/0 = 0
10:1/0 = 0
12:1/0 = 0
13:1/0 = 0
15:1/0 = 0
16:1/0 = 0
0:2/0 = 0
1:2/0 = 0
2:2/0 = 0
4:2/0 = 0
6:3/0 = 0
7:3/0 = 0
9:3/0 = 0
10:3/0 = 0
12:3/0 = 0
13:3/0 = 0
15:3/0 = 0
16:3/0 = 0
0:4/0 = 0
1:4/0 = 0
2:4/0 = 0
4:4/0 = 0
6:4/0 = 0
7:4/0 = 0
9:4/0 = 0
10:4/0 = 0
12:4/0 = 0
13:4/0 = 0
15:4/0 = 0
16:4/0 = 0
[sub_resource type="TileSet" id="TileSet_wyq3g"]
tile_size = Vector2i(32, 32)
sources/0 = SubResource("TileSetAtlasSource_ih8kf")
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rcjag"]
size = Vector2(84, 12)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_supj4"]
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_c5gsu"]
[node name="Game" type="Node2D"]
[node name="TileMapLayer" type="TileMapLayer" parent="."]
tile_map_data = PackedByteArray("AAAOAAwAAAAAAAAAAAAPAAwAAAABAAAAAAAQAAwAAAABAAAAAAARAAwAAAACAAAAAAAKABEAAAABAAAAAAALABEAAAABAAAAAAAMABEAAAABAAAAAAANABEAAAABAAAAAAAOABEAAAABAAAAAAAPABEAAAABAAAAAAAQABEAAAABAAAAAAARABEAAAABAAAAAAASABEAAAABAAAAAAATABEAAAABAAAAAAAUABEAAAABAAAAAAAVABEAAAABAAAAAAAWABEAAAABAAAAAAAXABEAAAABAAAAAAAYABEAAAABAAAAAAAZABEAAAABAAAAAAAJABEAAAABAAAAAAAIABEAAAABAAAAAAAHABEAAAABAAAAAAAGABEAAAABAAAAAAAUAAoAAAAEAAQAAAAWAAgAAAAAAAAAAAAXAAgAAAABAAAAAAAYAAgAAAABAAAAAAAZAAgAAAABAAAAAAAaAAgAAAACAAAAAAAWAAkAAAAAAAIAAAAXAAkAAAABAAIAAAAYAAkAAAABAAIAAAAZAAkAAAABAAIAAAAaAAkAAAACAAIAAAA=")
tile_set = SubResource("TileSet_wyq3g")
[node name="SceneManager" type="Node" parent="."]
unique_name_in_owner = true
script = ExtResource("1_obwxw")
[node name="Platform" type="StaticBody2D" parent="."]
position = Vector2(511, 393)
scale = Vector2(1.46914, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform"]
shape = SubResource("RectangleShape2D_rcjag")
[node name="Platform2" type="StaticBody2D" parent="."]
position = Vector2(656, 327)
scale = Vector2(0.4, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform2"]
shape = SubResource("RectangleShape2D_rcjag")
[node name="Platform3" type="StaticBody2D" parent="."]
position = Vector2(786, 263)
scale = Vector2(2, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform3"]
shape = SubResource("RectangleShape2D_rcjag")
[node name="CharacterBody2D" parent="." instance=ExtResource("1_p32ky")]
position = Vector2(502, 230)
[node name="Area2D" type="Area2D" parent="."]
position = Vector2(519, 464)
scale = Vector2(10.92, 1)
script = ExtResource("2_tsnf5")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_supj4")
debug_color = Color(0.793021, 0.25626, 0.844091, 0.42)
[node name="RigidBody2D" parent="." instance=ExtResource("3_pi0u1")]
position = Vector2(571, 331)
[node name="RigidBody2D2" parent="." instance=ExtResource("3_pi0u1")]
position = Vector2(622, 275)
[node name="RigidBody2D3" parent="." instance=ExtResource("3_pi0u1")]
position = Vector2(479, 288)
rotation = 1.16823
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2(508, 546)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("WorldBoundaryShape2D_c5gsu")
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]