Fixed merge errors
This commit is contained in:
43
Assets/Scenes/Dialogue.tscn
Normal file
43
Assets/Scenes/Dialogue.tscn
Normal file
@@ -0,0 +1,43 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cpopl1smrtneb"]
|
||||
|
||||
[ext_resource type="Texture2D" path="res://Assets/Sprites/UI/DialogueBG.png" id="1_cdjwm"]
|
||||
[ext_resource type="Script" uid="uid://b7a4ty2lbfxan" path="res://Assets/Scripts/LevelScripts/Dialogue.cs" id="1_qqmmm"]
|
||||
[ext_resource type="Texture2D" path="res://Assets/Sprites/DialogueIcons/DialogueIconSign.png" id="2_jtluh"]
|
||||
[ext_resource type="FontFile" path="res://Assets/MedodicaRegular.otf" id="3_qqmmm"]
|
||||
|
||||
[node name="Dialogue" type="Node2D"]
|
||||
z_index = 10
|
||||
script = ExtResource("1_qqmmm")
|
||||
|
||||
[node name="BG" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, 50)
|
||||
texture = ExtResource("1_cdjwm")
|
||||
|
||||
[node name="Icon" type="Sprite2D" parent="."]
|
||||
position = Vector2(-72, 50)
|
||||
texture = ExtResource("2_jtluh")
|
||||
|
||||
[node name="SpeakerName" type="RichTextLabel" parent="."]
|
||||
self_modulate = Color(0, 0, 0, 1)
|
||||
offset_left = -42.0
|
||||
offset_top = 21.0
|
||||
offset_right = 100.0
|
||||
offset_bottom = 35.253662
|
||||
scale = Vector2(1.0795577, 1.0795577)
|
||||
theme_override_fonts/normal_font = ExtResource("3_qqmmm")
|
||||
text = "SpeakerName"
|
||||
scroll_active = false
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="Dialogue" type="RichTextLabel" parent="."]
|
||||
self_modulate = Color(0, 0, 0, 1)
|
||||
offset_left = -41.000004
|
||||
offset_top = 40.0
|
||||
offset_right = 99.901855
|
||||
offset_bottom = 75.974945
|
||||
scale = Vector2(1.0006965, 1.0006965)
|
||||
theme_override_fonts/normal_font = ExtResource("3_qqmmm")
|
||||
text = "If you are seeing this then the game is broken and you should report it. Thanks!"
|
||||
scroll_active = false
|
||||
scroll_following = true
|
||||
scroll_following_visible_characters = true
|
||||
57
Assets/Scenes/DialogueInteractable.tscn
Normal file
57
Assets/Scenes/DialogueInteractable.tscn
Normal file
@@ -0,0 +1,57 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://d0uyeoheppepk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cl8sq2b2lp4a5" path="res://Assets/Scripts/LevelScripts/LevelDialogueInitiator.cs" id="1_atu2j"]
|
||||
[ext_resource type="Texture2D" path="res://Assets/Sprites/InteractionIndicator-sheet.png" id="2_txs58"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tqsam"]
|
||||
atlas = ExtResource("2_txs58")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_32yid"]
|
||||
atlas = ExtResource("2_txs58")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hlnxx"]
|
||||
atlas = ExtResource("2_txs58")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_otjle"]
|
||||
atlas = ExtResource("2_txs58")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tegj5"]
|
||||
atlas = ExtResource("2_txs58")
|
||||
region = Rect2(64, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_yy124"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tqsam")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_32yid")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hlnxx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_otjle")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tegj5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 10.0
|
||||
}]
|
||||
|
||||
[node name="DialogueInteractable" type="Sprite2D"]
|
||||
script = ExtResource("1_atu2j")
|
||||
metadata/Dialogue = PackedStringArray("Sign|DialogueIconSign|This is a test.")
|
||||
|
||||
[node name="InteractionIndicator" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_yy124")
|
||||
autoplay = "default"
|
||||
frame = 3
|
||||
frame_progress = 0.5094823
|
||||
30
Assets/Scenes/MenusAndLevels/Credits.tscn
Normal file
30
Assets/Scenes/MenusAndLevels/Credits.tscn
Normal file
@@ -0,0 +1,30 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bvjmefswaveya"]
|
||||
|
||||
[ext_resource type="Script" path="res://Assets/Scripts/CommonScripts/UISelector.cs" id="2_66bl7"]
|
||||
[ext_resource type="Script" uid="uid://b28bv2l2asbpy" path="res://Assets/Scripts/CommonScripts/ChangeMenuInitiator.cs" id="4_gp05m"]
|
||||
|
||||
[node name="Htp" type="Node2D"]
|
||||
|
||||
[node name="UISelector" type="Node2D" parent="."]
|
||||
script = ExtResource("2_66bl7")
|
||||
|
||||
[node name="BackButton" type="Sprite2D" parent="UISelector"]
|
||||
z_index = 1
|
||||
position = Vector2(0, 65)
|
||||
script = ExtResource("4_gp05m")
|
||||
metadata/TargetMenu = "MainMenu"
|
||||
metadata/TransitionType = "FAST"
|
||||
|
||||
[node name="SelectionIndicator" type="Sprite2D" parent="UISelector"]
|
||||
z_index = 1
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||
offset_left = -154.0
|
||||
offset_top = -84.0
|
||||
offset_right = 154.0
|
||||
offset_bottom = 52.0
|
||||
text = "Created by ...
|
||||
"
|
||||
scroll_active = false
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
@@ -1,3 +0,0 @@
|
||||
[gd_scene format=3 uid="uid://bbngncnb2xeov"]
|
||||
|
||||
[node name="EnemyTestLevel" type="Node2D"]
|
||||
29
Assets/Scenes/MenusAndLevels/HTP.tscn
Normal file
29
Assets/Scenes/MenusAndLevels/HTP.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bl0eanc4ptrip"]
|
||||
|
||||
[ext_resource type="Script" path="res://Assets/Scripts/CommonScripts/UISelector.cs" id="2_htcbc"]
|
||||
[ext_resource type="Script" uid="uid://b28bv2l2asbpy" path="res://Assets/Scripts/CommonScripts/ChangeMenuInitiator.cs" id="4_htcbc"]
|
||||
|
||||
[node name="Htp" type="Node2D"]
|
||||
|
||||
[node name="UISelector" type="Node2D" parent="."]
|
||||
script = ExtResource("2_htcbc")
|
||||
|
||||
[node name="BackButton" type="Sprite2D" parent="UISelector"]
|
||||
z_index = 1
|
||||
position = Vector2(0, 65)
|
||||
script = ExtResource("4_htcbc")
|
||||
metadata/TargetMenu = "MainMenu"
|
||||
metadata/TransitionType = "FAST"
|
||||
|
||||
[node name="SelectionIndicator" type="Sprite2D" parent="UISelector"]
|
||||
z_index = 1
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||
offset_left = -154.0
|
||||
offset_top = -84.0
|
||||
offset_right = 154.0
|
||||
offset_bottom = 52.0
|
||||
text = "No quema cuh"
|
||||
scroll_active = false
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
482
Assets/Scenes/MenusAndLevels/Level1.tscn
Normal file
482
Assets/Scenes/MenusAndLevels/Level1.tscn
Normal file
File diff suppressed because one or more lines are too long
83
Assets/Scenes/MenusAndLevels/LevelSelectionMenu.tscn
Normal file
83
Assets/Scenes/MenusAndLevels/LevelSelectionMenu.tscn
Normal file
@@ -0,0 +1,83 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dk1egdpjl31r"]
|
||||
|
||||
[ext_resource type="Script" path="res://Assets/Scripts/CommonScripts/LevelSelectionManager.cs" id="1_4n03f"]
|
||||
[ext_resource type="PackedScene" uid="uid://bffiqliomwkmo" path="res://Assets/Scenes/Persistant/Camera.tscn" id="1_j4u47"]
|
||||
[ext_resource type="Script" path="res://Assets/Scripts/CommonScripts/UISelector.cs" id="2_xaene"]
|
||||
[ext_resource type="Script" uid="uid://b28bv2l2asbpy" path="res://Assets/Scripts/CommonScripts/ChangeMenuInitiator.cs" id="4_xaene"]
|
||||
|
||||
[node name="LevelSelectionMenu" type="Node2D"]
|
||||
script = ExtResource("1_4n03f")
|
||||
|
||||
[node name="Camera" parent="." instance=ExtResource("1_j4u47")]
|
||||
|
||||
[node name="UISelector" type="Node2D" parent="."]
|
||||
script = ExtResource("2_xaene")
|
||||
|
||||
[node name="Level1" type="Sprite2D" parent="UISelector"]
|
||||
position = Vector2(-79, -40)
|
||||
script = ExtResource("4_xaene")
|
||||
metadata/TargetMenu = "Level1"
|
||||
metadata/TransitionType = "SLOW"
|
||||
|
||||
[node name="Level2" type="Sprite2D" parent="UISelector"]
|
||||
visible = false
|
||||
position = Vector2(0, -40)
|
||||
script = ExtResource("4_xaene")
|
||||
metadata/TargetMenu = "Level2"
|
||||
metadata/TransitionType = "SLOW"
|
||||
|
||||
[node name="Level3" type="Sprite2D" parent="UISelector"]
|
||||
visible = false
|
||||
position = Vector2(80, -40)
|
||||
script = ExtResource("4_xaene")
|
||||
metadata/TargetMenu = "Level3"
|
||||
metadata/TransitionType = "SLOW"
|
||||
|
||||
[node name="Level4" type="Sprite2D" parent="UISelector"]
|
||||
visible = false
|
||||
position = Vector2(-40, 40)
|
||||
script = ExtResource("4_xaene")
|
||||
metadata/TargetMenu = "Level4"
|
||||
metadata/TransitionType = "SLOW"
|
||||
|
||||
[node name="Level5" type="Sprite2D" parent="UISelector"]
|
||||
visible = false
|
||||
position = Vector2(40, 40)
|
||||
script = ExtResource("4_xaene")
|
||||
metadata/TargetMenu = "Level5"
|
||||
metadata/TransitionType = "SLOW"
|
||||
|
||||
[node name="BackButton" type="Sprite2D" parent="UISelector"]
|
||||
position = Vector2(127, 65)
|
||||
script = ExtResource("4_xaene")
|
||||
metadata/TargetMenu = "MainMenu"
|
||||
metadata/TransitionType = "FAST"
|
||||
|
||||
[node name="SelectionIndicator" type="Sprite2D" parent="UISelector"]
|
||||
z_index = 1
|
||||
|
||||
[node name="FakeButtons" type="Node2D" parent="."]
|
||||
|
||||
[node name="Level2" type="Sprite2D" parent="FakeButtons"]
|
||||
position = Vector2(0, -40)
|
||||
|
||||
[node name="LockIcon" type="Sprite2D" parent="FakeButtons/Level2"]
|
||||
self_modulate = Color(1, 1, 1, 0.47058824)
|
||||
|
||||
[node name="Level3" type="Sprite2D" parent="FakeButtons"]
|
||||
position = Vector2(80, -40)
|
||||
|
||||
[node name="LockIcon" type="Sprite2D" parent="FakeButtons/Level3"]
|
||||
self_modulate = Color(1, 1, 1, 0.47058824)
|
||||
|
||||
[node name="Level4" type="Sprite2D" parent="FakeButtons"]
|
||||
position = Vector2(-40, 40)
|
||||
|
||||
[node name="LockIcon" type="Sprite2D" parent="FakeButtons/Level4"]
|
||||
self_modulate = Color(1, 1, 1, 0.47058824)
|
||||
|
||||
[node name="Level5" type="Sprite2D" parent="FakeButtons"]
|
||||
position = Vector2(40, 40)
|
||||
|
||||
[node name="LockIcon" type="Sprite2D" parent="FakeButtons/Level5"]
|
||||
self_modulate = Color(1, 1, 1, 0.47058824)
|
||||
@@ -1,31 +1,20 @@
|
||||
[gd_scene format=3 uid="uid://c8bxl0uohy535"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://c8bxl0uohy535"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://hqp23lmk336m" path="res://icon.svg" id="1_rmvno"]
|
||||
[ext_resource type="Script" uid="uid://c8ibbithifum2" path="res://Assets/Scripts/CommonScripts/SceneChangeButton.cs" id="2_u3d4d"]
|
||||
|
||||
[node name="MainMenu" type="Node2D"]
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||
offset_left = -65.0
|
||||
offset_top = -21.0
|
||||
offset_right = 64.0
|
||||
offset_bottom = 19.0
|
||||
text = "Main Menu"
|
||||
scroll_active = false
|
||||
autowrap_trim_flags = 0
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
[node name="Delete" type="Sprite2D" parent="."]
|
||||
rotation = 0.7296006
|
||||
texture = ExtResource("1_rmvno")
|
||||
|
||||
[node name="ExampleButton1" type="Button" parent="."]
|
||||
offset_top = 47.0
|
||||
offset_right = 8.0
|
||||
offset_bottom = 55.0
|
||||
[node name="Button" type="Button" parent="."]
|
||||
offset_left = -126.0
|
||||
offset_top = 113.0
|
||||
offset_right = -25.0
|
||||
offset_bottom = 144.0
|
||||
scale = Vector2(2.5243824, 2.5243824)
|
||||
script = ExtResource("2_u3d4d")
|
||||
|
||||
[node name="ExampleButton2" type="Button" parent="."]
|
||||
offset_left = 77.0
|
||||
offset_top = 47.0
|
||||
offset_right = 85.0
|
||||
offset_bottom = 55.0
|
||||
|
||||
[node name="ExampleButton3" type="Button" parent="."]
|
||||
offset_left = -65.0
|
||||
offset_top = 47.0
|
||||
offset_right = -57.0
|
||||
offset_bottom = 55.0
|
||||
[connection signal="pressed" from="Button" to="Button" method="_on_pressed"]
|
||||
|
||||
251
Assets/Scenes/MenusAndLevels/MenuChangeManager.tscn
Normal file
251
Assets/Scenes/MenusAndLevels/MenuChangeManager.tscn
Normal file
@@ -0,0 +1,251 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://r24ppggva18y"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dedv5j5tvb2gk" path="res://Assets/Scripts/CommonScripts/MenuChangeManager.cs" id="1_uevlq"]
|
||||
[ext_resource type="Texture2D" path="res://Assets/Sprites/Blueberry-sheet.png" id="2_3tdrs"]
|
||||
[ext_resource type="Script" uid="uid://cugofqkikepb2" path="res://Assets/Scripts/CommonScripts/TipManager.cs" id="3_ei4c6"]
|
||||
[ext_resource type="FontFile" path="res://Assets/MedodicaRegular.otf" id="3_jtn6d"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_uktqf"]
|
||||
resource_name = "LoadingAnimation"
|
||||
length = 3.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("BlackBG:color")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1.0066667),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("BlackBG/LoadingIcon:self_modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.41, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("BlackBG/TipManager:self_modulate")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0.42, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_3tdrs"]
|
||||
resource_name = "LoadOut"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("BlackBG:color")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("BlackBG/LoadingIcon:self_modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.67),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("BlackBG/TipManager:self_modulate")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.66),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_btj4p"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("../BlackBG:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(-320, -180)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("BlackBG:color")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 0)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("BlackBG/LoadingIcon:self_modulate")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1)]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("BlackBG/TipManager:self_modulate")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_rvq0g"]
|
||||
_data = {
|
||||
&"LoadIn": SubResource("Animation_uktqf"),
|
||||
&"LoadOut": SubResource("Animation_3tdrs"),
|
||||
&"RESET": SubResource("Animation_btj4p")
|
||||
}
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ei4c6"]
|
||||
atlas = ExtResource("2_3tdrs")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jtn6d"]
|
||||
atlas = ExtResource("2_3tdrs")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_uktqf"]
|
||||
atlas = ExtResource("2_3tdrs")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_btj4p"]
|
||||
atlas = ExtResource("2_3tdrs")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_rvq0g"]
|
||||
atlas = ExtResource("2_3tdrs")
|
||||
region = Rect2(64, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wg4yt"]
|
||||
atlas = ExtResource("2_3tdrs")
|
||||
region = Rect2(80, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_meiur"]
|
||||
atlas = ExtResource("2_3tdrs")
|
||||
region = Rect2(96, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0xegj"]
|
||||
atlas = ExtResource("2_3tdrs")
|
||||
region = Rect2(112, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_n7wom"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ei4c6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jtn6d")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_uktqf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_btj4p")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_rvq0g")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wg4yt")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_meiur")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0xegj")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 8.0
|
||||
}]
|
||||
|
||||
[node name="MenuChangeManager" type="Node2D"]
|
||||
z_index = 1000
|
||||
|
||||
[node name="MenuChangeManager" type="Node" parent="."]
|
||||
script = ExtResource("1_uevlq")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_rvq0g")
|
||||
}
|
||||
autoplay = "LoadIn"
|
||||
|
||||
[node name="BlackBG" type="ColorRect" parent="."]
|
||||
self_modulate = Color(0, 0, 0, 1)
|
||||
z_index = 1000
|
||||
z_as_relative = false
|
||||
offset_left = -320.0
|
||||
offset_top = -180.0
|
||||
offset_right = 320.0
|
||||
offset_bottom = 180.0
|
||||
color = Color(0, 0, 0, 0)
|
||||
|
||||
[node name="LoadingIcon" type="AnimatedSprite2D" parent="BlackBG"]
|
||||
position = Vector2(465, 256)
|
||||
sprite_frames = SubResource("SpriteFrames_n7wom")
|
||||
autoplay = "default"
|
||||
frame = 3
|
||||
frame_progress = 0.5269981
|
||||
|
||||
[node name="TipManager" type="RichTextLabel" parent="BlackBG"]
|
||||
layout_mode = 0
|
||||
offset_left = 170.00002
|
||||
offset_top = 101.0
|
||||
offset_right = 475.95636
|
||||
offset_bottom = 244.97948
|
||||
scale = Vector2(1.0001426, 1.0001426)
|
||||
theme_override_fonts/normal_font = ExtResource("3_jtn6d")
|
||||
text = "Tip: Example"
|
||||
scroll_active = false
|
||||
autowrap_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("3_ei4c6")
|
||||
14
Assets/Scenes/Persistant/CommonData.tscn
Normal file
14
Assets/Scenes/Persistant/CommonData.tscn
Normal file
@@ -0,0 +1,14 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bn5opy6atakg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://nc2lwwjistrq" path="res://Assets/Scripts/CommonScripts/CommonData.cs" id="1_2g1ed"]
|
||||
[ext_resource type="AudioStream" uid="uid://dq1cnjtb2whma" path="res://Assets/Audio/Music/Level1.mp3" id="2_rv15i"]
|
||||
[ext_resource type="Script" uid="uid://b28bv2l2asbpy" path="res://Assets/Scripts/CommonScripts/ChangeMenuInitiator.cs" id="3_m0c8c"]
|
||||
|
||||
[node name="CommonData" type="Node"]
|
||||
script = ExtResource("1_2g1ed")
|
||||
|
||||
[node name="ChangeMenuInitiator" type="Node" parent="."]
|
||||
script = ExtResource("3_m0c8c")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("2_rv15i")
|
||||
6
Assets/Scenes/Persistant/LevelManager.tscn
Normal file
6
Assets/Scenes/Persistant/LevelManager.tscn
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://j3d4u4gjxncu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://i8yvg41jip3n" path="res://Assets/Scripts/LevelScripts/LevelManager.cs" id="1_ndy45"]
|
||||
|
||||
[node name="LevelManager" type="Node"]
|
||||
script = ExtResource("1_ndy45")
|
||||
66
Assets/Scenes/Player.tscn
Normal file
66
Assets/Scenes/Player.tscn
Normal file
@@ -0,0 +1,66 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dr8qdk10uy0o4"]
|
||||
|
||||
[ext_resource type="Texture2D" path="res://Assets/Sprites/PlayerWalk.png" id="1_3e2tf"]
|
||||
[ext_resource type="Script" uid="uid://batcpr6rxhyb2" path="res://Assets/Scripts/PlayerScripts/PlayerMover.cs" id="1_b2ifw"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b2ifw"]
|
||||
size = Vector2(12, 28)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b2ifw"]
|
||||
atlas = ExtResource("1_3e2tf")
|
||||
region = Rect2(0, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_aee6e"]
|
||||
atlas = ExtResource("1_3e2tf")
|
||||
region = Rect2(16, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_e5q2x"]
|
||||
atlas = ExtResource("1_3e2tf")
|
||||
region = Rect2(32, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mifcl"]
|
||||
atlas = ExtResource("1_3e2tf")
|
||||
region = Rect2(48, 0, 16, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_2thea"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_b2ifw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_aee6e")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_e5q2x")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_mifcl")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 8.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0ccr5"]
|
||||
size = Vector2(12, 28)
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
collision_layer = 2
|
||||
script = ExtResource("1_b2ifw")
|
||||
|
||||
[node name="AreaDetector" type="Area2D" parent="."]
|
||||
collision_mask = 60
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="AreaDetector"]
|
||||
position = Vector2(-1, -14)
|
||||
shape = SubResource("RectangleShape2D_b2ifw")
|
||||
|
||||
[node name="WalkingAnimation" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(0, -16)
|
||||
sprite_frames = SubResource("SpriteFrames_2thea")
|
||||
frame_progress = 0.24983363
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-1, -14)
|
||||
shape = SubResource("RectangleShape2D_0ccr5")
|
||||
10
Assets/Scenes/SlowField.tscn
Normal file
10
Assets/Scenes/SlowField.tscn
Normal file
@@ -0,0 +1,10 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://btgikedw0lg47"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xtorf"]
|
||||
|
||||
[node name="SlowZone" type="Area2D"]
|
||||
collision_layer = 32
|
||||
linear_damp = 100.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_xtorf")
|
||||
Reference in New Issue
Block a user