diff --git a/art/WhiteProjectile.png b/art/WhiteProjectile.png new file mode 100644 index 0000000..a4113d8 Binary files /dev/null and b/art/WhiteProjectile.png differ diff --git a/art/WhiteProjectile.png.import b/art/WhiteProjectile.png.import new file mode 100644 index 0000000..eab4175 --- /dev/null +++ b/art/WhiteProjectile.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/WhiteProjectile.png-df2ccfc491986f2b46f065aa5b4c36fa.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://art/WhiteProjectile.png" +dest_files=[ "res://.import/WhiteProjectile.png-df2ccfc491986f2b46f065aa5b4c36fa.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/characters/Player.tscn b/characters/Player.tscn index 5865aa2..2f9ef45 100644 --- a/characters/Player.tscn +++ b/characters/Player.tscn @@ -64,6 +64,7 @@ tracks/0/keys = { script = ExtResource( 1 ) [node name="Node2D" parent="." instance=ExtResource( 2 )] +current = true smoothing_enabled = true drag_margin_left = 0.0 drag_margin_top = 0.75 diff --git a/levels/test.tscn b/levels/test.tscn index 715a092..c63acf8 100644 --- a/levels/test.tscn +++ b/levels/test.tscn @@ -9,4 +9,4 @@ position = Vector2( 42, 154 ) [node name="TileMap" parent="." instance=ExtResource( 2 )] -tile_data = PoolIntArray( -262145, 0, 8, -327680, 0, 10, -327679, 0, 10, -327678, 0, 10, -327677, 0, 10, -327676, 0, 10, -327675, 0, 10, -327674, 0, 10, -327673, 0, 10, -327672, 0, 10, -327671, 0, 10, -327670, 0, 10, -327669, 0, 10, -327668, 0, 10, -327667, 0, 10, -327666, 0, 10, -327665, 0, 10, -327664, 0, 10, -327663, 0, 10, -327662, 0, 10, -327661, 0, 10, -327660, 0, 11, -196609, 0, 65544, -262144, 0, 131078, -262143, 0, 196617, -262142, 0, 196617, -262141, 0, 196617, -262140, 0, 196617, -262139, 0, 196617, -262138, 0, 196617, -262137, 0, 196617, -262136, 0, 196617, -262135, 0, 196617, -262134, 0, 196617, -262133, 0, 196617, -262132, 0, 196617, -262131, 0, 196617, -262130, 0, 196617, -262129, 0, 196617, -262128, 0, 196617, -262127, 0, 196617, -262126, 0, 196617, -262125, 0, 196617, -262124, 0, 196619, -131073, 0, 65544, -196608, 0, 131083, -65537, 0, 65544, -131072, 0, 131083, -1, 0, 65544, -65536, 0, 131083, 65535, 0, 65544, 0, 0, 131083, 131071, 0, 65544, 65536, 0, 131083, 196607, 0, 65544, 131072, 0, 131083, 262143, 0, 65544, 196608, 0, 131083, 327679, 0, 65544, 262144, 0, 131083, 393215, 0, 65544, 327680, 0, 131083, 458751, 0, 65544, 393216, 0, 131083, 524287, 0, 65544, 458752, 0, 131083, 589823, 0, 65544, 524288, 0, 131083, 655359, 0, 65544, 589824, 0, 131083, 720895, 0, 65544, 655360, 0, 65542, 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, 11, 786431, 0, 196616, 720896, 0, 196617, 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, 196617, 720917, 0, 196617, 720918, 0, 196617, 720919, 0, 196617, 720920, 0, 196617, 720921, 0, 196617, 720922, 0, 196617, 720923, 0, 196617, 720924, 0, 196617, 720925, 0, 196617, 720926, 0, 196617, 720927, 0, 196617, 720928, 0, 196617, 720929, 0, 196619 ) +tile_data = PoolIntArray( -262145, 0, 8, -327680, 0, 10, -327679, 0, 10, -327678, 0, 10, -327677, 0, 10, -327676, 0, 10, -327675, 0, 10, -327674, 0, 10, -327673, 0, 10, -327672, 0, 10, -327671, 0, 10, -327670, 0, 10, -327669, 0, 10, -327668, 0, 10, -327667, 0, 10, -327666, 0, 10, -327665, 0, 10, -327664, 0, 10, -327663, 0, 10, -327662, 0, 10, -327661, 0, 10, -327660, 0, 10, -327659, 0, 10, -327658, 0, 10, -327657, 0, 10, -327656, 0, 10, -327655, 0, 10, -327654, 0, 10, -327653, 0, 10, -327652, 0, 10, -327651, 0, 10, -327650, 0, 10, -327649, 0, 10, -327648, 0, 10, -327647, 0, 11, -196609, 0, 65544, -262144, 0, 131078, -262143, 0, 196617, -262142, 0, 196617, -262141, 0, 196617, -262140, 0, 196617, -262139, 0, 196617, -262138, 0, 196617, -262137, 0, 196617, -262136, 0, 196617, -262135, 0, 196617, -262134, 0, 196617, -262133, 0, 196617, -262132, 0, 196617, -262131, 0, 196617, -262130, 0, 196617, -262129, 0, 196617, -262128, 0, 196617, -262127, 0, 196617, -262126, 0, 196617, -262125, 0, 196617, -262124, 0, 196617, -262123, 0, 196617, -262122, 0, 196617, -262121, 0, 196617, -262120, 0, 196617, -262119, 0, 196617, -262118, 0, 196617, -262117, 0, 196617, -262116, 0, 196617, -262115, 0, 196617, -262114, 0, 196617, -262113, 0, 196617, -262112, 0, 131077, -262111, 0, 131083, -131073, 0, 65544, -196608, 0, 131083, -196576, 0, 65544, -196575, 0, 131083, -65537, 0, 65544, -131072, 0, 131083, -131040, 0, 65544, -131039, 0, 131083, -1, 0, 65544, -65536, 0, 131083, -65504, 0, 65544, -65503, 0, 131083, 65535, 0, 65544, 0, 0, 131083, 32, 0, 65544, 33, 0, 131083, 131071, 0, 65544, 65536, 0, 131083, 65568, 0, 65544, 65569, 0, 131083, 196607, 0, 65544, 131072, 0, 131083, 131104, 0, 65544, 131105, 0, 131083, 262143, 0, 65544, 196608, 0, 131083, 196640, 0, 65544, 196641, 0, 131083, 327679, 0, 65544, 262144, 0, 131083, 262176, 0, 65544, 262177, 0, 131083, 393215, 0, 65544, 327680, 0, 131083, 327712, 0, 65544, 327713, 0, 131083, 458751, 0, 65544, 393216, 0, 131083, 393248, 0, 65544, 393249, 0, 131083, 524287, 0, 65544, 458752, 0, 131083, 458784, 0, 65544, 458785, 0, 131083, 589823, 0, 65544, 524288, 0, 131083, 524320, 0, 65544, 524321, 0, 131083, 655359, 0, 65544, 589824, 0, 131083, 589856, 0, 65544, 589857, 0, 131083, 720895, 0, 65544, 655360, 0, 65542, 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, 65541, 655393, 0, 131083, 786431, 0, 196616, 720896, 0, 196617, 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, 196617, 720917, 0, 196617, 720918, 0, 196617, 720919, 0, 196617, 720920, 0, 196617, 720921, 0, 196617, 720922, 0, 196617, 720923, 0, 196617, 720924, 0, 196617, 720925, 0, 196617, 720926, 0, 196617, 720927, 0, 196617, 720928, 0, 196617, 720929, 0, 196619 ) diff --git a/script/player camera.gd b/script/player camera.gd index c2a328b..2bcfc9a 100644 --- a/script/player camera.gd +++ b/script/player camera.gd @@ -42,4 +42,3 @@ func check_facing(): func _on_grounded_updated(is_grounded): drag_margin_v_enabled = !is_grounded - print(is_grounded)