From 013c5f0cfd743f6c734f8da448dcd09bc3987424 Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 23 Jul 2020 02:07:34 -0500 Subject: [PATCH] Prism wand uses energy --- levels/Campaign/Level 1/Level 1.tscn | 43 +++++++++++---------------- levels/Campaign/Level 1/Level 1a.tscn | 11 +++---- magic/Wands/ChargedWand.gd | 1 - magic/Wands/PrismWand.gd | 5 ++-- project.godot | 1 + 5 files changed, 27 insertions(+), 34 deletions(-) diff --git a/levels/Campaign/Level 1/Level 1.tscn b/levels/Campaign/Level 1/Level 1.tscn index 1f26344..4332c17 100644 --- a/levels/Campaign/Level 1/Level 1.tscn +++ b/levels/Campaign/Level 1/Level 1.tscn @@ -1,11 +1,8 @@ -[gd_scene load_steps=17 format=2] +[gd_scene load_steps=14 format=2] [ext_resource path="res://meta/DungeonTilemap.tres" type="TileSet" id=1] [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://ai/Scenes/Skeleton Enemy.tscn" type="PackedScene" id=3] -[ext_resource path="res://ai/Scenes/Demon.tscn" type="PackedScene" id=4] [ext_resource path="res://art/door.png" type="Texture" id=5] -[ext_resource path="res://art/Paralax Dungeon.png" type="Texture" id=6] [ext_resource path="res://art/Black.png" type="Texture" id=7] [ext_resource path="res://Music and Fonts(Misc.)/m5x7.ttf" type="DynamicFontData" id=8] [ext_resource path="res://levels/Campaign/Level 1/Leap Of Faith.gd" type="Script" id=9] @@ -48,24 +45,14 @@ hframes = 2 ]] tile_set = ExtResource( 1 ) cell_size = Vector2( 16, 16 ) +collision_layer = 2 +collision_mask = 0 format = 1 -tile_data = PoolIntArray( 65535, 0, 8, 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, 11, 131071, 0, 65544, 65536, 0, 131078, 65537, 0, 196617, 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, 196617, 65556, 0, 196617, 65557, 0, 196617, 65558, 0, 196617, 65559, 0, 196617, 65560, 0, 196617, 65561, 0, 196617, 65562, 0, 196617, 65563, 0, 196617, 65564, 0, 196617, 65565, 0, 196617, 65566, 0, 196617, 65567, 0, 196617, 65568, 0, 196617, 65569, 0, 196617, 65570, 0, 196617, 65571, 0, 196617, 65572, 0, 196617, 65573, 0, 196617, 65574, 0, 196617, 65575, 0, 196617, 65576, 0, 196617, 65577, 0, 196617, 65578, 0, 196617, 65579, 0, 196617, 65580, 0, 196617, 65581, 0, 131077, 65582, 0, 131081, 65583, 0, 131081, 65584, 0, 131081, 65585, 0, 131081, 65586, 0, 131081, 65587, 0, 131083, 196607, 0, 65544, 131072, 0, 131083, 131117, 0, 65544, 131118, 0, 131081, 131119, 0, 131081, 131120, 0, 131081, 131121, 0, 131081, 131122, 0, 131081, 131123, 0, 131083, 262143, 0, 65544, 196608, 0, 131083, 196653, 0, 65544, 196654, 0, 131081, 196655, 0, 131081, 196656, 0, 131081, 196657, 0, 131081, 196658, 0, 131081, 196659, 0, 131083, 327679, 0, 65544, 262144, 0, 131083, 262189, 0, 65544, 262190, 0, 131081, 262191, 0, 131081, 262192, 0, 131081, 262193, 0, 131081, 262194, 0, 131081, 262195, 0, 131083, 393215, 0, 65544, 327680, 0, 131083, 327725, 0, 65544, 327726, 0, 131081, 327727, 0, 131081, 327728, 0, 131081, 327729, 0, 131081, 327730, 0, 131081, 327731, 0, 131083, 458751, 0, 65544, 393216, 0, 131083, 393261, 0, 65544, 393262, 0, 131081, 393263, 0, 131081, 393264, 0, 131081, 393265, 0, 131081, 393266, 0, 131081, 393267, 0, 131083, 524287, 0, 65544, 458752, 0, 131083, 458797, 0, 65544, 458798, 0, 131081, 458799, 0, 131081, 458800, 0, 131081, 458801, 0, 131081, 458802, 0, 131081, 458803, 0, 131083, 589823, 0, 65544, 524288, 0, 131083, 524308, 0, 196608, 524333, 0, 65544, 524334, 0, 131081, 524335, 0, 131081, 524336, 0, 131081, 524337, 0, 131081, 524338, 0, 131081, 524339, 0, 131083, 655359, 0, 65544, 589824, 0, 131083, 589869, 0, 65544, 589870, 0, 131081, 589871, 0, 131081, 589872, 0, 131081, 589873, 0, 131081, 589874, 0, 131081, 589875, 0, 131083, 720895, 0, 65544, 655360, 0, 131083, 655374, 0, 0, 655386, 0, 0, 655405, 0, 65544, 655406, 0, 131081, 655407, 0, 131081, 655408, 0, 131081, 655409, 0, 131081, 655410, 0, 131081, 655411, 0, 131083, 786431, 0, 65544, 720896, 0, 65542, 720897, 0, 10, 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, 9, 720911, 0, 10, 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, 9, 720923, 0, 10, 720924, 0, 10, 720925, 0, 10, 720926, 0, 10, 720927, 0, 10, 720928, 0, 10, 720929, 0, 10, 720930, 0, 10, 720931, 0, 10, 720932, 0, 10, 720933, 0, 11, 720941, 0, 65544, 720942, 0, 131081, 720943, 0, 131081, 720944, 0, 131081, 720945, 0, 131081, 720946, 0, 131081, 720947, 0, 131083, 851967, 0, 196616, 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, 196619, 786477, 0, 196616, 786478, 0, 196617, 786479, 0, 196617, 786480, 0, 196617, 786481, 0, 196617, 786482, 0, 196617, 786483, 0, 196619 ) - -[node name="ParallaxBackground" type="ParallaxBackground" parent="."] - -[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] -motion_mirroring = Vector2( 384, 180 ) - -[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"] -texture = ExtResource( 6 ) -centered = false +tile_data = PoolIntArray( 65535, 0, 8, 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, 11, 131071, 0, 65544, 65536, 0, 131078, 65537, 0, 196617, 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, 196617, 65556, 0, 196617, 65557, 0, 196617, 65558, 0, 196617, 65559, 0, 196617, 65560, 0, 196617, 65561, 0, 196617, 65562, 0, 196617, 65563, 0, 196617, 65564, 0, 196617, 65565, 0, 196617, 65566, 0, 196617, 65567, 0, 196617, 65568, 0, 196617, 65569, 0, 196617, 65570, 0, 196617, 65571, 0, 196617, 65572, 0, 196617, 65573, 0, 196617, 65574, 0, 196617, 65575, 0, 196617, 65576, 0, 196617, 65577, 0, 196617, 65578, 0, 196617, 65579, 0, 196617, 65580, 0, 196617, 65581, 0, 131077, 65582, 0, 131081, 65583, 0, 131081, 65584, 0, 131081, 65585, 0, 131081, 65586, 0, 131081, 65587, 0, 131083, 196607, 0, 65544, 131072, 0, 131083, 131117, 0, 65544, 131118, 0, 131081, 131119, 0, 131081, 131120, 0, 131081, 131121, 0, 131081, 131122, 0, 131081, 131123, 0, 131083, 262143, 0, 65544, 196608, 0, 131083, 196653, 0, 65544, 196654, 0, 131081, 196655, 0, 131081, 196656, 0, 131081, 196657, 0, 131081, 196658, 0, 131081, 196659, 0, 131083, 327679, 0, 65544, 262144, 0, 131083, 262189, 0, 65544, 262190, 0, 131081, 262191, 0, 131081, 262192, 0, 131081, 262193, 0, 131081, 262194, 0, 131081, 262195, 0, 131083, 393215, 0, 65544, 327680, 0, 131083, 327725, 0, 65544, 327726, 0, 131081, 327727, 0, 131081, 327728, 0, 131081, 327729, 0, 131081, 327730, 0, 131081, 327731, 0, 131083, 458751, 0, 65544, 393216, 0, 131083, 393261, 0, 65544, 393262, 0, 131081, 393263, 0, 131081, 393264, 0, 131081, 393265, 0, 131081, 393266, 0, 131081, 393267, 0, 131083, 524287, 0, 65544, 458752, 0, 131083, 458797, 0, 65544, 458798, 0, 131081, 458799, 0, 131081, 458800, 0, 131081, 458801, 0, 131081, 458802, 0, 131081, 458803, 0, 131083, 589823, 0, 65544, 524288, 0, 131083, 524333, 0, 65544, 524334, 0, 131081, 524335, 0, 131081, 524336, 0, 131081, 524337, 0, 131081, 524338, 0, 131081, 524339, 0, 131083, 655359, 0, 65544, 589824, 0, 131083, 589869, 0, 65544, 589870, 0, 131081, 589871, 0, 131081, 589872, 0, 131081, 589873, 0, 131081, 589874, 0, 131081, 589875, 0, 131083, 720895, 0, 65544, 655360, 0, 131083, 655405, 0, 65544, 655406, 0, 131081, 655407, 0, 131081, 655408, 0, 131081, 655409, 0, 131081, 655410, 0, 131081, 655411, 0, 131083, 786431, 0, 65544, 720896, 0, 65542, 720897, 0, 10, 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, 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, 10, 720925, 0, 10, 720926, 0, 10, 720927, 0, 10, 720928, 0, 10, 720929, 0, 10, 720930, 0, 10, 720931, 0, 10, 720932, 0, 10, 720933, 0, 11, 720941, 0, 65544, 720942, 0, 131081, 720943, 0, 131081, 720944, 0, 131081, 720945, 0, 131081, 720946, 0, 131081, 720947, 0, 131083, 851967, 0, 196616, 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, 196619, 786477, 0, 196616, 786478, 0, 196617, 786479, 0, 196617, 786480, 0, 196617, 786481, 0, 196617, 786482, 0, 196617, 786483, 0, 196619 ) [node name="Player" parent="." instance=ExtResource( 2 )] position = Vector2( 30, 174 ) -[node name="Demon" parent="." instance=ExtResource( 4 )] -position = Vector2( 301, 164 ) - [node name="Leap" type="Area2D" parent="."] script = ExtResource( 9 ) @@ -82,6 +69,11 @@ script = ExtResource( 11 ) anims/Typewriter = SubResource( 2 ) script = ExtResource( 12 ) +[node name="Timer" type="Timer" parent="."] +wait_time = 4.386 +one_shot = true +script = ExtResource( 10 ) + [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="Sprite" type="Sprite" parent="CanvasLayer"] @@ -102,14 +94,13 @@ __meta__ = { "_edit_use_anchors_": false } -[node name="Skeleton Enemy" parent="." instance=ExtResource( 3 )] -position = Vector2( 357, 167 ) - -[node name="Timer" type="Timer" parent="."] -wait_time = 4.386 -one_shot = true -script = ExtResource( 10 ) -[connection signal="body_entered" from="Leap" to="Timer" method="_on_Leap_body_entered"] -[connection signal="body_entered" from="Leap" to="AnimationPlayer" method="_on_Leap_body_entered"] +[node name="Label" type="Label" parent="."] +margin_right = 40.0 +margin_bottom = 14.0 +__meta__ = { +"_edit_use_anchors_": false +} [connection signal="body_entered" from="Leap" to="AnimationPlayer2" method="_on_Leap_body_entered"] +[connection signal="body_entered" from="Leap" to="AnimationPlayer" method="_on_Leap_body_entered"] +[connection signal="body_entered" from="Leap" to="Timer" method="_on_Leap_body_entered"] [connection signal="timeout" from="Timer" to="Timer" method="_on_Timer_timeout"] diff --git a/levels/Campaign/Level 1/Level 1a.tscn b/levels/Campaign/Level 1/Level 1a.tscn index b09518e..cac8100 100644 --- a/levels/Campaign/Level 1/Level 1a.tscn +++ b/levels/Campaign/Level 1/Level 1a.tscn @@ -11,10 +11,6 @@ [node name="Level 1a" type="Node"] -[node name="Door" parent="." instance=ExtResource( 6 )] -position = Vector2( 2982, 320 ) -next_scene = "res://levels/Campaign/Level 2/Level 2.tscn" - [node name="ParallaxBackground" type="ParallaxBackground" parent="."] [node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] @@ -29,11 +25,13 @@ centered = false ]] tile_set = ExtResource( 1 ) cell_size = Vector2( 16, 16 ) +collision_layer = 2 +collision_mask = 0 format = 1 tile_data = PoolIntArray( -655360, 0, 8, -655359, 0, 10, -655358, 0, 10, -655357, 0, 10, -655356, 0, 10, -655355, 0, 10, -655354, 0, 10, -655353, 0, 10, -655352, 0, 10, -655351, 0, 10, -655350, 0, 10, -655349, 0, 10, -655348, 0, 10, -655347, 0, 10, -655346, 0, 10, -655345, 0, 11, -655339, 0, 8, -655338, 0, 10, -655337, 0, 10, -655336, 0, 10, -655335, 0, 10, -655334, 0, 10, -655333, 0, 10, -655332, 0, 10, -655331, 0, 10, -655330, 0, 11, -589824, 0, 65544, -589823, 0, 131081, -589822, 0, 131081, -589821, 0, 131081, -589820, 0, 131081, -589819, 0, 131081, -589818, 0, 131081, -589817, 0, 131081, -589816, 0, 131081, -589815, 0, 131081, -589814, 0, 131081, -589813, 0, 131081, -589812, 0, 131081, -589811, 0, 131081, -589810, 0, 131081, -589809, 0, 131083, -589803, 0, 65544, -589802, 0, 131081, -589801, 0, 131081, -589800, 0, 131081, -589799, 0, 131081, -589798, 0, 131081, -589797, 0, 131081, -589796, 0, 131081, -589795, 0, 131081, -589794, 0, 131083, -524288, 0, 65544, -524287, 0, 131081, -524286, 0, 131081, -524285, 0, 131081, -524284, 0, 131081, -524283, 0, 131081, -524282, 0, 131081, -524281, 0, 131081, -524280, 0, 131081, -524279, 0, 131081, -524278, 0, 131081, -524277, 0, 131081, -524276, 0, 131081, -524275, 0, 131081, -524274, 0, 131081, -524273, 0, 131083, -524267, 0, 65544, -524266, 0, 131081, -524265, 0, 131081, -524264, 0, 131081, -524263, 0, 131081, -524262, 0, 131081, -524261, 0, 131081, -524260, 0, 131081, -524259, 0, 131081, -524258, 0, 131083, -458752, 0, 65544, -458751, 0, 131081, -458750, 0, 131081, -458749, 0, 131081, -458748, 0, 131081, -458747, 0, 131081, -458746, 0, 131081, -458745, 0, 131081, -458744, 0, 131081, -458743, 0, 131081, -458742, 0, 131081, -458741, 0, 131081, -458740, 0, 131081, -458739, 0, 131081, -458738, 0, 131081, -458737, 0, 131083, -458731, 0, 65544, -458730, 0, 131081, -458729, 0, 131081, -458728, 0, 131081, -458727, 0, 131081, -458726, 0, 131081, -458725, 0, 131081, -458724, 0, 131081, -458723, 0, 131081, -458722, 0, 131083, -393216, 0, 65544, -393215, 0, 131081, -393214, 0, 131081, -393213, 0, 131081, -393212, 0, 131081, -393211, 0, 131081, -393210, 0, 131081, -393209, 0, 131081, -393208, 0, 131081, -393207, 0, 131081, -393206, 0, 131081, -393205, 0, 131081, -393204, 0, 131081, -393203, 0, 131081, -393202, 0, 131081, -393201, 0, 131083, -393195, 0, 65544, -393194, 0, 131081, -393193, 0, 131081, -393192, 0, 131081, -393191, 0, 131081, -393190, 0, 131081, -393189, 0, 131081, -393188, 0, 131081, -393187, 0, 131081, -393186, 0, 131083, -327680, 0, 65544, -327679, 0, 131081, -327678, 0, 131081, -327677, 0, 131081, -327676, 0, 131081, -327675, 0, 131081, -327674, 0, 131081, -327673, 0, 131081, -327672, 0, 131081, -327671, 0, 131081, -327670, 0, 131081, -327669, 0, 131081, -327668, 0, 131081, -327667, 0, 131081, -327666, 0, 131081, -327665, 0, 131083, -327659, 0, 65544, -327658, 0, 131081, -327657, 0, 131081, -327656, 0, 131081, -327655, 0, 131081, -327654, 0, 131081, -327653, 0, 131081, -327652, 0, 131081, -327651, 0, 131081, -327650, 0, 131083, -262144, 0, 65544, -262143, 0, 131081, -262142, 0, 131081, -262141, 0, 131081, -262140, 0, 131081, -262139, 0, 131081, -262138, 0, 131081, -262137, 0, 131081, -262136, 0, 131081, -262135, 0, 131081, -262134, 0, 131081, -262133, 0, 131081, -262132, 0, 131081, -262131, 0, 131081, -262130, 0, 131081, -262129, 0, 131083, -262123, 0, 65544, -262122, 0, 131081, -262121, 0, 131081, -262120, 0, 131081, -262119, 0, 131081, -262118, 0, 131081, -262117, 0, 131081, -262116, 0, 131081, -262115, 0, 131081, -262114, 0, 131083, -262080, 0, 8, -262079, 0, 11, -196608, 0, 65544, -196607, 0, 131081, -196606, 0, 131081, -196605, 0, 131081, -196604, 0, 131081, -196603, 0, 131081, -196602, 0, 131081, -196601, 0, 131081, -196600, 0, 131081, -196599, 0, 131081, -196598, 0, 131081, -196597, 0, 131081, -196596, 0, 131081, -196595, 0, 131081, -196594, 0, 131081, -196593, 0, 131083, -196587, 0, 65544, -196586, 0, 131081, -196585, 0, 131081, -196584, 0, 131081, -196583, 0, 131081, -196582, 0, 131081, -196581, 0, 131081, -196580, 0, 131081, -196579, 0, 131081, -196578, 0, 131083, -196545, 0, 8, -196544, 0, 65541, -196543, 0, 65542, -196542, 0, 11, -131072, 0, 65544, -131071, 0, 131081, -131070, 0, 131081, -131069, 0, 131081, -131068, 0, 131081, -131067, 0, 131081, -131066, 0, 131081, -131065, 0, 131081, -131064, 0, 131081, -131063, 0, 131081, -131062, 0, 131081, -131061, 0, 131081, -131060, 0, 131081, -131059, 0, 131081, -131058, 0, 131081, -131057, 0, 131083, -131051, 0, 65544, -131050, 0, 131081, -131049, 0, 131081, -131048, 0, 131081, -131047, 0, 131081, -131046, 0, 131081, -131045, 0, 131081, -131044, 0, 131081, -131043, 0, 131081, -131042, 0, 131083, -131010, 0, 8, -131009, 0, 65541, -131008, 0, 131081, -131007, 0, 131081, -131006, 0, 65542, -131005, 0, 11, -65536, 0, 65544, -65535, 0, 131081, -65534, 0, 131081, -65533, 0, 131081, -65532, 0, 131081, -65531, 0, 131081, -65530, 0, 131081, -65529, 0, 131081, -65528, 0, 131081, -65527, 0, 131081, -65526, 0, 131081, -65525, 0, 131081, -65524, 0, 131081, -65523, 0, 131081, -65522, 0, 131081, -65521, 0, 131083, -65515, 0, 65544, -65514, 0, 131081, -65513, 0, 131081, -65512, 0, 131081, -65511, 0, 131081, -65510, 0, 131081, -65509, 0, 131081, -65508, 0, 131081, -65507, 0, 131081, -65506, 0, 131083, -65475, 0, 8, -65474, 0, 65541, -65473, 0, 131081, -65472, 0, 131081, -65471, 0, 131081, -65470, 0, 131081, -65469, 0, 65542, -65468, 0, 11, 0, 0, 65544, 1, 0, 131081, 2, 0, 131081, 3, 0, 131081, 4, 0, 131081, 5, 0, 131081, 6, 0, 131081, 7, 0, 131081, 8, 0, 131081, 9, 0, 131081, 10, 0, 131081, 11, 0, 131081, 12, 0, 131081, 13, 0, 131081, 14, 0, 131081, 15, 0, 131083, 21, 0, 65544, 22, 0, 131081, 23, 0, 131081, 24, 0, 131081, 25, 0, 131081, 26, 0, 131081, 27, 0, 131081, 28, 0, 131081, 29, 0, 131081, 30, 0, 65542, 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, 6, 61, 0, 196613, 62, 0, 196617, 63, 0, 196617, 64, 0, 196617, 65, 0, 196617, 66, 0, 196617, 67, 0, 196617, 68, 0, 196619, 73, 0, 8, 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, 10, 133, 0, 10, 134, 0, 10, 135, 0, 10, 136, 0, 10, 137, 0, 10, 138, 0, 10, 139, 0, 10, 140, 0, 10, 141, 0, 10, 142, 0, 10, 143, 0, 10, 144, 0, 10, 145, 0, 10, 146, 0, 10, 147, 0, 10, 148, 0, 10, 149, 0, 10, 150, 0, 10, 151, 0, 10, 152, 0, 10, 153, 0, 10, 154, 0, 10, 155, 0, 10, 156, 0, 10, 157, 0, 10, 158, 0, 10, 159, 0, 10, 160, 0, 10, 161, 0, 10, 162, 0, 10, 163, 0, 10, 164, 0, 10, 165, 0, 10, 166, 0, 10, 167, 0, 10, 168, 0, 10, 169, 0, 10, 170, 0, 10, 171, 0, 10, 172, 0, 10, 173, 0, 10, 174, 0, 10, 175, 0, 10, 176, 0, 10, 177, 0, 10, 178, 0, 10, 179, 0, 10, 180, 0, 10, 181, 0, 10, 182, 0, 10, 183, 0, 10, 184, 0, 6, 185, 0, 196610, 186, 0, 196610, 187, 0, 196611, 189, 0, 0, 65536, 0, 65544, 65537, 0, 131081, 65538, 0, 131081, 65539, 0, 131081, 65540, 0, 131081, 65541, 0, 131081, 65542, 0, 131081, 65543, 0, 131081, 65544, 0, 131081, 65545, 0, 131081, 65546, 0, 131081, 65547, 0, 131081, 65548, 0, 131081, 65549, 0, 131081, 65550, 0, 131081, 65551, 0, 131083, 65557, 0, 65544, 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, 131078, 65567, 0, 196617, 65568, 0, 196617, 65569, 0, 196617, 65570, 0, 196617, 65571, 0, 196617, 65572, 0, 196617, 65573, 0, 196617, 65574, 0, 196617, 65575, 0, 196617, 65576, 0, 196617, 65577, 0, 196617, 65578, 0, 196617, 65579, 0, 196617, 65580, 0, 196617, 65581, 0, 196617, 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, 196619, 65609, 0, 196616, 65610, 0, 196617, 65611, 0, 196617, 65612, 0, 196617, 65613, 0, 196617, 65614, 0, 196617, 65615, 0, 196617, 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, 196617, 65649, 0, 196617, 65650, 0, 196617, 65651, 0, 196617, 65652, 0, 196617, 65653, 0, 196617, 65654, 0, 196617, 65655, 0, 196617, 65656, 0, 196617, 65657, 0, 196617, 65658, 0, 196617, 65659, 0, 196617, 65660, 0, 196617, 65661, 0, 196617, 65662, 0, 196617, 65663, 0, 196617, 65664, 0, 196617, 65665, 0, 196617, 65666, 0, 196617, 65667, 0, 196617, 65668, 0, 196617, 65669, 0, 196617, 65670, 0, 196617, 65671, 0, 196617, 65672, 0, 196617, 65673, 0, 196617, 65674, 0, 196617, 65675, 0, 196617, 65676, 0, 196617, 65677, 0, 196617, 65678, 0, 196617, 65679, 0, 196617, 65680, 0, 196617, 65681, 0, 196617, 65682, 0, 196617, 65683, 0, 196617, 65684, 0, 196617, 65685, 0, 196617, 65686, 0, 196617, 65687, 0, 196617, 65688, 0, 196617, 65689, 0, 131077, 65690, 0, 131081, 65691, 0, 131081, 65692, 0, 131081, 65693, 0, 131081, 65694, 0, 131081, 65695, 0, 131081, 65696, 0, 131081, 65697, 0, 131081, 65698, 0, 131081, 65699, 0, 131081, 65700, 0, 131081, 65701, 0, 131081, 65702, 0, 131081, 65703, 0, 131081, 65704, 0, 131081, 65705, 0, 131081, 65706, 0, 131081, 65707, 0, 131081, 65708, 0, 131081, 65709, 0, 131081, 65710, 0, 131081, 65711, 0, 131081, 65712, 0, 131081, 65713, 0, 131081, 65714, 0, 131081, 65715, 0, 131081, 65716, 0, 131081, 65717, 0, 131081, 65718, 0, 131081, 65719, 0, 131078, 65720, 0, 196619, 65725, 0, 65536, 131072, 0, 65544, 131073, 0, 131081, 131074, 0, 131081, 131075, 0, 131081, 131076, 0, 131081, 131077, 0, 131081, 131078, 0, 131081, 131079, 0, 131081, 131080, 0, 131081, 131081, 0, 131081, 131082, 0, 131081, 131083, 0, 131081, 131084, 0, 131081, 131085, 0, 131081, 131086, 0, 131081, 131087, 0, 131083, 131093, 0, 65544, 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, 131083, 131225, 0, 196616, 131226, 0, 131077, 131227, 0, 131081, 131228, 0, 131081, 131229, 0, 131081, 131230, 0, 131081, 131231, 0, 131081, 131232, 0, 131081, 131233, 0, 131081, 131234, 0, 131081, 131235, 0, 131081, 131236, 0, 131081, 131237, 0, 131081, 131238, 0, 131081, 131239, 0, 131081, 131240, 0, 131081, 131241, 0, 131081, 131242, 0, 131081, 131243, 0, 131081, 131244, 0, 131081, 131245, 0, 131081, 131246, 0, 131081, 131247, 0, 131081, 131248, 0, 131081, 131249, 0, 131081, 131250, 0, 131081, 131251, 0, 131081, 131252, 0, 131081, 131253, 0, 131081, 131254, 0, 131078, 131255, 0, 196619, 131261, 0, 65536, 196608, 0, 65544, 196609, 0, 131081, 196610, 0, 131081, 196611, 0, 131081, 196612, 0, 131081, 196613, 0, 131081, 196614, 0, 131081, 196615, 0, 131081, 196616, 0, 131081, 196617, 0, 131081, 196618, 0, 131081, 196619, 0, 131081, 196620, 0, 131081, 196621, 0, 131081, 196622, 0, 131081, 196623, 0, 131083, 196629, 0, 65544, 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, 131083, 196762, 0, 196616, 196763, 0, 131077, 196764, 0, 131081, 196765, 0, 131081, 196766, 0, 131081, 196767, 0, 131081, 196768, 0, 131081, 196769, 0, 131081, 196770, 0, 131081, 196771, 0, 131081, 196772, 0, 131081, 196773, 0, 131081, 196774, 0, 131081, 196775, 0, 131081, 196776, 0, 131081, 196777, 0, 131081, 196778, 0, 131081, 196779, 0, 131081, 196780, 0, 131081, 196781, 0, 131081, 196782, 0, 131081, 196783, 0, 131081, 196784, 0, 131081, 196785, 0, 131081, 196786, 0, 131081, 196787, 0, 131081, 196788, 0, 131081, 196789, 0, 131078, 196790, 0, 196619, 196797, 0, 65536, 262144, 0, 65544, 262145, 0, 131081, 262146, 0, 131081, 262147, 0, 131081, 262148, 0, 131081, 262149, 0, 131081, 262150, 0, 131081, 262151, 0, 131081, 262152, 0, 131081, 262153, 0, 131081, 262154, 0, 131081, 262155, 0, 131081, 262156, 0, 131081, 262157, 0, 131081, 262158, 0, 131081, 262159, 0, 131083, 262165, 0, 65544, 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, 131083, 262299, 0, 196616, 262300, 0, 131077, 262301, 0, 131081, 262302, 0, 131081, 262303, 0, 131081, 262304, 0, 131081, 262305, 0, 131081, 262306, 0, 131081, 262307, 0, 131081, 262308, 0, 131081, 262309, 0, 131081, 262310, 0, 131081, 262311, 0, 131081, 262312, 0, 131081, 262313, 0, 131081, 262314, 0, 131081, 262315, 0, 131081, 262316, 0, 131081, 262317, 0, 131081, 262318, 0, 131081, 262319, 0, 131081, 262320, 0, 131081, 262321, 0, 131081, 262322, 0, 131081, 262323, 0, 131081, 262324, 0, 131078, 262325, 0, 196619, 262333, 0, 65536, 327680, 0, 65544, 327681, 0, 131081, 327682, 0, 131081, 327683, 0, 131081, 327684, 0, 131081, 327685, 0, 131081, 327686, 0, 131081, 327687, 0, 131081, 327688, 0, 131081, 327689, 0, 131081, 327690, 0, 131081, 327691, 0, 131081, 327692, 0, 131081, 327693, 0, 131081, 327694, 0, 131081, 327695, 0, 131083, 327701, 0, 65544, 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, 131083, 327836, 0, 196616, 327837, 0, 131077, 327838, 0, 131081, 327839, 0, 131081, 327840, 0, 131081, 327841, 0, 131081, 327842, 0, 131081, 327843, 0, 131081, 327844, 0, 131081, 327845, 0, 131081, 327846, 0, 131081, 327847, 0, 131081, 327848, 0, 131081, 327849, 0, 131081, 327850, 0, 131081, 327851, 0, 131081, 327852, 0, 131081, 327853, 0, 131081, 327854, 0, 131081, 327855, 0, 131081, 327856, 0, 131081, 327857, 0, 131081, 327858, 0, 131081, 327859, 0, 131078, 327860, 0, 196619, 327869, 0, 65536, 393216, 0, 65544, 393217, 0, 131081, 393218, 0, 131081, 393219, 0, 131081, 393220, 0, 131081, 393221, 0, 131081, 393222, 0, 131081, 393223, 0, 131081, 393224, 0, 131081, 393225, 0, 131081, 393226, 0, 131081, 393227, 0, 131081, 393228, 0, 131081, 393229, 0, 131081, 393230, 0, 131081, 393231, 0, 131083, 393237, 0, 65544, 393238, 0, 131081, 393239, 0, 131081, 393240, 0, 131081, 393241, 0, 131081, 393242, 0, 131081, 393243, 0, 131081, 393244, 0, 131081, 393245, 0, 131081, 393246, 0, 131083, 393373, 0, 196616, 393374, 0, 131077, 393375, 0, 131081, 393376, 0, 131081, 393377, 0, 131081, 393378, 0, 131081, 393379, 0, 131081, 393380, 0, 131081, 393381, 0, 131078, 393382, 0, 196617, 393383, 0, 196617, 393384, 0, 196617, 393385, 0, 196617, 393386, 0, 196617, 393387, 0, 131077, 393388, 0, 131081, 393389, 0, 131081, 393390, 0, 131081, 393391, 0, 131081, 393392, 0, 131081, 393393, 0, 131081, 393394, 0, 131078, 393395, 0, 196619, 393405, 0, 65536, 458752, 0, 65544, 458753, 0, 131081, 458754, 0, 131081, 458755, 0, 131081, 458756, 0, 131081, 458757, 0, 131081, 458758, 0, 131081, 458759, 0, 131081, 458760, 0, 131081, 458761, 0, 131081, 458762, 0, 131081, 458763, 0, 131081, 458764, 0, 131081, 458765, 0, 131081, 458766, 0, 131081, 458767, 0, 131083, 458773, 0, 65544, 458774, 0, 131081, 458775, 0, 131081, 458776, 0, 131081, 458777, 0, 131081, 458778, 0, 131081, 458779, 0, 131081, 458780, 0, 131081, 458781, 0, 131081, 458782, 0, 131083, 458910, 0, 196616, 458911, 0, 131077, 458912, 0, 131081, 458913, 0, 131081, 458914, 0, 131081, 458915, 0, 131081, 458916, 0, 131081, 458917, 0, 131083, 458923, 0, 65544, 458924, 0, 131081, 458925, 0, 131081, 458926, 0, 131081, 458927, 0, 131081, 458928, 0, 131081, 458929, 0, 131078, 458930, 0, 196619, 458941, 0, 65536, 524288, 0, 65544, 524289, 0, 131081, 524290, 0, 131081, 524291, 0, 131081, 524292, 0, 131081, 524293, 0, 131081, 524294, 0, 131081, 524295, 0, 131081, 524296, 0, 131081, 524297, 0, 131081, 524298, 0, 131081, 524299, 0, 131081, 524300, 0, 131081, 524301, 0, 131081, 524302, 0, 131081, 524303, 0, 131083, 524309, 0, 65544, 524310, 0, 131081, 524311, 0, 131081, 524312, 0, 131081, 524313, 0, 131081, 524314, 0, 131081, 524315, 0, 131081, 524316, 0, 131081, 524317, 0, 131081, 524318, 0, 131083, 524447, 0, 196616, 524448, 0, 131077, 524449, 0, 131081, 524450, 0, 131081, 524451, 0, 131081, 524452, 0, 131081, 524453, 0, 131083, 524459, 0, 65544, 524460, 0, 131081, 524461, 0, 131081, 524462, 0, 131081, 524463, 0, 131081, 524464, 0, 131078, 524465, 0, 196619, 524477, 0, 65536, 589824, 0, 65544, 589825, 0, 131081, 589826, 0, 131081, 589827, 0, 131081, 589828, 0, 131081, 589829, 0, 131081, 589830, 0, 131081, 589831, 0, 131081, 589832, 0, 131081, 589833, 0, 131081, 589834, 0, 131081, 589835, 0, 131081, 589836, 0, 131081, 589837, 0, 131081, 589838, 0, 131078, 589839, 0, 196619, 589845, 0, 196616, 589846, 0, 131077, 589847, 0, 131081, 589848, 0, 131081, 589849, 0, 131081, 589850, 0, 131081, 589851, 0, 131081, 589852, 0, 131081, 589853, 0, 131081, 589854, 0, 131083, 589984, 0, 196616, 589985, 0, 131077, 589986, 0, 131081, 589987, 0, 131081, 589988, 0, 131081, 589989, 0, 131083, 589995, 0, 65544, 589996, 0, 131081, 589997, 0, 131081, 589998, 0, 131081, 589999, 0, 131078, 590000, 0, 196619, 590013, 0, 65536, 655360, 0, 65544, 655361, 0, 131081, 655362, 0, 131081, 655363, 0, 131081, 655364, 0, 131081, 655365, 0, 131081, 655366, 0, 131081, 655367, 0, 131081, 655368, 0, 131081, 655369, 0, 131081, 655370, 0, 131081, 655371, 0, 131081, 655372, 0, 131081, 655373, 0, 131078, 655374, 0, 196619, 655382, 0, 196616, 655383, 0, 131077, 655384, 0, 131081, 655385, 0, 131081, 655386, 0, 131081, 655387, 0, 131081, 655388, 0, 131081, 655389, 0, 131081, 655390, 0, 131083, 655521, 0, 196616, 655522, 0, 131077, 655523, 0, 131081, 655524, 0, 131081, 655525, 0, 131083, 655531, 0, 65544, 655532, 0, 131081, 655533, 0, 131081, 655534, 0, 131078, 655535, 0, 196619, 655549, 0, 65536, 720896, 0, 65544, 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, 131078, 720909, 0, 196619, 720919, 0, 196616, 720920, 0, 131077, 720921, 0, 131081, 720922, 0, 131081, 720923, 0, 131081, 720924, 0, 131081, 720925, 0, 131081, 720926, 0, 131083, 721058, 0, 196616, 721059, 0, 131077, 721060, 0, 131081, 721061, 0, 131083, 721067, 0, 65544, 721068, 0, 131081, 721069, 0, 131078, 721070, 0, 196619, 721085, 0, 65536, 786432, 0, 65544, 786433, 0, 131081, 786434, 0, 131081, 786435, 0, 131081, 786436, 0, 131081, 786437, 0, 131081, 786438, 0, 131081, 786439, 0, 131081, 786440, 0, 131081, 786441, 0, 131081, 786442, 0, 131081, 786443, 0, 131078, 786444, 0, 196619, 786456, 0, 196616, 786457, 0, 131077, 786458, 0, 131081, 786459, 0, 131081, 786460, 0, 131081, 786461, 0, 131081, 786462, 0, 131083, 786595, 0, 196616, 786596, 0, 131077, 786597, 0, 131083, 786603, 0, 65544, 786604, 0, 131078, 786605, 0, 196619, 786621, 0, 65536, 851968, 0, 65544, 851969, 0, 131081, 851970, 0, 131081, 851971, 0, 131081, 851972, 0, 131081, 851973, 0, 131081, 851974, 0, 131081, 851975, 0, 131081, 851976, 0, 131081, 851977, 0, 131081, 851978, 0, 131078, 851979, 0, 196619, 851993, 0, 196616, 851994, 0, 131077, 851995, 0, 131081, 851996, 0, 131081, 851997, 0, 131081, 851998, 0, 131083, 852132, 0, 196616, 852133, 0, 131079, 852139, 0, 131076, 852140, 0, 196619, 852157, 0, 65536, 917504, 0, 131076, 917505, 0, 196617, 917506, 0, 196617, 917507, 0, 196617, 917508, 0, 196617, 917509, 0, 196617, 917510, 0, 196617, 917511, 0, 196617, 917512, 0, 196617, 917513, 0, 196617, 917514, 0, 196619, 917530, 0, 196616, 917531, 0, 196617, 917532, 0, 196617, 917533, 0, 196617, 917534, 0, 196619, 917669, 0, 131073, 917670, 0, 5, 917671, 0, 10, 917672, 0, 10, 917673, 0, 10, 917674, 0, 6, 917675, 0, 131075, 917693, 0, 65536, 983040, 0, 65536, 983206, 0, 196616, 983207, 0, 131077, 983208, 0, 131081, 983209, 0, 131078, 983210, 0, 196619, 983229, 0, 65536, 1048576, 0, 65536, 1048681, 0, 196608, 1048683, 0, 196608, 1048686, 0, 196608, 1048743, 0, 196616, 1048744, 0, 196617, 1048745, 0, 196619, 1048765, 0, 65536, 1114112, 0, 65536, 1114213, 0, 196608, 1114215, 0, 196608, 1114301, 0, 65536, 1179648, 0, 65536, 1179712, 0, 8, 1179713, 0, 10, 1179714, 0, 11, 1179837, 0, 65536, 1245184, 0, 65536, 1245247, 0, 8, 1245248, 0, 65541, 1245249, 0, 131081, 1245250, 0, 65542, 1245251, 0, 11, 1245286, 0, 0, 1245373, 0, 65536, 1310720, 0, 65536, 1310730, 0, 0, 1310753, 0, 0, 1310782, 0, 8, 1310783, 0, 65541, 1310784, 0, 131081, 1310785, 0, 131081, 1310786, 0, 131081, 1310787, 0, 65542, 1310788, 0, 11, 1310822, 0, 131072, 1310888, 0, 0, 1310909, 0, 65536, 1376256, 0, 65536, 1376265, 0, 8, 1376266, 0, 9, 1376267, 0, 11, 1376288, 0, 8, 1376289, 0, 9, 1376290, 0, 11, 1376317, 0, 8, 1376318, 0, 65541, 1376319, 0, 131081, 1376320, 0, 131081, 1376321, 0, 131081, 1376322, 0, 131081, 1376323, 0, 131081, 1376324, 0, 65542, 1376325, 0, 11, 1376356, 0, 0, 1376360, 0, 0, 1376423, 0, 8, 1376424, 0, 9, 1376425, 0, 11, 1376445, 0, 65536, 1441792, 0, 65540, 1441793, 0, 10, 1441794, 0, 10, 1441795, 0, 10, 1441796, 0, 10, 1441797, 0, 10, 1441798, 0, 10, 1441799, 0, 10, 1441800, 0, 10, 1441801, 0, 65541, 1441802, 0, 131081, 1441803, 0, 65542, 1441804, 0, 10, 1441805, 0, 10, 1441806, 0, 10, 1441807, 0, 10, 1441808, 0, 10, 1441809, 0, 10, 1441810, 0, 10, 1441811, 0, 10, 1441812, 0, 10, 1441813, 0, 10, 1441814, 0, 10, 1441815, 0, 10, 1441816, 0, 10, 1441817, 0, 10, 1441818, 0, 10, 1441819, 0, 10, 1441820, 0, 10, 1441821, 0, 10, 1441822, 0, 10, 1441823, 0, 10, 1441824, 0, 65541, 1441825, 0, 131081, 1441826, 0, 65542, 1441827, 0, 10, 1441828, 0, 10, 1441829, 0, 10, 1441830, 0, 10, 1441831, 0, 10, 1441832, 0, 10, 1441833, 0, 10, 1441834, 0, 10, 1441835, 0, 10, 1441836, 0, 10, 1441837, 0, 10, 1441838, 0, 10, 1441839, 0, 10, 1441840, 0, 10, 1441841, 0, 10, 1441842, 0, 10, 1441843, 0, 10, 1441844, 0, 10, 1441845, 0, 10, 1441846, 0, 10, 1441847, 0, 10, 1441848, 0, 10, 1441849, 0, 10, 1441850, 0, 10, 1441851, 0, 10, 1441852, 0, 10, 1441853, 0, 65541, 1441854, 0, 131081, 1441855, 0, 131081, 1441856, 0, 131081, 1441857, 0, 131081, 1441858, 0, 131081, 1441859, 0, 131081, 1441860, 0, 131081, 1441861, 0, 65542, 1441862, 0, 10, 1441863, 0, 10, 1441864, 0, 10, 1441865, 0, 10, 1441866, 0, 10, 1441867, 0, 10, 1441868, 0, 10, 1441869, 0, 10, 1441870, 0, 10, 1441871, 0, 10, 1441872, 0, 10, 1441873, 0, 10, 1441874, 0, 10, 1441875, 0, 10, 1441876, 0, 10, 1441877, 0, 10, 1441878, 0, 10, 1441879, 0, 10, 1441880, 0, 10, 1441881, 0, 10, 1441882, 0, 10, 1441883, 0, 10, 1441884, 0, 10, 1441885, 0, 10, 1441886, 0, 10, 1441887, 0, 10, 1441888, 0, 10, 1441889, 0, 10, 1441890, 0, 10, 1441891, 0, 10, 1441892, 0, 9, 1441893, 0, 10, 1441894, 0, 10, 1441895, 0, 10, 1441896, 0, 9, 1441897, 0, 10, 1441898, 0, 10, 1441899, 0, 10, 1441900, 0, 10, 1441901, 0, 10, 1441902, 0, 10, 1441903, 0, 10, 1441904, 0, 10, 1441905, 0, 10, 1441906, 0, 10, 1441907, 0, 10, 1441908, 0, 10, 1441909, 0, 10, 1441910, 0, 10, 1441911, 0, 10, 1441912, 0, 10, 1441913, 0, 10, 1441914, 0, 10, 1441915, 0, 10, 1441916, 0, 10, 1441917, 0, 10, 1441918, 0, 10, 1441919, 0, 10, 1441920, 0, 10, 1441921, 0, 10, 1441922, 0, 10, 1441923, 0, 10, 1441924, 0, 10, 1441925, 0, 10, 1441926, 0, 10, 1441927, 0, 10, 1441928, 0, 10, 1441929, 0, 10, 1441930, 0, 10, 1441931, 0, 10, 1441932, 0, 10, 1441933, 0, 10, 1441934, 0, 10, 1441935, 0, 10, 1441936, 0, 10, 1441937, 0, 10, 1441938, 0, 10, 1441939, 0, 10, 1441940, 0, 10, 1441941, 0, 10, 1441942, 0, 10, 1441943, 0, 10, 1441944, 0, 10, 1441945, 0, 10, 1441946, 0, 10, 1441947, 0, 10, 1441948, 0, 10, 1441949, 0, 10, 1441950, 0, 10, 1441951, 0, 10, 1441952, 0, 10, 1441953, 0, 10, 1441954, 0, 10, 1441955, 0, 10, 1441956, 0, 10, 1441957, 0, 10, 1441958, 0, 10, 1441959, 0, 65541, 1441960, 0, 131081, 1441961, 0, 65542, 1441962, 0, 10, 1441963, 0, 10, 1441964, 0, 10, 1441965, 0, 10, 1441966, 0, 10, 1441967, 0, 10, 1441968, 0, 10, 1441969, 0, 10, 1441970, 0, 10, 1441971, 0, 10, 1441972, 0, 10, 1441973, 0, 10, 1441974, 0, 10, 1441975, 0, 10, 1441976, 0, 10, 1441977, 0, 10, 1441978, 0, 10, 1441979, 0, 10, 1441980, 0, 10, 1441981, 0, 65543, 1507328, 0, 196616, 1507329, 0, 196617, 1507330, 0, 196617, 1507331, 0, 196617, 1507332, 0, 196617, 1507333, 0, 196617, 1507334, 0, 196617, 1507335, 0, 196617, 1507336, 0, 196617, 1507337, 0, 196617, 1507338, 0, 196617, 1507339, 0, 196617, 1507340, 0, 196617, 1507341, 0, 196617, 1507342, 0, 196617, 1507343, 0, 196617, 1507344, 0, 196617, 1507345, 0, 196617, 1507346, 0, 196617, 1507347, 0, 196617, 1507348, 0, 196617, 1507349, 0, 196617, 1507350, 0, 196617, 1507351, 0, 196617, 1507352, 0, 196617, 1507353, 0, 196617, 1507354, 0, 196617, 1507355, 0, 196617, 1507356, 0, 196617, 1507357, 0, 196617, 1507358, 0, 196617, 1507359, 0, 196617, 1507360, 0, 196617, 1507361, 0, 196617, 1507362, 0, 196617, 1507363, 0, 196617, 1507364, 0, 196617, 1507365, 0, 196617, 1507366, 0, 196617, 1507367, 0, 196617, 1507368, 0, 196617, 1507369, 0, 196617, 1507370, 0, 196617, 1507371, 0, 196617, 1507372, 0, 196617, 1507373, 0, 196617, 1507374, 0, 196617, 1507375, 0, 196617, 1507376, 0, 196617, 1507377, 0, 196617, 1507378, 0, 196617, 1507379, 0, 196617, 1507380, 0, 196617, 1507381, 0, 196617, 1507382, 0, 196617, 1507383, 0, 196617, 1507384, 0, 196617, 1507385, 0, 196617, 1507386, 0, 196617, 1507387, 0, 196617, 1507388, 0, 196617, 1507389, 0, 196617, 1507390, 0, 196617, 1507391, 0, 196617, 1507392, 0, 196617, 1507393, 0, 196617, 1507394, 0, 196617, 1507395, 0, 196617, 1507396, 0, 196617, 1507397, 0, 196617, 1507398, 0, 196617, 1507399, 0, 196617, 1507400, 0, 196617, 1507401, 0, 196617, 1507402, 0, 196617, 1507403, 0, 196617, 1507404, 0, 196617, 1507405, 0, 196617, 1507406, 0, 196617, 1507407, 0, 196617, 1507408, 0, 196617, 1507409, 0, 196617, 1507410, 0, 196617, 1507411, 0, 196617, 1507412, 0, 196617, 1507413, 0, 196617, 1507414, 0, 196617, 1507415, 0, 196617, 1507416, 0, 196617, 1507417, 0, 196617, 1507418, 0, 196617, 1507419, 0, 196617, 1507420, 0, 196617, 1507421, 0, 196617, 1507422, 0, 196617, 1507423, 0, 196617, 1507424, 0, 196617, 1507425, 0, 196617, 1507426, 0, 196617, 1507427, 0, 196617, 1507428, 0, 196617, 1507429, 0, 196617, 1507430, 0, 196617, 1507431, 0, 196617, 1507432, 0, 196617, 1507433, 0, 196617, 1507434, 0, 196617, 1507435, 0, 196617, 1507436, 0, 196617, 1507437, 0, 196617, 1507438, 0, 196617, 1507439, 0, 196617, 1507440, 0, 196617, 1507441, 0, 196617, 1507442, 0, 196617, 1507443, 0, 196617, 1507444, 0, 196617, 1507445, 0, 196617, 1507446, 0, 196617, 1507447, 0, 196617, 1507448, 0, 196617, 1507449, 0, 196617, 1507450, 0, 196617, 1507451, 0, 196617, 1507452, 0, 196617, 1507453, 0, 196617, 1507454, 0, 196617, 1507455, 0, 196617, 1507456, 0, 196617, 1507457, 0, 196617, 1507458, 0, 196617, 1507459, 0, 196617, 1507460, 0, 196617, 1507461, 0, 196617, 1507462, 0, 196617, 1507463, 0, 196617, 1507464, 0, 196617, 1507465, 0, 196617, 1507466, 0, 196617, 1507467, 0, 196617, 1507468, 0, 196617, 1507469, 0, 196617, 1507470, 0, 196617, 1507471, 0, 196617, 1507472, 0, 196617, 1507473, 0, 196617, 1507474, 0, 196617, 1507475, 0, 196617, 1507476, 0, 196617, 1507477, 0, 196617, 1507478, 0, 196617, 1507479, 0, 196617, 1507480, 0, 196617, 1507481, 0, 196617, 1507482, 0, 196617, 1507483, 0, 196617, 1507484, 0, 196617, 1507485, 0, 196617, 1507486, 0, 196617, 1507487, 0, 196617, 1507488, 0, 196617, 1507489, 0, 196617, 1507490, 0, 196617, 1507491, 0, 196617, 1507492, 0, 196617, 1507493, 0, 196617, 1507494, 0, 196617, 1507495, 0, 196617, 1507496, 0, 196617, 1507497, 0, 196617, 1507498, 0, 196617, 1507499, 0, 196617, 1507500, 0, 196617, 1507501, 0, 196617, 1507502, 0, 196617, 1507503, 0, 196617, 1507504, 0, 196617, 1507505, 0, 196617, 1507506, 0, 196617, 1507507, 0, 196617, 1507508, 0, 196617, 1507509, 0, 196617, 1507510, 0, 196617, 1507511, 0, 196617, 1507512, 0, 196617, 1507513, 0, 196617, 1507514, 0, 196617, 1507515, 0, 196617, 1507516, 0, 196617, 1507517, 0, 196619 ) [node name="Player" parent="." instance=ExtResource( 3 )] -position = Vector2( 2966, 347 ) +position = Vector2( 295.571, 24.0416 ) [node name="Enemiees" type="Node" parent="."] @@ -83,3 +81,6 @@ position = Vector2( 2697.87, 180.422 ) stream = ExtResource( 8 ) volume_db = -17.175 autoplay = true + +[node name="Door" parent="." instance=ExtResource( 6 )] +position = Vector2( 2982, 320 ) diff --git a/magic/Wands/ChargedWand.gd b/magic/Wands/ChargedWand.gd index 5de8739..3bbadc6 100644 --- a/magic/Wands/ChargedWand.gd +++ b/magic/Wands/ChargedWand.gd @@ -30,7 +30,6 @@ func _input(event): if charge_level <= 0: charge_level = 0 return - print(charge_level) var temp = projectile.instance() get_tree().current_scene.add_child(temp) temp.global_transform = $ProjectileSpawn.global_transform diff --git a/magic/Wands/PrismWand.gd b/magic/Wands/PrismWand.gd index 1d6a5ee..7ec2290 100644 --- a/magic/Wands/PrismWand.gd +++ b/magic/Wands/PrismWand.gd @@ -26,7 +26,7 @@ func fire(projectile): var beam = get_beam_type(projectile) if beam != null: beam.activate() - if $ShootDelay.is_stopped(): + if $ShootDelay.is_stopped() and beam != null: $ShootDelay.start() var c = beam.get_collider() if typeof(c) == TYPE_ARRAY: @@ -34,11 +34,12 @@ func fire(projectile): if body != null and body.has_method("get_type") && body.get_type() == "enemy": body.health -= beam.damage body.play_hit() + return beam.energy_cost else: if c != null and c.has_method("get_type") && c.get_type() == "enemy": c.health -= beam.damage c.play_hit() - return 0 + return beam.energy_cost func _input(event): if event.is_action_released("shoot"): diff --git a/project.godot b/project.godot index b6827d5..946cb89 100644 --- a/project.godot +++ b/project.godot @@ -57,6 +57,7 @@ _global_script_class_icons={ [application] config/name="Gamejam" +run/main_scene="res://levels/Campaign/Level0.tscn" config/icon="res://icon.png" [autoload]