Initial commit
This commit is contained in:
10
scenes/levels/Controls.gd
Normal file
10
scenes/levels/Controls.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Control
|
||||
|
||||
|
||||
func _ready():
|
||||
$Button.grab_focus()
|
||||
pass
|
||||
|
||||
func _on_Button_pressed():
|
||||
get_tree().change_scene_to_file("res://scenes/levels/Menu.tscn")
|
||||
pass # Replace with function body.
|
||||
37
scenes/levels/Controls.tscn
Normal file
37
scenes/levels/Controls.tscn
Normal file
@@ -0,0 +1,37 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/levels/Controls.gd" type="Script" id=1]
|
||||
[ext_resource path="res://textures/misc/controls.png" type="Texture2D" id=2]
|
||||
[ext_resource path="res://fonts/dialog.tres" type="FontFile" id=3]
|
||||
|
||||
[node name="Controls" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="controls" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -114.361
|
||||
offset_top = 234.378
|
||||
offset_right = -7.36102
|
||||
offset_bottom = 283.378
|
||||
theme_override_fonts/font = ExtResource( 3 )
|
||||
theme_override_colors/font_color = Color( 0, 0, 0, 1 )
|
||||
theme_override_colors/font_hover_color = Color( 0.364706, 0.364706, 0.364706, 1 )
|
||||
text = "Back"
|
||||
flat = true
|
||||
__meta__ = {
|
||||
"_editor_description_": ""
|
||||
}
|
||||
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
|
||||
240
scenes/levels/Intro.tscn
Normal file
240
scenes/levels/Intro.tscn
Normal file
@@ -0,0 +1,240 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cqjxhlcvohevs"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://xriucyfo0o30" path="res://textures/misc/logo-bg.png" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://bc8oc41wxytr1" path="res://textures/misc/logo-logo.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dqt0n5ytc0a4r" path="res://textures/misc/logo-studio.png" id="3"]
|
||||
[ext_resource type="AudioStream" uid="uid://bub2p8fvv46yx" path="res://music/logo.wav" id="4"]
|
||||
|
||||
[sub_resource type="Animation" id="1"]
|
||||
resource_name = "Intro"
|
||||
length = 4.5
|
||||
step = 0.01
|
||||
tracks/0/type = "audio"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("logo")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"clips": [{
|
||||
"end_offset": 0.219207,
|
||||
"start_offset": 0.0,
|
||||
"stream": ExtResource("4")
|
||||
}],
|
||||
"times": PackedFloat32Array(1.29)
|
||||
}
|
||||
tracks/0/use_blend = true
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("ColorRect:color")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.99, 1.49, 3.55, 3.99),
|
||||
"transitions": PackedFloat32Array(0.5, 0.5, 1, 2, 1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 1), Color(0, 0, 0, 0), Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("logo-logo:position")
|
||||
tracks/2/interp = 2
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 1.49, 1.6, 1.64, 1.67, 1.83),
|
||||
"transitions": PackedFloat32Array(0, 2, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(504, 733), Vector2(504, 733), Vector2(446, -45), Vector2(212, 109), Vector2(109, 56), Vector2(212, 109)]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("logo-logo:rotation")
|
||||
tracks/3/interp = 2
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0, 1.49, 1.6, 1.64, 1.67, 1.83),
|
||||
"transitions": PackedFloat32Array(0, 1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("logo-logo:size")
|
||||
tracks/4/interp = 2
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0, 1.49, 1.6, 1.64, 1.67, 1.83),
|
||||
"transitions": PackedFloat32Array(0, 2, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(16, 382), Vector2(16, 382), Vector2(132, 689), Vector2(600, 382), Vector2(806, 488), Vector2(600, 382)]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("logo-studio:position")
|
||||
tracks/5/interp = 2
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0, 1.88, 2.01, 2.04, 2.07, 2.1, 2.13),
|
||||
"transitions": PackedFloat32Array(0, 1, 1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(185.667, -300.401), Vector2(185.667, -300.401), Vector2(207, -355.62), Vector2(212, 109), Vector2(196.35, 12.4492), Vector2(133, 59), Vector2(212, 109)]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("logo-studio:rotation")
|
||||
tracks/6/interp = 2
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0, 1.88, 2.01, 2.04, 2.07, 2.1, 2.13),
|
||||
"transitions": PackedFloat32Array(0, 1, 1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 0.0, 0.0, 0.0, 4.49367, 0.0, 0.0]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("logo-studio:size")
|
||||
tracks/7/interp = 2
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(0, 1.88, 2.01, 2.04, 2.07, 2.1, 2.13),
|
||||
"transitions": PackedFloat32Array(0, 1, 1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(652.667, 415.667), Vector2(652.667, 415.667), Vector2(611, 1452), Vector2(600, 382), Vector2(679, 432.5), Vector2(758, 483), Vector2(600, 382)]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("logo-bg:position")
|
||||
tracks/8/interp = 2
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(0, 2.55, 2.63, 2.68, 2.74),
|
||||
"transitions": PackedFloat32Array(0, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(212, 491), Vector2(212, 491), Vector2(212, 109), Vector2(141, 64), Vector2(212, 109)]
|
||||
}
|
||||
tracks/9/type = "value"
|
||||
tracks/9/imported = false
|
||||
tracks/9/enabled = true
|
||||
tracks/9/path = NodePath("logo-bg:rotation")
|
||||
tracks/9/interp = 2
|
||||
tracks/9/loop_wrap = true
|
||||
tracks/9/keys = {
|
||||
"times": PackedFloat32Array(0, 2.55, 2.63, 2.68, 2.74),
|
||||
"transitions": PackedFloat32Array(0, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 0.0, 0.0, 0.0, 0.0]
|
||||
}
|
||||
tracks/10/type = "value"
|
||||
tracks/10/imported = false
|
||||
tracks/10/enabled = true
|
||||
tracks/10/path = NodePath("logo-bg:size")
|
||||
tracks/10/interp = 2
|
||||
tracks/10/loop_wrap = true
|
||||
tracks/10/keys = {
|
||||
"times": PackedFloat32Array(0, 2.55, 2.63, 2.68, 2.74),
|
||||
"transitions": PackedFloat32Array(0, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(600, 0), Vector2(600, 0), Vector2(600, 382), Vector2(742, 472), Vector2(600, 382)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_riwan"]
|
||||
_data = {
|
||||
"Intro": SubResource("1")
|
||||
}
|
||||
|
||||
[sub_resource type="GDScript" id="2"]
|
||||
script/source = "extends AnimationPlayer
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = \"text\"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
||||
|
||||
|
||||
func _on_anims_animation_finished(_anim_name):
|
||||
get_tree().change_scene_to_file(\"res://scenes/levels/Menu.tscn\")
|
||||
pass # Replace with function body.
|
||||
"
|
||||
|
||||
[node name="Intro" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="logo-bg" type="TextureRect" parent="."]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -300.0
|
||||
offset_top = 191.0
|
||||
offset_right = 300.0
|
||||
offset_bottom = 191.0
|
||||
texture = ExtResource("1")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="logo-logo" type="TextureRect" parent="."]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -8.0
|
||||
offset_top = 433.0
|
||||
offset_right = 8.0
|
||||
offset_bottom = 815.0
|
||||
texture = ExtResource("2")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="logo-studio" type="TextureRect" parent="."]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -326.333
|
||||
offset_top = -600.401
|
||||
offset_right = 326.334
|
||||
offset_bottom = -184.734
|
||||
texture = ExtResource("3")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="logo" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("4")
|
||||
|
||||
[node name="anims" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_riwan")
|
||||
}
|
||||
autoplay = "Intro"
|
||||
script = SubResource("2")
|
||||
|
||||
[connection signal="animation_finished" from="anims" to="anims" method="_on_anims_animation_finished"]
|
||||
46
scenes/levels/Menu.gd
Normal file
46
scenes/levels/Menu.gd
Normal file
@@ -0,0 +1,46 @@
|
||||
extends Control
|
||||
|
||||
@export var initial_level = "" # (String, FILE, "*.tscn")
|
||||
|
||||
func _ready():
|
||||
grab_focus()
|
||||
if Globals.load_game(true):
|
||||
$continue.disabled = false
|
||||
else:
|
||||
$continue.disabled = true
|
||||
|
||||
|
||||
func _on_continue_pressed():
|
||||
Globals.load_game()
|
||||
if Globals.current_level != "":
|
||||
if get_tree().change_scene_to_file(Globals.current_level) != OK:
|
||||
push_error("Error changing scenes")
|
||||
else:
|
||||
push_error("Error: current_level shouldn't be empty")
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
func _on_new_game_pressed():
|
||||
if initial_level != "":
|
||||
Globals.current_level = initial_level
|
||||
if Globals.save_game() == false:
|
||||
push_error("Error saving game")
|
||||
var err = get_tree().change_scene_to_file(initial_level)
|
||||
if err != OK:
|
||||
push_error("Error changing scene: %s" % err)
|
||||
else:
|
||||
push_error("Error: initial_level shouldn't be empty")
|
||||
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
|
||||
|
||||
func _on_quit_pressed():
|
||||
get_tree().quit()
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
func _on_controls_pressed():
|
||||
get_tree().change_scene_to_file("res://scenes/levels/Controls.tscn")
|
||||
pass # Replace with function body.
|
||||
134
scenes/levels/Menu.tscn
Normal file
134
scenes/levels/Menu.tscn
Normal file
@@ -0,0 +1,134 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://fonts/dialog.tres" type="FontFile" id=1]
|
||||
[ext_resource path="res://textures/menu/game_title.png" type="Texture2D" id=2]
|
||||
[ext_resource path="res://textures/menu/bg.png" type="Texture2D" id=3]
|
||||
[ext_resource path="res://scenes/levels/Menu.gd" type="Script" id=4]
|
||||
|
||||
[node name="Menu" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
focus_neighbor_left = NodePath("quit")
|
||||
focus_neighbor_top = NodePath("continue")
|
||||
focus_neighbor_right = NodePath("credits")
|
||||
focus_neighbor_bottom = NodePath("new_game")
|
||||
focus_mode = 2
|
||||
script = ExtResource( 4 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
initial_level = "res://scenes/levels/Outside.tscn"
|
||||
|
||||
[node name="BG" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 3 )
|
||||
expand = true
|
||||
stretch_mode = 7
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="logo" type="TextureRect" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -236.0
|
||||
offset_top = -185.634
|
||||
offset_right = 237.0
|
||||
offset_bottom = -5.63416
|
||||
texture = ExtResource( 2 )
|
||||
expand = true
|
||||
stretch_mode = 6
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="new_game" type="Button" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -57.5
|
||||
offset_top = 47.9168
|
||||
offset_right = 57.5
|
||||
offset_bottom = 96.9168
|
||||
focus_neighbor_left = NodePath("../quit")
|
||||
focus_neighbor_top = NodePath("../quit")
|
||||
focus_neighbor_right = NodePath("../controls")
|
||||
focus_neighbor_bottom = NodePath("../continue")
|
||||
theme_override_fonts/font = ExtResource( 1 )
|
||||
theme_override_colors/font_color = Color( 0, 0, 0, 1 )
|
||||
theme_override_colors/font_hover_color = Color( 0.364706, 0.364706, 0.364706, 1 )
|
||||
text = "New Game"
|
||||
flat = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="continue" type="Button" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -50.5
|
||||
offset_top = 123.626
|
||||
offset_right = 50.5
|
||||
offset_bottom = 172.626
|
||||
focus_neighbor_left = NodePath("../quit")
|
||||
focus_neighbor_top = NodePath("../new_game")
|
||||
focus_neighbor_right = NodePath("../controls")
|
||||
focus_neighbor_bottom = NodePath("../controls")
|
||||
theme_override_fonts/font = ExtResource( 1 )
|
||||
theme_override_colors/font_disabled_color = Color( 0.780392, 0.780392, 0.780392, 1 )
|
||||
theme_override_colors/font_color = Color( 0, 0, 0, 1 )
|
||||
theme_override_colors/font_hover_color = Color( 0.364706, 0.364706, 0.364706, 1 )
|
||||
disabled = true
|
||||
text = "Continue"
|
||||
flat = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="controls" type="Button" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -114.361
|
||||
offset_top = 234.378
|
||||
offset_right = -13.3615
|
||||
offset_bottom = 283.378
|
||||
focus_neighbor_left = NodePath("../quit")
|
||||
focus_neighbor_top = NodePath("../continue")
|
||||
focus_neighbor_right = NodePath("../quit")
|
||||
focus_neighbor_bottom = NodePath("../new_game")
|
||||
theme_override_fonts/font = ExtResource( 1 )
|
||||
text = "Controls"
|
||||
flat = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="quit" type="Button" parent="."]
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 12.9543
|
||||
offset_top = -69.3568
|
||||
offset_right = 113.954
|
||||
offset_bottom = -20.3568
|
||||
focus_neighbor_left = NodePath("../controls")
|
||||
focus_neighbor_top = NodePath("../continue")
|
||||
focus_neighbor_right = NodePath("../controls")
|
||||
focus_neighbor_bottom = NodePath("../new_game")
|
||||
theme_override_fonts/font = ExtResource( 1 )
|
||||
text = "Quit"
|
||||
flat = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
[connection signal="pressed" from="new_game" to="." method="_on_new_game_pressed"]
|
||||
[connection signal="pressed" from="continue" to="." method="_on_continue_pressed"]
|
||||
[connection signal="pressed" from="controls" to="." method="_on_controls_pressed"]
|
||||
[connection signal="pressed" from="quit" to="." method="_on_quit_pressed"]
|
||||
53
scenes/levels/TestLevel.tscn
Normal file
53
scenes/levels/TestLevel.tscn
Normal file
@@ -0,0 +1,53 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://c5oh2rmcwksmt"]
|
||||
|
||||
[ext_resource type="TileSet" uid="uid://c2mhyv81hyxbt" path="res://scenes/tilesets/castle.tres" id="3_ojvwt"]
|
||||
[ext_resource type="PackedScene" uid="uid://cixovgrvqr2p2" path="res://scenes/props/tree6.tscn" id="4_f0l61"]
|
||||
[ext_resource type="PackedScene" uid="uid://dvmm1keyq3r5c" path="res://scenes/props/tree2.tscn" id="4_f5et7"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctd3mgp0s172q" path="res://scenes/characters/Player.tscn" id="5_7pfs4"]
|
||||
[ext_resource type="PackedScene" uid="uid://deqgnj30xx13t" path="res://scenes/misc/UI.tscn" id="14_jp8qw"]
|
||||
|
||||
[node name="test_scene" type="Node"]
|
||||
|
||||
[node name="level" type="Node2D" parent="."]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(208, 82)
|
||||
|
||||
[node name="TileMap" type="TileMap" parent="level"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(1407, 792)
|
||||
tile_set = ExtResource("3_ojvwt")
|
||||
format = 2
|
||||
layer_0/name = "base"
|
||||
layer_0/y_sort_enabled = true
|
||||
layer_0/tile_data = PackedInt32Array(-2, 0, 0, 65534, 0, 0, 131070, 65536, 0, 65533, 0, 0, 196606, 0, 0, 262142, 65536, 0, -65539, 0, 0, -3, 0, 0, -65540, 0, 0, -131075, 0, 0, -1, 0, 0, -65538, 0, 0, -131074, 0, 0, -196611, 0, 0, -4, 0, 0, 65532, 0, 0, 131069, 0, 0, 196605, 65536, 0, 131071, 0, 0, 65535, 0, 0, -65536, 65536, 0, -65537, 65536, 0, -131073, 65536, 0, -196610, 65536, 0, -262146, 0, 0, 65531, 65536, 0, 131068, 65536, 0, 196604, 65536, 0, 327676, 65536, 0, 262140, 65536, 0, 262141, 65536, 0, 196603, 65536, 0, 131067, 65536, 0, 65530, 65536, 0, -5, 65536, 0, -65541, 0, 0, -131076, 0, 0, -196612, 0, 0, 327677, 65536, 0, 327678, 65536, 0, 393213, 65536, 0, 458748, 65536, 0, 393214, 65536, 0, 458750, 0, 0, 393215, 65536, 0, 524285, 65536, 0, 458749, 65536, 0, 327675, 65536, 0, 393212, 65536, 0, 262139, 65536, 0, 327674, 0, 0, 393211, 65536, 0, 458746, 65536, 0, 524283, 65536, 0, 589819, 65536, 0, 655356, 65536, 0, 589820, 65536, 0, 458747, 65536, 0, 524284, 65536, 0, 131066, 65536, 0, 196602, 65536, 0, 262138, 65536, 0, 196601, 0, 0, 327673, 65536, 0, 393210, 0, 0, -65542, 65536, 0, -131078, 65536, 0, -65543, 65536, 0, -6, 65536, 0, -131077, 65536, 0, -196614, 0, 0, -262149, 65536, 0, -196613, 0, 0, -262148, 65536, 0, -327685, 0, 0, 262143, 65536, 0, 327679, 65536, 0, 196608, 0, 0, 196607, 65536, 0, 327680, 0, 0, 262144, 0, 0, 131072, 0, 0, 65536, 0, 0, 0, 65536, 0, 65537, 65536, 0, 524287, 65536, 0, 589822, 65536, 0, 655359, 65536, 0, 589823, 65536, 0, 458752, 65536, 0, 458751, 65536, 0, 524286, 65536, 0, -262147, 65536, 0, -327683, 65536, 0, -393218, 65536, 0, -327682, 65536, 0, -262145, 65536, 0, -196608, 65536, 0, -131072, 65536, 0, -196609, 65536, 0, 393216, 0, 0, 393217, 0, 0, 393218, 65536, 0, 393219, 65536, 0, 327683, 65536, 0, 262147, 65536, 0, 262146, 65536, 0, 262145, 65536, 0, 327681, 65536, 0, 196609, 0, 0, 131073, 0, 0, 196610, 0, 0, 131074, 0, 0, 1, 65536, 0, -65535, 65536, 0, -65534, 65536, 0, 2, 0, 0, 65538, 0, 0, 65539, 65536, 0, 131075, 65536, 0, 327682, 65536, 0, 524288, 65536, 0, 458753, 65536, 0, 589821, 65536, 0, 655357, 65536, 0, 655358, 65536, 0, 393209, 65536, 0, 458745, 65536, 0, 524281, 65536, 0, 524282, 65536, 0, 589818, 65536, 0, 262137, 65536, 0, 131065, 0, 0, 65529, 0, 0, -7, 0, 0, 131064, 65536, 0, 65528, 0, 0, -8, 0, 0, 196600, 65536, 0, 262136, 65536, 0, 327672, 65536, 0, -131079, 65536, 0, -65544, 0, 0, 196611, 65536, 0, -65545, 0, 0, -131081, 0, 0, -196617, 0, 0, -196616, 0, 0, -196615, 0, 0, -262150, 0, 0, 589824, 0, 0, 655353, 0, 0, 655354, 0, 0, 655355, 0, 0, -262151, 0, 0, -327687, 0, 0, -327686, 0, 0, -327684, 0, 0, -393219, 0, 0, -131080, 0, 0, 196599, 0, 0, 131063, 0, 0, 65527, 0, 0, -9, 0, 0, -10, 0, 0, -65546, 0, 0, 65526, 0, 0, 131062, 0, 0, -393223, 0, 0, -458759, 0, 0, -458758, 0, 0, -393222, 0, 0, -393221, 0, 0, -458757, 0, 0, -393220, 0, 0, -458756, 0, 0, -327688, 0, 0, -393224, 0, 0, -458760, 0, 0, 655352, 0, 0, 589817, 0, 0, 589816, 0, 0, 524280, 0, 0, 458744, 0, 0, 393208, 0, 0, 327671, 0, 0, 262135, 0, 0, 262134, 0, 0, 196598, 0, 0)
|
||||
layer_1/name = "wall"
|
||||
layer_1/y_sort_enabled = true
|
||||
layer_1/z_index = 1
|
||||
layer_1/tile_data = PackedInt32Array(655356, 2, 3, 655357, 2, 3, 655358, 2, 3, 655359, 2, 3, 589824, 2, 3, 524288, 2, 3, 458752, 2, 3, 458753, 2, 3, -131080, 2, 3, -6, 65538, 3, 589817, 2, 3, 655353, 2, 3, 655352, 2, 3, 589816, 2, 3, 524280, 2, 3, 458744, 2, 3, 393208, 2, 3, 393207, 2, 3, 327671, 2, 3, 262135, 2, 3, -65546, 2, 3, -131082, 2, 3, -196618, 2, 3, -262154, 2, 3, -262153, 2, 3, -262152, 2, 3, 196598, 2, 3, 131062, 2, 3, 65526, 2, 3, -10, 2, 3, 655355, 65538, 3, -4, 65538, 3, 393218, 65538, 3, 393219, 65538, 3, 327683, 65538, 3, 262147, 65538, 3, 196611, 65538, 3, 131075, 65538, 3, 65539, 65538, 3, 2, 65538, 3, -65534, 65538, 3, -65535, 65538, 3, -196609, 65538, 3, -262145, 65538, 3, -327682, 65538, 3, -393218, 65538, 3, -393219, 65538, 3, -393224, 65538, 3, -327688, 65538, 3, -458760, 65538, 3, -458759, 65538, 3, -458758, 65538, 3, -458757, 65538, 3, -458756, 65538, 3, -2, 65538, 3, -8, 65538, 3)
|
||||
|
||||
[node name="Character" parent="level" instance=ExtResource("5_7pfs4")]
|
||||
z_index = 1
|
||||
position = Vector2(1009, 772)
|
||||
|
||||
[node name="Trees" type="Node2D" parent="level"]
|
||||
z_index = 1
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Tree3" parent="level/Trees" instance=ExtResource("4_f0l61")]
|
||||
position = Vector2(1385, 434)
|
||||
scale = Vector2(1.4, 1.4)
|
||||
|
||||
[node name="Tree2" parent="level/Trees" instance=ExtResource("4_f5et7")]
|
||||
position = Vector2(844, 606)
|
||||
scale = Vector2(1.3, 1.3)
|
||||
|
||||
[node name="Tree4" parent="level/Trees" instance=ExtResource("4_f5et7")]
|
||||
position = Vector2(1231, 1053)
|
||||
scale = Vector2(1.3, 1.3)
|
||||
|
||||
[node name="Tree5" parent="level/Trees" instance=ExtResource("4_f5et7")]
|
||||
position = Vector2(1608, 740)
|
||||
scale = Vector2(1.3, 1.3)
|
||||
|
||||
[node name="UI" parent="." instance=ExtResource("14_jp8qw")]
|
||||
visible = false
|
||||
Reference in New Issue
Block a user