From c0ea0f7921c2f3d02b217f266a987797802e22ea Mon Sep 17 00:00:00 2001 From: Logan Date: Wed, 22 Jul 2020 18:15:21 -0500 Subject: [PATCH] idk stuff or something --- Music and Fonts(Misc.)/m5x7.ttf | Bin 0 -> 34300 bytes levels/Tilte.tscn | 12 +- levels/World.tscn | 459 +------------------------------- levels/test.tscn | 2 +- magic/Beams/EcoBeam.png.import | 2 +- meta/DungeonTilemap.tscn | 1 - npc/Wizard.gd | 41 +++ npc/Wizard.tscn | 87 ++++++ objects/Door.gd | 13 + objects/Door.tscn | 4 +- project.godot | 2 +- 11 files changed, 163 insertions(+), 460 deletions(-) create mode 100644 Music and Fonts(Misc.)/m5x7.ttf create mode 100644 npc/Wizard.gd create mode 100644 npc/Wizard.tscn create mode 100644 objects/Door.gd diff --git a/Music and Fonts(Misc.)/m5x7.ttf b/Music and Fonts(Misc.)/m5x7.ttf new file mode 100644 index 0000000000000000000000000000000000000000..2ed774d4dd99ba547641d9f8e3a12baf324324e1 GIT binary patch literal 34300 zcmd^o3zS{edES4{y>~{V86gc~5JDQE(MTF02{F=W5HHym%-cL19x}EGW{?I+AdO@p zVN7CYH^G!r$8l|!I)OOgTtc!=9k-?}b;&Yqy|P%Xm*cu=LEX5H;KiS#`ylHarUf#Yjs zUH+)Zz$D&p?w`5;=*g1;3?Ka_t{3e;^r3s+|J!H(3z5NRM2^XU*_nO)UwZTwy!R8l zE;xXO)}zfo0{r#3UVq^5@dv;2!q1+>bs^GPbm++5nQyKC&DDUv6ZjrEJoDhu?BntQ zynhYuUpqH*c=p5l9@;JPVZhH096fUX@$0@+JRtH*fYcAbCL6>G?L)+o(Ar#*63hD$szs@Qhb@U+WHSc!jq34BL9V0xW%|{pOyn!&E`_ zz?0rvzc26+c;LNhowA6}C-v~0%BrB;llz>nhx@}B?H%_C3fiOG+Wwkt$xH9yHQuHc z$NSmFYn~-Jqn`3nk+r{%w1iiRt6uM**?Bx2=aWVK*~)dX!22EW43FY(cjAnFAb5|j z9?!@2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ilte.tscn index 3468b81..6bb9fa6 100644 --- a/levels/Tilte.tscn +++ b/levels/Tilte.tscn @@ -1,11 +1,11 @@ [gd_scene load_steps=7 format=2] -[ext_resource path="res://levels/Tilte.gd" type="Script" id=1] -[ext_resource path="res://levels/Wizard Background.png" type="Texture" id=2] -[ext_resource path="res://levels/Play 1.png" type="Texture" id=3] -[ext_resource path="res://levels/Play 2.png" type="Texture" id=4] -[ext_resource path="res://levels/Quit 1.png" type="Texture" id=5] -[ext_resource path="res://levels/Quit 2.png" type="Texture" id=6] +[ext_resource path="res://Title/Tilte.gd" type="Script" id=1] +[ext_resource path="res://Title/Wizard Background.png" type="Texture" id=2] +[ext_resource path="res://Title/Play 1.png" type="Texture" id=3] +[ext_resource path="res://Title/Play 2.png" type="Texture" id=4] +[ext_resource path="res://Title/Quit 1.png" type="Texture" id=5] +[ext_resource path="res://Title/Quit 2.png" type="Texture" id=6] [node name="Title" type="Node"] script = ExtResource( 1 ) diff --git a/levels/World.tscn b/levels/World.tscn index 0822327..31c6fb9 100644 --- a/levels/World.tscn +++ b/levels/World.tscn @@ -1,467 +1,28 @@ -[gd_scene load_steps=23 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://meta/DungeonTilemap.tscn" type="PackedScene" id=1] [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://Music and Fonts(Misc.)/Tifax-AJ7g.ttf" type="DynamicFontData" id=3] +[ext_resource path="res://objects/Door.tscn" type="PackedScene" id=3] [ext_resource path="res://Music and Fonts(Misc.)/Hawaii Partii - Stranded Lullaby(8-Bit).wav" type="AudioStream" id=4] -[ext_resource path="res://script/typewriter.gd" type="Script" id=5] -[ext_resource path="res://Music and Fonts(Misc.)/Keb3q1.png" type="Texture" id=6] -[ext_resource path="res://art/Pedestal.png" type="Texture" id=7] -[ext_resource path="res://Items/Wand Pickups/ChargeWandPickup.tscn" type="PackedScene" id=8] -[ext_resource path="res://art/ecoprojectile.png" type="Texture" id=9] -[ext_resource path="res://art/Mana.png" type="Texture" id=12] -[ext_resource path="res://objects/Door.tscn" type="PackedScene" id=13] - -[sub_resource type="RectangleShape2D" id=1] -extents = Vector2( 169.977, 24.8286 ) - -[sub_resource type="DynamicFont" id=2] -font_data = ExtResource( 3 ) - -[sub_resource type="Animation" id=3] -length = 2.0 -tracks/0/type = "value" -tracks/0/path = NodePath("sample_text:percent_visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0.2, 2 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ 0.0, 1.0 ] -} - -[sub_resource type="Animation" id=4] -length = 2.0 -tracks/0/type = "value" -tracks/0/path = NodePath("sample_text:percent_visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0.2, 2 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ 0.0, 1.0 ] -} - -[sub_resource type="Animation" id=5] -length = 2.0 - -[sub_resource type="Animation" id=6] -length = 2.0 -tracks/0/type = "value" -tracks/0/path = NodePath("sample_text:percent_visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0.2, 2 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ 0.0, 1.0 ] -} - -[sub_resource type="Animation" id=7] -length = 2.0 -tracks/0/type = "value" -tracks/0/path = NodePath("sample_text:percent_visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0.2, 2 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ 0.0, 1.0 ] -} - -[sub_resource type="Animation" id=8] -length = 2.0 - -[sub_resource type="Animation" id=9] -tracks/0/type = "value" -tracks/0/path = NodePath("sample_text:percent_visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0, 1 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ 0.0, 0.0 ] -} - -[sub_resource type="Animation" id=10] -length = 2.0 -tracks/0/type = "value" -tracks/0/path = NodePath("sample_text:percent_visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0.2, 2 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ 0.0, 1.0 ] -} - -[sub_resource type="Animation" id=11] -length = 2.0 -tracks/0/type = "value" -tracks/0/path = NodePath("sample_text:percent_visible") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/keys = { -"times": PoolRealArray( 0.2, 2 ), -"transitions": PoolRealArray( 1, 1 ), -"update": 0, -"values": [ 0.0, 1.0 ] -} +[ext_resource path="res://npc/Wizard.tscn" type="PackedScene" id=10] [node name="World" type="Node2D"] -position = Vector2( 6.67419, 7.34163 ) - -[node name="Door2" parent="." instance=ExtResource( 13 )] -modulate = Color( 0, 0, 0, 1 ) -position = Vector2( 1932.15, 115.955 ) -scale = Vector2( 1, 1.19488 ) -frame = 0 - -[node name="Door" parent="." instance=ExtResource( 13 )] -position = Vector2( 1932.15, 115.955 ) -scale = Vector2( 1, 1.19488 ) [node name="TileMap" parent="." instance=ExtResource( 1 )] -position = Vector2( -5.81107, -6.20908 ) -tile_data = PoolIntArray( 65524, 0, 8, 65525, 0, 10, 65526, 0, 10, 65527, 0, 10, 65528, 0, 10, 65529, 0, 10, 65530, 0, 10, 65531, 0, 10, 65532, 0, 10, 65533, 0, 10, 65534, 0, 10, 65535, 0, 10, 0, 0, 10, 1, 0, 10, 2, 0, 10, 3, 0, 10, 4, 0, 10, 5, 0, 10, 6, 0, 10, 7, 0, 10, 8, 0, 10, 9, 0, 10, 10, 0, 10, 11, 0, 10, 12, 0, 10, 13, 0, 10, 14, 0, 10, 15, 0, 10, 16, 0, 10, 17, 0, 10, 18, 0, 10, 19, 0, 10, 20, 0, 10, 21, 0, 10, 22, 0, 10, 23, 0, 10, 24, 0, 10, 25, 0, 10, 26, 0, 10, 27, 0, 10, 28, 0, 10, 29, 0, 10, 30, 0, 10, 31, 0, 10, 32, 0, 10, 33, 0, 10, 34, 0, 10, 35, 0, 10, 36, 0, 10, 37, 0, 10, 38, 0, 10, 39, 0, 10, 40, 0, 10, 41, 0, 10, 42, 0, 10, 43, 0, 10, 44, 0, 10, 45, 0, 10, 46, 0, 10, 47, 0, 10, 48, 0, 10, 49, 0, 10, 50, 0, 10, 51, 0, 10, 52, 0, 10, 53, 0, 10, 54, 0, 10, 55, 0, 10, 56, 0, 10, 57, 0, 10, 58, 0, 10, 59, 0, 10, 60, 0, 10, 61, 0, 10, 62, 0, 10, 63, 0, 10, 64, 0, 10, 65, 0, 10, 66, 0, 10, 67, 0, 10, 68, 0, 10, 69, 0, 10, 70, 0, 10, 71, 0, 10, 72, 0, 10, 73, 0, 10, 74, 0, 10, 75, 0, 10, 76, 0, 10, 77, 0, 10, 78, 0, 10, 79, 0, 10, 80, 0, 10, 81, 0, 10, 82, 0, 10, 83, 0, 10, 84, 0, 10, 85, 0, 10, 86, 0, 10, 87, 0, 10, 88, 0, 10, 89, 0, 10, 90, 0, 10, 91, 0, 10, 92, 0, 10, 93, 0, 10, 94, 0, 10, 95, 0, 10, 96, 0, 10, 97, 0, 10, 98, 0, 10, 99, 0, 10, 100, 0, 10, 101, 0, 10, 102, 0, 10, 103, 0, 10, 104, 0, 10, 105, 0, 10, 106, 0, 10, 107, 0, 10, 108, 0, 10, 109, 0, 10, 110, 0, 10, 111, 0, 10, 112, 0, 10, 113, 0, 10, 114, 0, 10, 115, 0, 10, 116, 0, 10, 117, 0, 10, 118, 0, 10, 119, 0, 10, 120, 0, 10, 121, 0, 10, 122, 0, 10, 123, 0, 10, 124, 0, 10, 125, 0, 10, 126, 0, 10, 127, 0, 10, 128, 0, 10, 129, 0, 10, 130, 0, 10, 131, 0, 10, 132, 0, 11, 131060, 0, 65544, 131061, 0, 131081, 131062, 0, 131081, 131063, 0, 131081, 131064, 0, 131081, 131065, 0, 131081, 131066, 0, 131081, 131067, 0, 131081, 131068, 0, 131081, 131069, 0, 131081, 131070, 0, 131081, 131071, 0, 131081, 65536, 0, 131081, 65537, 0, 131078, 65538, 0, 196617, 65539, 0, 196617, 65540, 0, 196617, 65541, 0, 196617, 65542, 0, 196617, 65543, 0, 196617, 65544, 0, 196617, 65545, 0, 196617, 65546, 0, 196617, 65547, 0, 196617, 65548, 0, 196617, 65549, 0, 196617, 65550, 0, 196617, 65551, 0, 196617, 65552, 0, 196617, 65553, 0, 196617, 65554, 0, 196617, 65555, 0, 131077, 65556, 0, 131081, 65557, 0, 131081, 65558, 0, 131081, 65559, 0, 131081, 65560, 0, 131081, 65561, 0, 131081, 65562, 0, 131081, 65563, 0, 131081, 65564, 0, 131081, 65565, 0, 131081, 65566, 0, 131081, 65567, 0, 131081, 65568, 0, 131081, 65569, 0, 131081, 65570, 0, 131081, 65571, 0, 131081, 65572, 0, 131081, 65573, 0, 131081, 65574, 0, 131081, 65575, 0, 131081, 65576, 0, 131081, 65577, 0, 131081, 65578, 0, 131081, 65579, 0, 131081, 65580, 0, 131081, 65581, 0, 131078, 65582, 0, 196617, 65583, 0, 196617, 65584, 0, 196617, 65585, 0, 196617, 65586, 0, 196617, 65587, 0, 196617, 65588, 0, 196617, 65589, 0, 196617, 65590, 0, 196617, 65591, 0, 196617, 65592, 0, 196617, 65593, 0, 196617, 65594, 0, 196617, 65595, 0, 196617, 65596, 0, 196617, 65597, 0, 196617, 65598, 0, 196617, 65599, 0, 196617, 65600, 0, 196617, 65601, 0, 196617, 65602, 0, 196617, 65603, 0, 196617, 65604, 0, 131077, 65605, 0, 131081, 65606, 0, 131081, 65607, 0, 131081, 65608, 0, 131081, 65609, 0, 131081, 65610, 0, 131081, 65611, 0, 131081, 65612, 0, 131081, 65613, 0, 131081, 65614, 0, 131081, 65615, 0, 131078, 65616, 0, 196617, 65617, 0, 196617, 65618, 0, 196617, 65619, 0, 196617, 65620, 0, 196617, 65621, 0, 196617, 65622, 0, 196617, 65623, 0, 196617, 65624, 0, 196617, 65625, 0, 196617, 65626, 0, 196617, 65627, 0, 196617, 65628, 0, 196617, 65629, 0, 196617, 65630, 0, 196617, 65631, 0, 196617, 65632, 0, 196617, 65633, 0, 196617, 65634, 0, 196617, 65635, 0, 196617, 65636, 0, 196617, 65637, 0, 196617, 65638, 0, 196617, 65639, 0, 196617, 65640, 0, 196617, 65641, 0, 196617, 65642, 0, 196617, 65643, 0, 196617, 65644, 0, 196617, 65645, 0, 196617, 65646, 0, 196617, 65647, 0, 196617, 65648, 0, 131077, 65649, 0, 131081, 65650, 0, 131081, 65651, 0, 131081, 65652, 0, 131081, 65653, 0, 131081, 65654, 0, 131081, 65655, 0, 131081, 65656, 0, 131081, 65657, 0, 131081, 65658, 0, 131081, 65659, 0, 131081, 65660, 0, 131081, 65661, 0, 131081, 65662, 0, 131081, 65663, 0, 131081, 65664, 0, 131081, 65665, 0, 131081, 65666, 0, 131081, 65667, 0, 131081, 65668, 0, 131083, 196596, 0, 65544, 196597, 0, 131081, 196598, 0, 131081, 196599, 0, 131081, 196600, 0, 131081, 196601, 0, 131081, 196602, 0, 131081, 196603, 0, 131081, 196604, 0, 131081, 196605, 0, 131081, 196606, 0, 131081, 196607, 0, 131081, 131072, 0, 131081, 131073, 0, 131083, 131091, 0, 65544, 131092, 0, 131081, 131093, 0, 131081, 131094, 0, 131081, 131095, 0, 131081, 131096, 0, 131081, 131097, 0, 131081, 131098, 0, 131081, 131099, 0, 131081, 131100, 0, 131081, 131101, 0, 131081, 131102, 0, 131081, 131103, 0, 131081, 131104, 0, 131081, 131105, 0, 131081, 131106, 0, 131081, 131107, 0, 131081, 131108, 0, 131081, 131109, 0, 131081, 131110, 0, 131081, 131111, 0, 131081, 131112, 0, 131081, 131113, 0, 131081, 131114, 0, 131081, 131115, 0, 131081, 131116, 0, 131081, 131117, 0, 131083, 131140, 0, 196616, 131141, 0, 131077, 131142, 0, 131081, 131143, 0, 131081, 131144, 0, 131081, 131145, 0, 131081, 131146, 0, 131081, 131147, 0, 131081, 131148, 0, 131081, 131149, 0, 131081, 131150, 0, 131078, 131151, 0, 196619, 131184, 0, 65544, 131185, 0, 131081, 131186, 0, 131081, 131187, 0, 131081, 131188, 0, 131081, 131189, 0, 131081, 131190, 0, 131081, 131191, 0, 131081, 131192, 0, 131081, 131193, 0, 131081, 131194, 0, 131081, 131195, 0, 131081, 131196, 0, 131081, 131197, 0, 131081, 131198, 0, 131081, 131199, 0, 131081, 131200, 0, 131081, 131201, 0, 131081, 131202, 0, 131081, 131203, 0, 131081, 131204, 0, 131083, 262132, 0, 65544, 262133, 0, 131081, 262134, 0, 131081, 262135, 0, 131081, 262136, 0, 131081, 262137, 0, 131081, 262138, 0, 131081, 262139, 0, 131081, 262140, 0, 131081, 262141, 0, 131081, 262142, 0, 131081, 262143, 0, 131081, 196608, 0, 131081, 196609, 0, 131083, 196627, 0, 65544, 196628, 0, 131081, 196629, 0, 131081, 196630, 0, 131081, 196631, 0, 131081, 196632, 0, 131081, 196633, 0, 131081, 196634, 0, 131081, 196635, 0, 131081, 196636, 0, 131081, 196637, 0, 131081, 196638, 0, 131081, 196639, 0, 131081, 196640, 0, 131081, 196641, 0, 131081, 196642, 0, 131081, 196643, 0, 131081, 196644, 0, 131081, 196645, 0, 131081, 196646, 0, 131081, 196647, 0, 131081, 196648, 0, 131081, 196649, 0, 131081, 196650, 0, 131081, 196651, 0, 131081, 196652, 0, 131081, 196653, 0, 131083, 196677, 0, 196616, 196678, 0, 131077, 196679, 0, 131081, 196680, 0, 131081, 196681, 0, 131081, 196682, 0, 131081, 196683, 0, 131081, 196684, 0, 131081, 196685, 0, 131078, 196686, 0, 196619, 196720, 0, 65544, 196721, 0, 131081, 196722, 0, 131081, 196723, 0, 131081, 196724, 0, 131081, 196725, 0, 131081, 196726, 0, 131081, 196727, 0, 131081, 196728, 0, 131081, 196729, 0, 131081, 196730, 0, 131081, 196731, 0, 131081, 196732, 0, 131081, 196733, 0, 131081, 196734, 0, 131081, 196735, 0, 131081, 196736, 0, 131081, 196737, 0, 131081, 196738, 0, 131081, 196739, 0, 131081, 196740, 0, 131083, 327668, 0, 65544, 327669, 0, 131081, 327670, 0, 131081, 327671, 0, 131081, 327672, 0, 131081, 327673, 0, 131081, 327674, 0, 131081, 327675, 0, 131081, 327676, 0, 131081, 327677, 0, 131081, 327678, 0, 131081, 327679, 0, 131081, 262144, 0, 131081, 262145, 0, 131083, 262163, 0, 65544, 262164, 0, 131081, 262165, 0, 131081, 262166, 0, 131081, 262167, 0, 131081, 262168, 0, 131081, 262169, 0, 131081, 262170, 0, 131081, 262171, 0, 131081, 262172, 0, 131081, 262173, 0, 131081, 262174, 0, 131081, 262175, 0, 131081, 262176, 0, 131081, 262177, 0, 131081, 262178, 0, 131081, 262179, 0, 131081, 262180, 0, 131081, 262181, 0, 131081, 262182, 0, 131081, 262183, 0, 131081, 262184, 0, 131081, 262185, 0, 131081, 262186, 0, 131081, 262187, 0, 131081, 262188, 0, 131081, 262189, 0, 131083, 262214, 0, 196616, 262215, 0, 131077, 262216, 0, 131081, 262217, 0, 131081, 262218, 0, 131081, 262219, 0, 131081, 262220, 0, 131078, 262221, 0, 196619, 262256, 0, 65544, 262257, 0, 131081, 262258, 0, 131081, 262259, 0, 131081, 262260, 0, 131081, 262261, 0, 131081, 262262, 0, 131081, 262263, 0, 131081, 262264, 0, 131081, 262265, 0, 131081, 262266, 0, 131081, 262267, 0, 131081, 262268, 0, 131081, 262269, 0, 131081, 262270, 0, 131081, 262271, 0, 131081, 262272, 0, 131081, 262273, 0, 131081, 262274, 0, 131081, 262275, 0, 131081, 262276, 0, 131083, 393204, 0, 65544, 393205, 0, 131081, 393206, 0, 131081, 393207, 0, 131081, 393208, 0, 131081, 393209, 0, 131081, 393210, 0, 131081, 393211, 0, 131081, 393212, 0, 131081, 393213, 0, 131081, 393214, 0, 131081, 393215, 0, 131081, 327680, 0, 131081, 327681, 0, 131083, 327699, 0, 65544, 327700, 0, 131081, 327701, 0, 131081, 327702, 0, 131081, 327703, 0, 131081, 327704, 0, 131081, 327705, 0, 131081, 327706, 0, 131081, 327707, 0, 131081, 327708, 0, 131081, 327709, 0, 131081, 327710, 0, 131081, 327711, 0, 131081, 327712, 0, 131081, 327713, 0, 131081, 327714, 0, 131081, 327715, 0, 131081, 327716, 0, 131081, 327717, 0, 131081, 327718, 0, 131081, 327719, 0, 131081, 327720, 0, 131081, 327721, 0, 131081, 327722, 0, 131081, 327723, 0, 131081, 327724, 0, 131081, 327725, 0, 131083, 327751, 0, 196616, 327752, 0, 131077, 327753, 0, 131081, 327754, 0, 131081, 327755, 0, 131078, 327756, 0, 196619, 327792, 0, 196616, 327793, 0, 131077, 327794, 0, 131081, 327795, 0, 131081, 327796, 0, 131081, 327797, 0, 131081, 327798, 0, 131081, 327799, 0, 131081, 327800, 0, 131081, 327801, 0, 131081, 327802, 0, 131081, 327803, 0, 131081, 327804, 0, 131081, 327805, 0, 131081, 327806, 0, 131081, 327807, 0, 131081, 327808, 0, 131081, 327809, 0, 131081, 327810, 0, 131081, 327811, 0, 131081, 327812, 0, 131083, 458740, 0, 65544, 458741, 0, 131081, 458742, 0, 131081, 458743, 0, 131081, 458744, 0, 131081, 458745, 0, 131081, 458746, 0, 131081, 458747, 0, 131081, 458748, 0, 131081, 458749, 0, 131081, 458750, 0, 131081, 458751, 0, 131081, 393216, 0, 131081, 393217, 0, 131083, 393235, 0, 196616, 393236, 0, 196617, 393237, 0, 196617, 393238, 0, 196617, 393239, 0, 196617, 393240, 0, 196617, 393241, 0, 196617, 393242, 0, 196617, 393243, 0, 196617, 393244, 0, 196617, 393245, 0, 196617, 393246, 0, 196617, 393247, 0, 196617, 393248, 0, 196617, 393249, 0, 196617, 393250, 0, 196617, 393251, 0, 196617, 393252, 0, 196617, 393253, 0, 196617, 393254, 0, 196617, 393255, 0, 196617, 393256, 0, 196617, 393257, 0, 196617, 393258, 0, 196617, 393259, 0, 196617, 393260, 0, 196617, 393261, 0, 196619, 393288, 0, 196616, 393289, 0, 131077, 393290, 0, 131078, 393291, 0, 196619, 393329, 0, 196616, 393330, 0, 131077, 393331, 0, 131081, 393332, 0, 131081, 393333, 0, 131081, 393334, 0, 131081, 393335, 0, 131081, 393336, 0, 131081, 393337, 0, 131081, 393338, 0, 131081, 393339, 0, 131081, 393340, 0, 131081, 393341, 0, 131081, 393342, 0, 131081, 393343, 0, 131081, 393344, 0, 131081, 393345, 0, 131081, 393346, 0, 131081, 393347, 0, 131081, 393348, 0, 131083, 524276, 0, 65544, 524277, 0, 131081, 524278, 0, 131081, 524279, 0, 131081, 524280, 0, 131081, 524281, 0, 131081, 524282, 0, 131081, 524283, 0, 131081, 524284, 0, 131078, 524285, 0, 196617, 524286, 0, 196617, 524287, 0, 196617, 458752, 0, 196617, 458753, 0, 196619, 458825, 0, 196616, 458826, 0, 196619, 458866, 0, 196616, 458867, 0, 196617, 458868, 0, 196617, 458869, 0, 196617, 458870, 0, 196617, 458871, 0, 196617, 458872, 0, 196617, 458873, 0, 196617, 458874, 0, 196617, 458875, 0, 131077, 458876, 0, 131081, 458877, 0, 131081, 458878, 0, 131081, 458879, 0, 131081, 458880, 0, 131081, 458881, 0, 131081, 458882, 0, 131081, 458883, 0, 131081, 458884, 0, 131083, 589812, 0, 65544, 589813, 0, 131081, 589814, 0, 131081, 589815, 0, 131081, 589816, 0, 131081, 589817, 0, 131081, 589818, 0, 131081, 589819, 0, 131081, 589820, 0, 131083, 524411, 0, 65544, 524412, 0, 131081, 524413, 0, 131081, 524414, 0, 131081, 524415, 0, 131081, 524416, 0, 131081, 524417, 0, 131081, 524418, 0, 131081, 524419, 0, 131081, 524420, 0, 131083, 655348, 0, 65544, 655349, 0, 131081, 655350, 0, 131081, 655351, 0, 131081, 655352, 0, 131081, 655353, 0, 131081, 655354, 0, 131081, 655355, 0, 131081, 655356, 0, 131083, 589947, 0, 65544, 589948, 0, 131081, 589949, 0, 131081, 589950, 0, 131081, 589951, 0, 131081, 589952, 0, 131081, 589953, 0, 131081, 589954, 0, 131081, 589955, 0, 131081, 589956, 0, 131083, 720884, 0, 65544, 720885, 0, 131081, 720886, 0, 131081, 720887, 0, 131081, 720888, 0, 131081, 720889, 0, 131081, 720890, 0, 131081, 720891, 0, 131081, 720892, 0, 65542, 720893, 0, 10, 720894, 0, 10, 720895, 0, 10, 655360, 0, 10, 655361, 0, 10, 655362, 0, 10, 655363, 0, 10, 655364, 0, 10, 655365, 0, 10, 655366, 0, 10, 655367, 0, 10, 655368, 0, 10, 655369, 0, 10, 655370, 0, 10, 655371, 0, 10, 655372, 0, 10, 655373, 0, 10, 655374, 0, 10, 655375, 0, 10, 655376, 0, 10, 655377, 0, 10, 655378, 0, 10, 655379, 0, 10, 655380, 0, 10, 655381, 0, 10, 655382, 0, 10, 655383, 0, 10, 655384, 0, 10, 655385, 0, 10, 655386, 0, 10, 655387, 0, 10, 655388, 0, 10, 655389, 0, 10, 655390, 0, 10, 655391, 0, 10, 655392, 0, 10, 655393, 0, 10, 655394, 0, 10, 655395, 0, 10, 655396, 0, 10, 655397, 0, 10, 655398, 0, 10, 655399, 0, 10, 655400, 0, 10, 655401, 0, 10, 655402, 0, 10, 655403, 0, 10, 655404, 0, 10, 655405, 0, 10, 655406, 0, 10, 655407, 0, 10, 655408, 0, 10, 655409, 0, 10, 655410, 0, 10, 655411, 0, 10, 655412, 0, 10, 655413, 0, 10, 655414, 0, 10, 655415, 0, 10, 655416, 0, 10, 655417, 0, 10, 655418, 0, 10, 655419, 0, 10, 655420, 0, 10, 655421, 0, 10, 655422, 0, 10, 655423, 0, 10, 655424, 0, 10, 655425, 0, 10, 655426, 0, 10, 655427, 0, 10, 655428, 0, 10, 655429, 0, 10, 655430, 0, 10, 655431, 0, 10, 655432, 0, 10, 655433, 0, 10, 655434, 0, 10, 655435, 0, 10, 655436, 0, 10, 655437, 0, 10, 655438, 0, 10, 655439, 0, 10, 655440, 0, 10, 655441, 0, 10, 655442, 0, 10, 655443, 0, 10, 655444, 0, 10, 655445, 0, 10, 655446, 0, 10, 655447, 0, 10, 655448, 0, 10, 655449, 0, 10, 655450, 0, 10, 655451, 0, 10, 655452, 0, 10, 655453, 0, 10, 655454, 0, 10, 655455, 0, 10, 655456, 0, 10, 655457, 0, 10, 655458, 0, 10, 655459, 0, 10, 655460, 0, 10, 655461, 0, 10, 655462, 0, 10, 655463, 0, 10, 655464, 0, 10, 655465, 0, 10, 655466, 0, 10, 655467, 0, 10, 655468, 0, 10, 655469, 0, 10, 655470, 0, 10, 655471, 0, 10, 655472, 0, 10, 655473, 0, 10, 655474, 0, 10, 655475, 0, 10, 655476, 0, 10, 655477, 0, 10, 655478, 0, 10, 655479, 0, 10, 655480, 0, 10, 655481, 0, 10, 655482, 0, 10, 655483, 0, 65541, 655484, 0, 131081, 655485, 0, 131081, 655486, 0, 131081, 655487, 0, 131081, 655488, 0, 131081, 655489, 0, 131081, 655490, 0, 131081, 655491, 0, 131081, 655492, 0, 131083, 786420, 0, 65544, 786421, 0, 131081, 786422, 0, 131081, 786423, 0, 131081, 786424, 0, 131081, 786425, 0, 131081, 786426, 0, 131081, 786427, 0, 131081, 786428, 0, 131081, 786429, 0, 131081, 786430, 0, 131081, 786431, 0, 131081, 720896, 0, 131081, 720897, 0, 131081, 720898, 0, 131081, 720899, 0, 131081, 720900, 0, 131081, 720901, 0, 131081, 720902, 0, 131081, 720903, 0, 131081, 720904, 0, 131081, 720905, 0, 131081, 720906, 0, 131081, 720907, 0, 131081, 720908, 0, 131081, 720909, 0, 131081, 720910, 0, 131081, 720911, 0, 131081, 720912, 0, 131081, 720913, 0, 131081, 720914, 0, 131081, 720915, 0, 131081, 720916, 0, 131081, 720917, 0, 131081, 720918, 0, 131081, 720919, 0, 131081, 720920, 0, 131081, 720921, 0, 131081, 720922, 0, 131081, 720923, 0, 131081, 720924, 0, 131081, 720925, 0, 131081, 720926, 0, 131081, 720927, 0, 131081, 720928, 0, 131081, 720929, 0, 131081, 720930, 0, 131081, 720931, 0, 131081, 720932, 0, 131081, 720933, 0, 131081, 720934, 0, 131081, 720935, 0, 131081, 720936, 0, 131081, 720937, 0, 131081, 720938, 0, 131081, 720939, 0, 131081, 720940, 0, 131081, 720941, 0, 131081, 720942, 0, 131081, 720943, 0, 131081, 720944, 0, 131081, 720945, 0, 131081, 720946, 0, 131081, 720947, 0, 131081, 720948, 0, 131081, 720949, 0, 131081, 720950, 0, 131081, 720951, 0, 131081, 720952, 0, 131081, 720953, 0, 131081, 720954, 0, 131081, 720955, 0, 131081, 720956, 0, 131081, 720957, 0, 131081, 720958, 0, 131081, 720959, 0, 131081, 720960, 0, 131081, 720961, 0, 131081, 720962, 0, 131081, 720963, 0, 131081, 720964, 0, 131081, 720965, 0, 131081, 720966, 0, 131081, 720967, 0, 131081, 720968, 0, 131081, 720969, 0, 131081, 720970, 0, 131081, 720971, 0, 131081, 720972, 0, 131081, 720973, 0, 131081, 720974, 0, 131081, 720975, 0, 131081, 720976, 0, 131081, 720977, 0, 131081, 720978, 0, 131081, 720979, 0, 131081, 720980, 0, 131081, 720981, 0, 131081, 720982, 0, 131081, 720983, 0, 131081, 720984, 0, 131081, 720985, 0, 131081, 720986, 0, 131081, 720987, 0, 131081, 720988, 0, 131081, 720989, 0, 131081, 720990, 0, 131081, 720991, 0, 131081, 720992, 0, 131081, 720993, 0, 131081, 720994, 0, 131081, 720995, 0, 131081, 720996, 0, 131081, 720997, 0, 131081, 720998, 0, 131081, 720999, 0, 131081, 721000, 0, 131081, 721001, 0, 131081, 721002, 0, 131081, 721003, 0, 131081, 721004, 0, 131081, 721005, 0, 131081, 721006, 0, 131081, 721007, 0, 131081, 721008, 0, 131081, 721009, 0, 131081, 721010, 0, 131081, 721011, 0, 131081, 721012, 0, 131081, 721013, 0, 131081, 721014, 0, 131081, 721015, 0, 131081, 721016, 0, 131081, 721017, 0, 131081, 721018, 0, 131081, 721019, 0, 131081, 721020, 0, 131081, 721021, 0, 131081, 721022, 0, 131081, 721023, 0, 131081, 721024, 0, 131081, 721025, 0, 131081, 721026, 0, 131081, 721027, 0, 131081, 721028, 0, 131083, 851956, 0, 196616, 851957, 0, 196617, 851958, 0, 196617, 851959, 0, 196617, 851960, 0, 196617, 851961, 0, 196617, 851962, 0, 196617, 851963, 0, 196617, 851964, 0, 196617, 851965, 0, 196617, 851966, 0, 196617, 851967, 0, 196617, 786432, 0, 196617, 786433, 0, 196617, 786434, 0, 196617, 786435, 0, 196617, 786436, 0, 196617, 786437, 0, 196617, 786438, 0, 196617, 786439, 0, 196617, 786440, 0, 196617, 786441, 0, 196617, 786442, 0, 196617, 786443, 0, 196617, 786444, 0, 196617, 786445, 0, 196617, 786446, 0, 196617, 786447, 0, 196617, 786448, 0, 196617, 786449, 0, 196617, 786450, 0, 196617, 786451, 0, 196617, 786452, 0, 196617, 786453, 0, 196617, 786454, 0, 196617, 786455, 0, 196617, 786456, 0, 196617, 786457, 0, 196617, 786458, 0, 196617, 786459, 0, 196617, 786460, 0, 196617, 786461, 0, 196617, 786462, 0, 196617, 786463, 0, 196617, 786464, 0, 196617, 786465, 0, 196617, 786466, 0, 196617, 786467, 0, 196617, 786468, 0, 196617, 786469, 0, 196617, 786470, 0, 196617, 786471, 0, 196617, 786472, 0, 196617, 786473, 0, 196617, 786474, 0, 196617, 786475, 0, 196617, 786476, 0, 196617, 786477, 0, 196617, 786478, 0, 196617, 786479, 0, 196617, 786480, 0, 196617, 786481, 0, 196617, 786482, 0, 196617, 786483, 0, 196617, 786484, 0, 196617, 786485, 0, 196617, 786486, 0, 196617, 786487, 0, 196617, 786488, 0, 196617, 786489, 0, 196617, 786490, 0, 196617, 786491, 0, 196617, 786492, 0, 196617, 786493, 0, 196617, 786494, 0, 196617, 786495, 0, 196617, 786496, 0, 196617, 786497, 0, 196617, 786498, 0, 196617, 786499, 0, 196617, 786500, 0, 196617, 786501, 0, 196617, 786502, 0, 196617, 786503, 0, 196617, 786504, 0, 196617, 786505, 0, 196617, 786506, 0, 196617, 786507, 0, 196617, 786508, 0, 196617, 786509, 0, 196617, 786510, 0, 196617, 786511, 0, 196617, 786512, 0, 196617, 786513, 0, 196617, 786514, 0, 196617, 786515, 0, 196617, 786516, 0, 196617, 786517, 0, 196617, 786518, 0, 196617, 786519, 0, 196617, 786520, 0, 196617, 786521, 0, 196617, 786522, 0, 196617, 786523, 0, 196617, 786524, 0, 196617, 786525, 0, 196617, 786526, 0, 196617, 786527, 0, 196617, 786528, 0, 196617, 786529, 0, 196617, 786530, 0, 196617, 786531, 0, 196617, 786532, 0, 196617, 786533, 0, 196617, 786534, 0, 196617, 786535, 0, 196617, 786536, 0, 196617, 786537, 0, 196617, 786538, 0, 196617, 786539, 0, 196617, 786540, 0, 196617, 786541, 0, 196617, 786542, 0, 196617, 786543, 0, 196617, 786544, 0, 196617, 786545, 0, 196617, 786546, 0, 196617, 786547, 0, 196617, 786548, 0, 196617, 786549, 0, 196617, 786550, 0, 196617, 786551, 0, 196617, 786552, 0, 196617, 786553, 0, 196617, 786554, 0, 196617, 786555, 0, 196617, 786556, 0, 196617, 786557, 0, 196617, 786558, 0, 196617, 786559, 0, 196617, 786560, 0, 196617, 786561, 0, 196617, 786562, 0, 196617, 786563, 0, 196617, 786564, 0, 196619 ) +tile_data = PoolIntArray( 0, 0, 8, 1, 0, 10, 2, 0, 10, 3, 0, 10, 4, 0, 10, 5, 0, 10, 6, 0, 10, 7, 0, 10, 8, 0, 10, 9, 0, 10, 10, 0, 10, 11, 0, 10, 12, 0, 10, 13, 0, 10, 14, 0, 10, 15, 0, 10, 16, 0, 10, 17, 0, 10, 18, 0, 10, 19, 0, 10, 20, 0, 11, 65536, 0, 65544, 65537, 0, 131078, 65538, 0, 196617, 65539, 0, 196617, 65540, 0, 196617, 65541, 0, 196617, 65542, 0, 196617, 65543, 0, 196617, 65544, 0, 196617, 65545, 0, 196617, 65546, 0, 196617, 65547, 0, 196617, 65548, 0, 196617, 65549, 0, 196617, 65550, 0, 196617, 65551, 0, 196617, 65552, 0, 196617, 65553, 0, 196617, 65554, 0, 196617, 65555, 0, 131077, 65556, 0, 131083, 131072, 0, 65544, 131073, 0, 131083, 131091, 0, 65544, 131092, 0, 131083, 196608, 0, 65544, 196609, 0, 131083, 196627, 0, 65544, 196628, 0, 131083, 262144, 0, 65544, 262145, 0, 131083, 262163, 0, 65544, 262164, 0, 131083, 327680, 0, 65544, 327681, 0, 131083, 327699, 0, 65544, 327700, 0, 131083, 393216, 0, 65544, 393217, 0, 131083, 393235, 0, 65544, 393236, 0, 131083, 458752, 0, 65544, 458753, 0, 131083, 458771, 0, 65544, 458772, 0, 131083, 524288, 0, 65544, 524289, 0, 131083, 524307, 0, 65544, 524308, 0, 131083, 589824, 0, 65544, 589825, 0, 131083, 589843, 0, 65544, 589844, 0, 131083, 655360, 0, 65544, 655361, 0, 65542, 655362, 0, 10, 655363, 0, 10, 655364, 0, 10, 655365, 0, 10, 655366, 0, 10, 655367, 0, 10, 655368, 0, 10, 655369, 0, 10, 655370, 0, 10, 655371, 0, 10, 655372, 0, 10, 655373, 0, 10, 655374, 0, 10, 655375, 0, 10, 655376, 0, 10, 655377, 0, 10, 655378, 0, 10, 655379, 0, 65541, 655380, 0, 131083, 720896, 0, 196616, 720897, 0, 196617, 720898, 0, 196617, 720899, 0, 196617, 720900, 0, 196617, 720901, 0, 196617, 720902, 0, 196617, 720903, 0, 196617, 720904, 0, 196617, 720905, 0, 196617, 720906, 0, 196617, 720907, 0, 196617, 720908, 0, 196617, 720909, 0, 196617, 720910, 0, 196617, 720911, 0, 196617, 720912, 0, 196617, 720913, 0, 196617, 720914, 0, 196617, 720915, 0, 196617, 720916, 0, 196619 ) [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = ExtResource( 4 ) volume_db = -21.204 autoplay = true -[node name="Area2D" type="Area2D" parent="."] -position = Vector2( 435.093, 129.644 ) -__meta__ = { -"_edit_group_": true -} - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] -shape = SubResource( 1 ) - -[node name="ParallaxBackground" type="ParallaxBackground" parent="."] - -[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] -visible = false -modulate = Color( 0.635294, 0.635294, 0.635294, 1 ) -motion_mirroring = Vector2( 490, 500 ) - -[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"] -modulate = Color( 0.419608, 0.411765, 0.411765, 1 ) -position = Vector2( 519.723, 465.442 ) -scale = Vector2( 0.872628, 0.872628 ) -texture = ExtResource( 6 ) -centered = false -offset = Vector2( -615.364, -675.27 ) - -[node name="Sprite" type="Sprite" parent="."] -position = Vector2( 846.05, 145.314 ) -scale = Vector2( 1, 1.1044 ) -texture = ExtResource( 7 ) -__meta__ = { -"_edit_group_": true -} +[node name="Door" parent="." instance=ExtResource( 3 )] +position = Vector2( 255, 126 ) [node name="Player" parent="." instance=ExtResource( 2 )] -position = Vector2( -21.6742, 153.658 ) +position = Vector2( 63, 158 ) -[node name="text" type="Node2D" parent="."] -position = Vector2( -5.81107, -6.20908 ) +[node name="Wizard" parent="." instance=ExtResource( 10 )] +position = Vector2( 141, 160 ) -[node name="Text" type="Node" parent="text"] - -[node name="sample_text" type="Label" parent="text/Text"] -margin_left = 61.7179 -margin_top = 35.9192 -margin_right = 239.718 -margin_bottom = 108.919 -custom_fonts/font = SubResource( 2 ) -text = "AH! I see you finally came after like, forever!" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="AnimationPlayer" type="AnimationPlayer" parent="text/Text"] -autoplay = "Type Writer" -"anims/Type Writer" = SubResource( 3 ) - -[node name="Text4" type="Node" parent="text"] - -[node name="sample_text" type="Label" parent="text/Text4"] -margin_left = 558.842 -margin_top = 45.7271 -margin_right = 723.842 -margin_bottom = 118.728 -custom_fonts/font = SubResource( 2 ) -text = "------>" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="sample_text2" type="Label" parent="text/Text4"] -margin_left = 1068.73 -margin_top = 141.836 -margin_right = 1163.73 -margin_bottom = 210.836 -custom_fonts/font = SubResource( 2 ) -text = "------>" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="AnimationPlayer" type="AnimationPlayer" parent="text/Text4"] -autoplay = "Type Writer" -"anims/Type Writer" = SubResource( 4 ) - -[node name="Text5" type="Node" parent="text"] - -[node name="AnimationPlayer" type="AnimationPlayer" parent="text/Text5"] -autoplay = "Type Writer" -"anims/Type Writer" = SubResource( 5 ) - -[node name="Text6" type="Node" parent="text"] - -[node name="sample_text" type="Label" parent="text/Text6"] -anchor_top = -0.000655535 -anchor_bottom = -0.000655535 -margin_left = 830.0 -margin_top = 73.118 -margin_right = 910.0 -margin_bottom = 146.118 -rect_scale = Vector2( 0.75, 0.75 ) -custom_fonts/font = SubResource( 2 ) -text = "This is the charge wand!" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="sample_text2" type="Label" parent="text/Text6"] -anchor_top = -0.000655535 -anchor_bottom = -0.000655535 -margin_left = 1143.35 -margin_top = 22.2271 -margin_right = 1302.35 -margin_bottom = 200.227 -rect_scale = Vector2( 0.75, 0.75 ) -custom_fonts/font = SubResource( 2 ) -text = "Press 'E'and equip a spell to be able to shoot" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="sample_text3" type="Label" parent="text/Text6"] -anchor_left = -0.00262795 -anchor_top = -0.000655535 -anchor_right = -0.00262795 -anchor_bottom = -0.000655535 -margin_left = 1310.41 -margin_top = 50.9831 -margin_right = 1453.41 -margin_bottom = 142.983 -rect_scale = Vector2( 0.5, 0.5 ) -custom_fonts/font = SubResource( 2 ) -text = "Each spell does something different" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="sample_text4" type="Label" parent="text/Text6"] -anchor_top = -0.000655535 -anchor_bottom = -0.000655535 -margin_left = 1425.66 -margin_top = 59.1731 -margin_right = 1633.66 -margin_bottom = 167.173 -rect_scale = Vector2( 0.45, 0.45 ) -custom_fonts/font = SubResource( 2 ) -text = "This spell takes no mana but does little damage" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="sample_text5" type="Label" parent="text/Text6"] -anchor_top = -0.000655535 -anchor_bottom = -0.000655535 -margin_left = 1546.0 -margin_top = 58.118 -margin_right = 1768.0 -margin_bottom = 207.118 -rect_scale = Vector2( 0.45, 0.45 ) -custom_fonts/font = SubResource( 2 ) -text = "This is your Mana, your wand uses Mana, so don't let it run out." -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="sample_text6" type="Label" parent="text/Text6"] -anchor_top = -0.000655535 -anchor_bottom = -0.000655535 -margin_left = 1678.89 -margin_top = 56.7396 -margin_right = 1900.89 -margin_bottom = 205.74 -rect_scale = Vector2( 0.45, 0.45 ) -custom_fonts/font = SubResource( 2 ) -text = "You'll see the rest later on ;)" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="sample_text8" type="Label" parent="text/Text6"] -anchor_top = -0.000655535 -anchor_bottom = -0.000655535 -margin_left = 1974.39 -margin_top = 135.74 -margin_right = 2196.39 -margin_bottom = 284.74 -rect_scale = Vector2( 0.45, 0.45 ) -custom_fonts/font = SubResource( 2 ) -text = "Press 'F' to open stuff" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="sample_text7" type="Label" parent="text/Text6"] -anchor_top = -0.000655535 -anchor_bottom = -0.000655535 -margin_left = 1831.62 -margin_top = 48.8269 -margin_right = 2089.62 -margin_bottom = 197.827 -rect_scale = Vector2( 0.5, 0.5 ) -custom_fonts/font = SubResource( 2 ) -text = "Be weary, your path to wizard greatness belies in the dungeon behind this door, a dungeon contaning creatures from tartarus itself" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="AnimationPlayer" type="AnimationPlayer" parent="text/Text6"] -autoplay = "Type Writer" -"anims/Type Writer" = SubResource( 6 ) - -[node name="Text7" type="Node" parent="text"] - -[node name="sample_text" type="Label" parent="text/Text7"] -margin_left = 894.322 -margin_top = 133.879 -margin_right = 1118.32 -margin_bottom = 434.879 -rect_scale = Vector2( 0.5, 0.5 ) -custom_fonts/font = SubResource( 2 ) -text = "Press 'E' to view and equip wands" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="sample_text2" type="Label" parent="text/Text7"] -margin_left = 895.5 -margin_top = 82.5 -margin_right = 1148.5 -margin_bottom = 383.5 -rect_scale = Vector2( 0.5, 0.5 ) -custom_fonts/font = SubResource( 2 ) -text = "The Charge wand's ablity is to Hold 'Left Mouse Button' to charge a shot" -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="AnimationPlayer" type="AnimationPlayer" parent="text/Text7"] -autoplay = "Type Writer" -"anims/Type Writer" = SubResource( 7 ) - -[node name="Text8" type="Node" parent="text"] - -[node name="AnimationPlayer" type="AnimationPlayer" parent="text/Text8"] -autoplay = "Type Writer" -"anims/Type Writer" = SubResource( 8 ) - -[node name="Text2" type="Node" parent="text"] -script = ExtResource( 5 ) - -[node name="sample_text" type="Label" parent="text/Text2"] -margin_left = 327.0 -margin_top = 23.0 -margin_right = 518.0 -margin_bottom = 96.0 -custom_fonts/font = SubResource( 2 ) -text = "W and Space - - Jump -^ ^" -autowrap = true -percent_visible = 0.0 -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="AnimationPlayer" type="AnimationPlayer" parent="text/Text2"] -autoplay = "Ok" -anims/Ok = SubResource( 9 ) -"anims/Type Writer" = SubResource( 10 ) - -[node name="Text3" type="Node" parent="text"] - -[node name="sample_text" type="Label" parent="text/Text3"] -margin_left = 68.1541 -margin_top = 165.595 -margin_right = 871.155 -margin_bottom = 238.595 -custom_fonts/font = SubResource( 2 ) -text = " Walk also arrow keys work the same! - " -autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} - -[node name="AnimationPlayer2" type="AnimationPlayer" parent="text/Text3"] -autoplay = "Type Writer" -"anims/Type Writer" = SubResource( 11 ) - -[node name="ChargeWandPickup" parent="." instance=ExtResource( 8 )] -position = Vector2( 845.89, 135.451 ) - -[node name="ecoprojectile" type="Sprite" parent="."] -position = Vector2( 1459.45, 42.782 ) -scale = Vector2( 1.41714, 1.41714 ) -texture = ExtResource( 9 ) - -[node name="Mana" type="Sprite" parent="."] -position = Vector2( 1581.08, 38.1216 ) -scale = Vector2( 2.66787, 2.66787 ) -texture = ExtResource( 12 ) -[connection signal="body_entered" from="Area2D" to="Player" method="_on_Area2D_body_entered"] -[connection signal="body_entered" from="Area2D" to="text/Text2" method="_on_body_entered"] +[node name="CanvasLayer" type="CanvasLayer" parent="."] diff --git a/levels/test.tscn b/levels/test.tscn index e9bba81..84dd6ef 100644 --- a/levels/test.tscn +++ b/levels/test.tscn @@ -7,7 +7,7 @@ [node name="Node2D" type="Node2D"] [node name="TileMap" parent="." instance=ExtResource( 2 )] -tile_data = PoolIntArray( 65536, 0, 8, 65537, 0, 10, 65538, 0, 10, 65539, 0, 10, 65540, 0, 10, 65541, 0, 10, 65542, 0, 10, 65543, 0, 10, 65544, 0, 10, 65545, 0, 10, 65546, 0, 10, 65547, 0, 10, 65548, 0, 10, 65549, 0, 10, 65550, 0, 10, 65551, 0, 10, 65552, 0, 10, 65553, 0, 10, 65554, 0, 10, 65555, 0, 10, 65556, 0, 10, 65557, 0, 10, 65558, 0, 10, 65559, 0, 10, 65560, 0, 10, 65561, 0, 10, 65562, 0, 10, 65563, 0, 10, 65564, 0, 10, 65565, 0, 10, 65566, 0, 10, 65567, 0, 10, 65568, 0, 10, 65569, 0, 10, 65570, 0, 10, 65571, 0, 11, 131072, 0, 65544, 131073, 0, 131078, 131074, 0, 196617, 131075, 0, 196617, 131076, 0, 196617, 131077, 0, 196617, 131078, 0, 196617, 131079, 0, 196617, 131080, 0, 196617, 131081, 0, 196617, 131082, 0, 196617, 131083, 0, 196617, 131084, 0, 196617, 131085, 0, 196617, 131086, 0, 196617, 131087, 0, 196617, 131088, 0, 196617, 131089, 0, 196617, 131090, 0, 196617, 131091, 0, 196617, 131092, 0, 196617, 131093, 0, 196617, 131094, 0, 196617, 131095, 0, 196617, 131096, 0, 196617, 131097, 0, 196617, 131098, 0, 196617, 131099, 0, 196617, 131100, 0, 196617, 131101, 0, 196617, 131102, 0, 196617, 131103, 0, 196617, 131104, 0, 196617, 131105, 0, 196617, 131106, 0, 131077, 131107, 0, 131083, 196608, 0, 65544, 196609, 0, 131083, 196642, 0, 65544, 196643, 0, 131083, 262144, 0, 65544, 262145, 0, 131083, 262178, 0, 65544, 262179, 0, 131083, 327680, 0, 65544, 327681, 0, 131083, 327714, 0, 65544, 327715, 0, 131083, 393216, 0, 65544, 393217, 0, 131083, 393250, 0, 65544, 393251, 0, 131083, 458752, 0, 65544, 458753, 0, 131083, 458786, 0, 65544, 458787, 0, 131083, 524288, 0, 65544, 524289, 0, 131083, 524322, 0, 65544, 524323, 0, 131083, 589824, 0, 65544, 589825, 0, 131083, 589838, 0, 0, 589858, 0, 65544, 589859, 0, 131083, 655360, 0, 65544, 655361, 0, 131083, 655374, 0, 65540, 655375, 0, 11, 655394, 0, 65544, 655395, 0, 131083, 720896, 0, 65544, 720897, 0, 65542, 720898, 0, 10, 720899, 0, 10, 720900, 0, 10, 720901, 0, 10, 720902, 0, 10, 720903, 0, 10, 720904, 0, 10, 720905, 0, 10, 720906, 0, 10, 720907, 0, 10, 720908, 0, 10, 720909, 0, 10, 720910, 0, 65541, 720911, 0, 65542, 720912, 0, 10, 720913, 0, 10, 720914, 0, 10, 720915, 0, 10, 720916, 0, 10, 720917, 0, 10, 720918, 0, 10, 720919, 0, 10, 720920, 0, 10, 720921, 0, 10, 720922, 0, 10, 720923, 0, 10, 720924, 0, 11, 720930, 0, 65544, 720931, 0, 131083, 786432, 0, 196616, 786433, 0, 196617, 786434, 0, 196617, 786435, 0, 196617, 786436, 0, 196617, 786437, 0, 196617, 786438, 0, 196617, 786439, 0, 196617, 786440, 0, 196617, 786441, 0, 196617, 786442, 0, 196617, 786443, 0, 196617, 786444, 0, 196617, 786445, 0, 196617, 786446, 0, 196617, 786447, 0, 196617, 786448, 0, 196617, 786449, 0, 196617, 786450, 0, 196617, 786451, 0, 196617, 786452, 0, 196617, 786453, 0, 196617, 786454, 0, 196617, 786455, 0, 196617, 786456, 0, 196617, 786457, 0, 196617, 786458, 0, 196617, 786459, 0, 131077, 786460, 0, 131083, 786466, 0, 65544, 786467, 0, 131083, 851995, 0, 65544, 851996, 0, 131083, 852002, 0, 65544, 852003, 0, 131083, 917531, 0, 65544, 917532, 0, 131083, 917538, 0, 65544, 917539, 0, 131083, 983067, 0, 65544, 983068, 0, 131083, 983074, 0, 65544, 983075, 0, 131083, 1048603, 0, 65544, 1048604, 0, 131083, 1048610, 0, 65544, 1048611, 0, 131083, 1114139, 0, 196616, 1114140, 0, 196614, 1114141, 0, 196610, 1114142, 0, 196610, 1114143, 0, 196610, 1114144, 0, 196610, 1114145, 0, 196610, 1114146, 0, 196613, 1114147, 0, 196619 ) +tile_data = PoolIntArray( 65536, 0, 8, 65537, 0, 10, 65538, 0, 10, 65539, 0, 10, 65540, 0, 10, 65541, 0, 10, 65542, 0, 10, 65543, 0, 10, 65544, 0, 10, 65545, 0, 10, 65546, 0, 10, 65547, 0, 10, 65548, 0, 10, 65549, 0, 10, 65550, 0, 10, 65551, 0, 10, 65552, 0, 10, 65553, 0, 10, 65554, 0, 10, 65555, 0, 10, 65556, 0, 11, 131072, 0, 65544, 131073, 0, 131078, 131074, 0, 196617, 131075, 0, 196617, 131076, 0, 196617, 131077, 0, 196617, 131078, 0, 196617, 131079, 0, 196617, 131080, 0, 196617, 131081, 0, 196617, 131082, 0, 196617, 131083, 0, 196617, 131084, 0, 196617, 131085, 0, 196617, 131086, 0, 196617, 131087, 0, 196617, 131088, 0, 196617, 131089, 0, 196617, 131090, 0, 196617, 131091, 0, 131077, 131092, 0, 131083, 196608, 0, 65544, 196609, 0, 131083, 196627, 0, 65544, 196628, 0, 131083, 262144, 0, 65544, 262145, 0, 131083, 262163, 0, 65544, 262164, 0, 131083, 327680, 0, 65544, 327681, 0, 131083, 327699, 0, 65544, 327700, 0, 131083, 393216, 0, 65544, 393217, 0, 131083, 393235, 0, 65544, 393236, 0, 131083, 458752, 0, 65544, 458753, 0, 131083, 458771, 0, 65544, 458772, 0, 131083, 524288, 0, 65544, 524289, 0, 131083, 524307, 0, 65544, 524308, 0, 131083, 589824, 0, 65544, 589825, 0, 131083, 589843, 0, 65544, 589844, 0, 131083, 655360, 0, 65544, 655361, 0, 131083, 655379, 0, 65544, 655380, 0, 131083, 720896, 0, 65544, 720897, 0, 65542, 720898, 0, 10, 720899, 0, 10, 720900, 0, 10, 720901, 0, 10, 720902, 0, 10, 720903, 0, 10, 720904, 0, 10, 720905, 0, 10, 720906, 0, 10, 720907, 0, 10, 720908, 0, 10, 720909, 0, 10, 720910, 0, 10, 720911, 0, 10, 720912, 0, 11, 720915, 0, 65544, 720916, 0, 131083, 786432, 0, 196616, 786433, 0, 196617, 786434, 0, 196617, 786435, 0, 196617, 786436, 0, 196617, 786437, 0, 196617, 786438, 0, 196617, 786439, 0, 196617, 786440, 0, 196617, 786441, 0, 196617, 786442, 0, 196617, 786443, 0, 196617, 786444, 0, 196617, 786445, 0, 196617, 786446, 0, 196617, 786447, 0, 196617, 786448, 0, 196619, 786451, 0, 196616, 786452, 0, 196619 ) [node name="Player" parent="." instance=ExtResource( 1 )] position = Vector2( 67, 169 ) diff --git a/magic/Beams/EcoBeam.png.import b/magic/Beams/EcoBeam.png.import index f9150fe..b4a54f1 100644 --- a/magic/Beams/EcoBeam.png.import +++ b/magic/Beams/EcoBeam.png.import @@ -19,7 +19,7 @@ compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 -flags/repeat=0 +flags/repeat=1 flags/filter=false flags/mipmaps=false flags/anisotropic=false diff --git a/meta/DungeonTilemap.tscn b/meta/DungeonTilemap.tscn index 1ade854..a858f88 100644 --- a/meta/DungeonTilemap.tscn +++ b/meta/DungeonTilemap.tscn @@ -10,4 +10,3 @@ cell_size = Vector2( 16, 16 ) collision_layer = 2 collision_mask = 0 format = 1 -tile_data = PoolIntArray( 0, 0, 8, 1, 0, 10, 2, 0, 10, 3, 0, 10, 4, 0, 10, 5, 0, 10, 6, 0, 10, 7, 0, 10, 8, 0, 10, 9, 0, 10, 10, 0, 10, 11, 0, 10, 12, 0, 10, 13, 0, 10, 14, 0, 10, 15, 0, 10, 16, 0, 10, 17, 0, 10, 18, 0, 10, 19, 0, 10, 20, 0, 11, 65536, 0, 65544, 65537, 0, 131078, 65538, 0, 196617, 65539, 0, 196617, 65540, 0, 196617, 65541, 0, 196617, 65542, 0, 196617, 65543, 0, 196617, 65544, 0, 196617, 65545, 0, 196617, 65546, 0, 196617, 65547, 0, 196617, 65548, 0, 196617, 65549, 0, 196617, 65550, 0, 196617, 65551, 0, 196617, 65552, 0, 196617, 65553, 0, 196617, 65554, 0, 196617, 65555, 0, 131077, 65556, 0, 131083, 131072, 0, 65544, 131073, 0, 131083, 131091, 0, 65544, 131092, 0, 131083, 196608, 0, 65544, 196609, 0, 131083, 196627, 0, 65544, 196628, 0, 131083, 262144, 0, 65544, 262145, 0, 131083, 262163, 0, 65544, 262164, 0, 131083, 327680, 0, 65544, 327681, 0, 131083, 327699, 0, 65544, 327700, 0, 131083, 393216, 0, 65544, 393217, 0, 131083, 393235, 0, 65544, 393236, 0, 131083, 458752, 0, 65544, 458753, 0, 131083, 458771, 0, 65544, 458772, 0, 131083, 524288, 0, 65544, 524289, 0, 131083, 524307, 0, 65544, 524308, 0, 131083, 589824, 0, 65544, 589825, 0, 131083, 589843, 0, 65544, 589844, 0, 131083, 655360, 0, 65544, 655361, 0, 65542, 655362, 0, 10, 655363, 0, 10, 655364, 0, 10, 655365, 0, 10, 655366, 0, 10, 655367, 0, 10, 655368, 0, 10, 655369, 0, 10, 655370, 0, 10, 655371, 0, 10, 655372, 0, 10, 655373, 0, 10, 655374, 0, 10, 655375, 0, 10, 655376, 0, 10, 655377, 0, 10, 655378, 0, 10, 655379, 0, 65541, 655380, 0, 131083, 720896, 0, 196616, 720897, 0, 196617, 720898, 0, 196617, 720899, 0, 196617, 720900, 0, 196617, 720901, 0, 196617, 720902, 0, 196617, 720903, 0, 196617, 720904, 0, 196617, 720905, 0, 196617, 720906, 0, 196617, 720907, 0, 196617, 720908, 0, 196617, 720909, 0, 196617, 720910, 0, 196617, 720911, 0, 196617, 720912, 0, 196617, 720913, 0, 196617, 720914, 0, 196617, 720915, 0, 196617, 720916, 0, 196619 ) diff --git a/npc/Wizard.gd b/npc/Wizard.gd new file mode 100644 index 0000000..7ccf1ae --- /dev/null +++ b/npc/Wizard.gd @@ -0,0 +1,41 @@ +extends KinematicBody2D + +var velocity = Vector2.ZERO +var line0 = "" +var line1 = "Good, you've finally made it!" +var line2 = "This will be the final stage of your training." +var line3 = "Even so, this final test will be no picnic..." +var line4 = "I have faith in your abilities, my apprentice." +var line5 = "Go on ahead, I'll meet you at the end of The Labyrinth." +var lines = [line0, line1, line2, line3, line4, line5] + +var line_number = 0 +var current_line + +func _process(delta): + var p = Player.position + if p.x > position.x: + $Sprite.flip_h = false + if p.x < position.x: + $Sprite.flip_h = true + current_line = lines[line_number] + $Label.text = current_line + +func _physics_process(delta): + velocity.y += 20 + velocity = move_and_slide(velocity) + +func next_line(): + if line_number != 5: + $Typewriter.play("Typewriter") + line_number = clamp(line_number + 1, 0, 5) + else: + $Timer.stop() + pass + +func _on_Timer_timeout(): + next_line() + +func _on_Delay_timeout(): + next_line() + $Timer.start() diff --git a/npc/Wizard.tscn b/npc/Wizard.tscn new file mode 100644 index 0000000..b4bd8a7 --- /dev/null +++ b/npc/Wizard.tscn @@ -0,0 +1,87 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://art/WizardM.png" type="Texture" id=1] +[ext_resource path="res://npc/Wizard.gd" type="Script" id=2] +[ext_resource path="res://Music and Fonts(Misc.)/m5x7.tres" type="DynamicFont" id=3] + +[sub_resource type="Animation" id=1] +resource_name = "Idle" +length = 0.6 +loop = true +step = 0.05 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.15, 0.3, 0.45 ), +"transitions": PoolRealArray( 1, 1, 1, 1 ), +"update": 1, +"values": [ 0, 1, 2, 3 ] +} + +[sub_resource type="Animation" id=3] +resource_name = "Typewriter" +length = 1.5 +tracks/0/type = "value" +tracks/0/path = NodePath("Label:percent_visible") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 1.5 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 1.0 ] +} + +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 7, 7 ) + +[node name="Wizard" type="KinematicBody2D"] +collision_mask = 3 +script = ExtResource( 2 ) + +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 0, -12 ) +texture = ExtResource( 1 ) +vframes = 3 +hframes = 4 +frame = 3 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "Idle" +anims/Idle = SubResource( 1 ) + +[node name="Typewriter" type="AnimationPlayer" parent="."] +anims/Typewriter = SubResource( 3 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2( 0, -7 ) +shape = SubResource( 2 ) + +[node name="Label" type="Label" parent="."] +margin_left = -55.0 +margin_top = -63.0 +margin_right = 55.0 +margin_bottom = -26.0 +custom_fonts/font = ExtResource( 3 ) +align = 1 +valign = 1 +autowrap = true +percent_visible = 0.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Timer" type="Timer" parent="."] +wait_time = 4.0 + +[node name="Delay" type="Timer" parent="."] +one_shot = true +autostart = true +[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] +[connection signal="timeout" from="Delay" to="." method="_on_Delay_timeout"] diff --git a/objects/Door.gd b/objects/Door.gd new file mode 100644 index 0000000..1cdc403 --- /dev/null +++ b/objects/Door.gd @@ -0,0 +1,13 @@ +extends Sprite + +export var unlocked: bool = true +export var next_scene: String + +onready var door = get_node("AnimationPlayer") + +func _process(delta): + if $Area2D.get_overlapping_bodies().size() != 0: + if Input.is_action_pressed("open") and unlocked: + Player.current_scene = next_scene + get_tree().change_scene(next_scene) + diff --git a/objects/Door.tscn b/objects/Door.tscn index 05e9068..d0064e8 100644 --- a/objects/Door.tscn +++ b/objects/Door.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://objects/Area2D.gd" type="Script" id=1] [ext_resource path="res://art/door.png" type="Texture" id=2] +[ext_resource path="res://objects/Door.gd" type="Script" id=3] [sub_resource type="Animation" id=1] resource_name = "Door Opening" @@ -27,6 +28,7 @@ texture = ExtResource( 2 ) centered = false hframes = 2 frame = 1 +script = ExtResource( 3 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] "anims/Door Opening" = SubResource( 1 ) diff --git a/project.godot b/project.godot index c91b3ea..feb7637 100644 --- a/project.godot +++ b/project.godot @@ -57,7 +57,7 @@ _global_script_class_icons={ [application] config/name="Gamejam" -run/main_scene="res://levels/test.tscn" +run/main_scene="res://levels/World.tscn" config/icon="res://icon.png" [autoload]