From d6f592519882bcd8e10633b121ade96ca4cf18bf Mon Sep 17 00:00:00 2001 From: pennyrigate Date: Thu, 17 Jul 2025 19:30:12 -0400 Subject: [PATCH] pennymeat --- maps/future/pennymeat.gd | 42 ++++++ maps/future/pennymeat.tscn | 262 +++++++++++++++++++++++++++++++++++++ objects/player/player.gd | 5 +- objects/player/player.tscn | 8 +- 4 files changed, 311 insertions(+), 6 deletions(-) create mode 100644 maps/future/pennymeat.gd create mode 100644 maps/future/pennymeat.tscn diff --git a/maps/future/pennymeat.gd b/maps/future/pennymeat.gd new file mode 100644 index 0000000..7621be0 --- /dev/null +++ b/maps/future/pennymeat.gd @@ -0,0 +1,42 @@ +extends "res://maps/map.gd" + + +const Lightning = preload("res://objects/gfx/lightning.tscn") + + +export var min_interval: float +export var max_interval: float +export var fade_time: float + + +onready var lightning_spawn: Node2D = $"%LightningSpawn" +onready var bright_sky: ColorRect = $"%BrightSky" +onready var lightning_timer: Timer = $"%LightningTimer" +onready var clouds: Sprite = $"%Clouds" + + +var slaughter_shard_collected := false + + +func _spawn_lightning(): + var bolt = Lightning.instance() + bright_sky.modulate.a = 1.0 + clouds.modulate = Color(1.2, 1.2, 1.2) + bolt.position.x = rand_range(-100.0, 100.0) + bolt.fade_time = fade_time + lightning_spawn.add_child(bolt) + var tween = create_tween() + tween.set_parallel(true) + tween.tween_property(bright_sky, "modulate:a", 0.0, fade_time).set_trans(Tween.TRANS_EXPO) + tween.tween_property(clouds, "modulate", Color.white, fade_time).set_trans(Tween.TRANS_EXPO) + lightning_timer.start(rand_range(min_interval, max_interval)) + + +func _physics_process(delta): + ._physics_process(delta) + if get_tree().get_nodes_in_group("enemy").size() == 0: + if not slaughter_shard_collected: + Audio.play_shard_sound() + Game.score += 500 + Game.shards_collected[0] = true + slaughter_shard_collected = true diff --git a/maps/future/pennymeat.tscn b/maps/future/pennymeat.tscn new file mode 100644 index 0000000..c3d6410 --- /dev/null +++ b/maps/future/pennymeat.tscn @@ -0,0 +1,262 @@ +[gd_scene load_steps=20 format=2] + +[ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=1] +[ext_resource path="res://maps/future/mountain_future.gd" type="Script" id=2] +[ext_resource path="res://graphics/backgrounds/future/mountain_mountain_future.png" type="Texture" id=3] +[ext_resource path="res://graphics/backgrounds/future/mountain_clouds_future.png" type="Texture" id=4] +[ext_resource path="res://graphics/backgrounds/future/mountain_sunset_future.png" type="Texture" id=5] +[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=6] +[ext_resource path="res://tilesets/future/t_mountain_future.tres" type="TileSet" id=7] +[ext_resource path="res://objects/enemy/pigs/spoink.tscn" type="PackedScene" id=8] +[ext_resource path="res://objects/enemy/eel.tscn" type="PackedScene" id=9] +[ext_resource path="res://shaders/can_stain.tres" type="Material" id=11] +[ext_resource path="res://objects/collectibles/star.tscn" type="PackedScene" id=14] +[ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=17] +[ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=21] +[ext_resource path="res://tilesets/t_death.tres" type="TileSet" id=22] +[ext_resource path="res://tilesets/t_ladders.tres" type="TileSet" id=23] +[ext_resource path="res://objects/environment/exit/exit.tscn" type="PackedScene" id=26] +[ext_resource path="res://graphics/particles/raindrop.png" type="Texture" id=33] + +[sub_resource type="Curve2D" id=11] +_data = { +"points": PoolVector2Array( -8.18949, 14.1741, 8.18949, -14.1741, 16, -64, -9.43874, -3.7755, 9.43874, 3.7755, 40, -64, -2.83162, -6.60712, 2.83162, 6.60712, 48, -48, -4.4834, -13.9221, 4.4834, 13.9221, 72, -32, 1.88775, -10.8546, -1.88775, 10.8546, 56, -8, -1.65178, -6.84309, 1.65178, 6.84309, 64, 8, 1.17984, -7.07906, -1.17984, 7.07906, 56, 24, 6.84309, -5.66325, -6.84309, 5.66325, 64, 40, 10.1466, -1.88775, -10.1466, 1.88775, 32, 40, -25.3906, 7.57264, 25.3906, -7.57264, 24, 48, 6.90446, 2.44997, -6.90446, -2.44997, 0, 48, 7.12719, -4.23177, -7.12719, 4.23177, -24, 48, 5.34539, 9.57716, -5.34539, -9.57716, -32, 39, 7.12719, 18.2634, -7.12719, -18.2634, -56, 32, -25.5844, -4.02871, 25.5844, 4.02871, -64, 0, 6.61459, 33.0729, -6.61459, -33.0729, -89, -7, -5.35466, 7.24455, 5.35466, -7.24455, -64, -24, -14.4891, 8.81945, 14.4891, -8.81945, -80, -56, -13.5442, -1.25992, 13.5442, 1.25992, -40, -40, -14.1741, -0.629961, 14.1741, 0.629961, -16, -64, -14.4891, -3.46478, 14.4891, 3.46478, 0, -48, -2.83482, 5.98462, 2.83482, -5.98462, 16, -64 ) +} + +[sub_resource type="Animation" id=10] +resource_name = "liftoff" +length = 3.0 +step = 0.05 +tracks/0/type = "value" +tracks/0/path = NodePath("Background/BackgroundMountain/Mountain:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.0530503, 0.10305, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.8, 3 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ), +"update": 0, +"values": [ Vector2( 128, 96 ), Vector2( 124, 96 ), Vector2( 132, 96 ), Vector2( 128, 96 ), Vector2( 124, 96 ), Vector2( 132, 96 ), Vector2( 128, 96 ), Vector2( 124, 96 ), Vector2( 132, 96 ), Vector2( 128, 96 ), Vector2( 124, 96 ), Vector2( 132, 96 ), Vector2( 128, 96 ), Vector2( 128, 96 ), Vector2( 128, -999 ) ] +} + +[node name="Map2" type="Node2D" groups=["map"]] +pause_mode = 1 +script = ExtResource( 2 ) +__meta__ = { +"_edit_horizontal_guides_": [ -192.0, 191.0, 384.0 ], +"_edit_vertical_guides_": [ 256.0, 0.0, 512.0, -256.0 ] +} +min_interval = 1.0 +max_interval = 8.0 +fade_time = 1.0 + +[node name="LightningTimer" type="Timer" parent="."] +unique_name_in_owner = true +wait_time = 5.0 +one_shot = true +autostart = true + +[node name="Background" type="Node" parent="."] + +[node name="Background" type="CanvasLayer" parent="Background"] +layer = -101 + +[node name="Sky" type="Sprite" parent="Background/Background"] +modulate = Color( 0.643137, 0.160784, 0.00784314, 1 ) +position = Vector2( 128, 96 ) +z_index = -2 +texture = ExtResource( 5 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="BrightSky" type="ColorRect" parent="Background/Background"] +unique_name_in_owner = true +modulate = Color( 1, 1, 1, 0 ) +anchor_right = 1.0 +anchor_bottom = 1.0 +color = Color( 0.976471, 0.729412, 0.341176, 1 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="BackgroundMountain" type="CanvasLayer" parent="Background"] +layer = -100 +visible = false +follow_viewport_enable = true +follow_viewport_scale = 0.25 + +[node name="Mountain" type="Sprite" parent="Background/BackgroundMountain"] +position = Vector2( 128, 96 ) +scale = Vector2( 4, 4 ) +z_index = -2 +texture = ExtResource( 3 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="Background2" type="CanvasLayer" parent="Background"] +layer = -100 + +[node name="LightningSpawn" type="Node2D" parent="Background/Background2"] +unique_name_in_owner = true +position = Vector2( 128, 36 ) + +[node name="Clouds" type="Sprite" parent="Background/Background2"] +pause_mode = 1 +unique_name_in_owner = true +position = Vector2( 128, 96 ) +texture = ExtResource( 4 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="RainLayer" type="CanvasLayer" parent="."] +layer = 50 + +[node name="CPUParticles2D" type="CPUParticles2D" parent="RainLayer"] +position = Vector2( 104, 0 ) +amount = 48 +lifetime = 0.85 +preprocess = 1.0 +texture = ExtResource( 33 ) +emission_shape = 2 +emission_rect_extents = Vector2( 160, 0 ) +flag_align_y = true +direction = Vector2( 0.2, 1 ) +spread = 5.0 +gravity = Vector2( 0, 0 ) +initial_velocity = 250.0 + +[node name="Ground" type="TileMap" parent="." groups=["can_stain"]] +light_mask = 3 +material = ExtResource( 11 ) +tile_set = ExtResource( 7 ) +cell_size = Vector2( 8, 8 ) +format = 1 +tile_data = PoolIntArray( -1703878, 4, 1, -1703877, 4, 65539, -1638341, 4, 131072, -1507344, 4, 1, -1507343, 4, 2, -1507342, 4, 2, -1507341, 4, 2, -1507340, 4, 2, -1507339, 4, 2, -1507338, 4, 2, -1507337, 4, 2, -1507336, 4, 2, -1507335, 4, 2, -1507334, 4, 2, -1507333, 4, 2, -1507332, 4, 2, -1507331, 4, 3, -1572856, 4, 1, -1572855, 4, 2, -1572854, 4, 2, -1572853, 4, 2, -1572852, 4, 2, -1572851, 4, 3, -1572841, 4, 65536, -1572811, 4, 65537, -1572810, 4, 2, -1572809, 4, 3, -1572805, 4, 131073, -1572804, 4, 3, -1441809, 4, 65536, -1441794, 4, 1, -1441793, 4, 2, -1507328, 4, 2, -1507327, 4, 2, -1507326, 4, 2, -1507325, 4, 2, -1507324, 4, 2, -1507323, 4, 2, -1507322, 4, 2, -1507321, 4, 3, -1507314, 4, 1, -1507313, 4, 2, -1507312, 4, 2, -1507311, 4, 2, -1507310, 4, 2, -1507309, 4, 2, -1507308, 4, 2, -1507307, 4, 2, -1507306, 4, 2, -1507305, 4, 196610, -1507304, 4, 2, -1507303, 4, 2, -1507302, 4, 3, -1507292, 4, 1, -1507291, 4, 2, -1507290, 4, 2, -1507289, 4, 2, -1507288, 4, 2, -1507287, 4, 65539, -1507275, 4, 131072, -1507272, 4, 1, -1507271, 4, 2, -1507270, 4, 65538, -1507269, 4, 196611, -1507267, 4, 65536, -1376275, 4, 1, -1376274, 4, 2, -1376273, 4, 196611, -1441765, 4, 1, -1441764, 4, 2, -1441763, 4, 2, -1441762, 4, 2, -1441761, 4, 2, -1441760, 4, 2, -1441759, 4, 2, -1441758, 4, 2, -1441757, 4, 3, -1441751, 4, 196609, -1441750, 4, 2, -1441749, 4, 2, -1441748, 4, 2, -1441747, 4, 2, -1441746, 4, 2, -1441745, 4, 65539, -1441739, 4, 196608, -1441734, 4, 131072, -1441732, 4, 65537, -1441731, 4, 196610, -1441730, 4, 65539, -1310741, 4, 1, -1310740, 4, 3, -1376209, 4, 196609, -1376208, 4, 2, -1376207, 4, 2, -1376206, 4, 2, -1376205, 4, 2, -1376204, 4, 3, -1376198, 4, 196608, -1376196, 4, 131072, -1376194, 4, 131072, -1245207, 4, 65537, -1245206, 4, 3, -1310661, 4, 65537, -1310660, 4, 131074, -1310659, 4, 65538, -1310658, 4, 196611, -1179672, 4, 65537, -1179671, 4, 196611, -1245125, 4, 196609, -1245124, 4, 131074, -1245123, 4, 131075, -1114136, 4, 131072, -1179588, 4, 131073, -1179587, 4, 131075, -1048600, 4, 131072, -1114052, 4, 131073, -1114051, 4, 131075, -983064, 4, 131072, -1048516, 4, 196609, -1048515, 4, 196610, -1048514, 4, 65539, -917528, 4, 131072, -982978, 4, 131072, -851992, 4, 131072, -917442, 4, 131072, -786456, 4, 131072, -851906, 4, 131072, -720920, 4, 131072, -786370, 4, 131072, -655384, 4, 196608, -720834, 4, 131072, -589849, 4, 65536, -655298, 4, 131072, -524313, 4, 196608, -589763, 4, 65537, -589762, 4, 131075, -458778, 4, 0, -524228, 4, 1, -524227, 4, 131074, -524226, 4, 131075, -393243, 4, 65536, -458691, 4, 131073, -458690, 4, 131074, -458689, 4, 65539, -327707, 4, 131072, -393155, 4, 196609, -393154, 4, 131074, -393153, 4, 131075, -262172, 4, 65537, -262171, 4, 196611, -327618, 4, 131073, -327617, 4, 196611, -196636, 4, 131072, -262082, 4, 131072, -131100, 4, 131072, -131096, 4, 65536, -131090, 4, 1, -131089, 4, 65539, -196546, 4, 131072, -65564, 4, 131072, -65560, 4, 131072, -65559, 0, 196609, -65558, 0, 196609, -65557, 0, 196609, -65556, 0, 196609, -65555, 4, 65536, -65553, 4, 131072, -131010, 4, 131072, -28, 4, 131073, -27, 4, 65539, -24, 4, 131072, -19, 4, 131073, -18, 4, 65538, -17, 4, 131075, -65475, 4, 65537, -65474, 4, 131075, 65508, 4, 131073, 65509, 4, 131075, 65511, 4, 65537, 65512, 4, 131075, 65517, 4, 131073, 65518, 4, 131074, 65519, 4, 196611, 27, 4, 0, 29, 4, 1, 30, 4, 2, 31, 4, 2, 32, 4, 2, 33, 4, 65539, 35, 4, 65536, 60, 4, 65537, 61, 4, 196610, 62, 4, 196611, 131044, 4, 131073, 131045, 4, 131074, 131046, 4, 2, 131047, 4, 131074, 131048, 4, 196611, 131053, 4, 131073, 131054, 4, 131075, 65564, 4, 65536, 65569, 4, 131073, 65570, 4, 65538, 65571, 4, 196610, 65572, 4, 2, 65573, 4, 2, 65574, 4, 2, 65575, 4, 2, 65576, 4, 65539, 65596, 4, 131072, 196579, 4, 65537, 196580, 4, 196610, 196581, 4, 131075, 196583, 4, 131072, 196589, 4, 131073, 196590, 4, 196611, 131100, 4, 196609, 131101, 4, 2, 131102, 4, 65538, 131103, 4, 65538, 131104, 4, 2, 131105, 4, 196610, 131106, 4, 196611, 131112, 4, 196609, 131113, 4, 2, 131114, 4, 65539, 131116, 4, 65536, 131132, 4, 131072, 262115, 4, 131072, 262117, 4, 131072, 262119, 4, 196608, 262124, 4, 65537, 262125, 4, 196611, 196638, 4, 196609, 196639, 4, 196611, 196650, 4, 196609, 196651, 4, 2, 196652, 4, 196611, 196668, 4, 131072, 327650, 4, 1, 327651, 4, 131074, 327652, 4, 2, 327653, 4, 196610, 327654, 4, 65539, 327660, 4, 131072, 327662, 4, 65536, 327679, 4, 65537, 262144, 4, 65538, 262145, 4, 65538, 262146, 4, 65538, 262147, 4, 65539, 262202, 4, 65536, 262204, 4, 131072, 393187, 4, 131072, 393190, 4, 131073, 393191, 4, 65539, 393196, 4, 131073, 393197, 4, 65538, 393198, 4, 196611, 393215, 4, 131073, 327680, 4, 131074, 327681, 4, 196610, 327682, 4, 196610, 327683, 4, 131074, 327684, 4, 65539, 327738, 4, 196609, 327739, 4, 65538, 327740, 4, 131075, 458723, 4, 131072, 458726, 4, 196609, 458727, 4, 131075, 458732, 4, 196609, 458733, 4, 131075, 458751, 4, 196609, 393216, 4, 196611, 393219, 4, 131073, 393220, 4, 196610, 393221, 4, 65538, 393222, 4, 65539, 393275, 4, 196609, 393276, 4, 131074, 393277, 4, 65539, 524259, 4, 131073, 524260, 4, 3, 524263, 4, 131072, 524269, 4, 131072, 458753, 4, 65537, 458754, 4, 65538, 458755, 4, 131075, 458757, 4, 131073, 458758, 4, 196611, 458812, 4, 196609, 458813, 4, 131075, 589794, 4, 65537, 589795, 4, 196611, 589797, 4, 65537, 589798, 4, 2, 589799, 4, 131075, 589804, 4, 65537, 589805, 4, 196611, 524289, 4, 196609, 524290, 4, 196610, 524291, 4, 131074, 524292, 4, 65538, 524293, 4, 196611, 524335, 4, 65537, 524336, 4, 2, 524337, 4, 2, 524338, 4, 65538, 524339, 4, 65538, 524340, 4, 65539, 524349, 4, 131072, 655330, 4, 131072, 655333, 4, 131072, 655335, 4, 131072, 655340, 4, 131072, 589827, 4, 196609, 589828, 4, 196611, 589869, 4, 65537, 589870, 4, 2, 589871, 4, 196611, 589874, 4, 196609, 589875, 4, 196610, 589876, 4, 196610, 589877, 4, 65539, 589885, 4, 131072, 720866, 4, 131072, 720868, 4, 65537, 720869, 4, 196611, 720871, 4, 196608, 720876, 4, 131072, 655400, 4, 1, 655401, 4, 65539, 655404, 4, 65537, 655405, 4, 196611, 655413, 4, 196609, 655414, 4, 65539, 655421, 4, 131073, 655422, 4, 65539, 786402, 4, 131072, 786404, 4, 131072, 786406, 4, 65536, 786412, 4, 131072, 720937, 4, 196608, 720940, 4, 131072, 720950, 4, 196608, 720957, 4, 196609, 720958, 4, 131075, 851938, 4, 131072, 851940, 4, 131073, 851941, 4, 2, 851942, 4, 131074, 851943, 4, 3, 851948, 4, 131072, 786463, 4, 65537, 786464, 4, 65538, 786465, 4, 65538, 786466, 4, 65538, 786467, 4, 65538, 786468, 4, 2, 786469, 4, 3, 786476, 4, 131072, 786494, 4, 131073, 786495, 4, 65538, 786496, 4, 3, 917474, 4, 131072, 917476, 4, 196608, 917478, 4, 131072, 917484, 4, 131072, 917500, 4, 65537, 917501, 4, 2, 917502, 4, 2, 917503, 4, 2, 851968, 4, 2, 851969, 4, 65538, 851970, 4, 65538, 851971, 4, 65539, 851973, 4, 65537, 851974, 4, 2, 851975, 4, 65539, 851998, 4, 65537, 851999, 4, 131074, 852000, 4, 131074, 852001, 4, 131074, 852002, 4, 131074, 852003, 4, 131075, 852012, 4, 196609, 852013, 4, 2, 852014, 4, 65539, 852030, 4, 131073, 852031, 4, 131075, 983009, 4, 65537, 983010, 4, 196611, 983014, 4, 196609, 983015, 4, 65539, 983020, 4, 131072, 983033, 4, 65537, 983034, 4, 2, 983035, 4, 65538, 983036, 4, 131075, 917505, 4, 131073, 917506, 4, 131074, 917507, 4, 131074, 917508, 4, 2, 917509, 4, 131075, 917511, 4, 131072, 917534, 4, 131073, 917535, 4, 196610, 917536, 4, 131074, 917537, 4, 196610, 917538, 4, 196610, 917539, 4, 196610, 917540, 4, 65539, 917550, 4, 131072, 917565, 4, 65537, 917566, 4, 196610, 917567, 4, 131075, 1048545, 4, 131072, 1048551, 4, 131072, 1048556, 4, 196608, 1048568, 4, 65537, 1048569, 4, 131075, 1048571, 4, 131073, 1048572, 4, 196610, 1048573, 4, 2, 1048574, 4, 65539, 983041, 4, 131073, 983042, 4, 131074, 983043, 4, 131075, 983045, 4, 131072, 983047, 4, 131072, 983055, 0, 196609, 983056, 0, 196609, 983057, 0, 196609, 983059, 4, 1, 983060, 4, 2, 983061, 4, 2, 983062, 4, 65538, 983063, 4, 2, 983064, 4, 2, 983065, 4, 2, 983066, 4, 65538, 983067, 4, 65538, 983068, 4, 65538, 983069, 4, 65538, 983070, 4, 131075, 983072, 4, 131072, 983076, 4, 131073, 983077, 4, 2, 983078, 4, 65539, 983086, 4, 196609, 983087, 4, 3, 983092, 4, 65537, 983093, 4, 2, 983094, 4, 2, 983095, 4, 2, 983096, 4, 65539, 983100, 4, 65537, 983101, 4, 131075, 983103, 4, 131072, 1114081, 4, 131072, 1114087, 4, 196608, 1114102, 4, 65537, 1114103, 4, 65538, 1114104, 4, 131074, 1114105, 4, 131074, 1114106, 4, 2, 1114107, 4, 196611, 1114110, 4, 196609, 1114111, 4, 65539, 1048577, 4, 131073, 1048578, 4, 131074, 1048579, 4, 131075, 1048581, 4, 131073, 1048582, 4, 65538, 1048583, 4, 131075, 1048598, 4, 131072, 1048602, 4, 131073, 1048603, 4, 196610, 1048604, 4, 196610, 1048605, 4, 131074, 1048606, 4, 131074, 1048607, 4, 2, 1048608, 4, 196610, 1048609, 4, 65539, 1048612, 4, 131072, 1048614, 4, 196609, 1048615, 4, 65539, 1048626, 4, 1, 1048627, 4, 2, 1048628, 4, 196611, 1048632, 4, 196608, 1048636, 4, 131073, 1048637, 4, 131075, 1048639, 4, 196608, 1179617, 4, 131072, 1179634, 4, 65537, 1179635, 4, 2, 1179636, 4, 2, 1179637, 4, 2, 1179638, 4, 196610, 1179639, 4, 196610, 1179640, 4, 196610, 1179641, 4, 196611, 1179647, 4, 196609, 1114112, 4, 2, 1114113, 4, 196610, 1114114, 4, 131074, 1114115, 4, 131075, 1114117, 4, 131073, 1114118, 4, 131074, 1114119, 4, 196610, 1114120, 4, 3, 1114127, 0, 196609, 1114128, 0, 196609, 1114129, 0, 196609, 1114134, 4, 131073, 1114135, 4, 65538, 1114136, 4, 65538, 1114137, 4, 65538, 1114138, 4, 131075, 1114141, 4, 131073, 1114142, 4, 196611, 1114145, 4, 131072, 1114147, 4, 65537, 1114148, 4, 131075, 1114151, 4, 131072, 1114172, 4, 131073, 1114173, 4, 131074, 1114174, 4, 65539, 1245153, 4, 131072, 1245167, 4, 65537, 1245168, 4, 2, 1245169, 4, 2, 1245170, 4, 196611, 1179650, 4, 131073, 1179651, 4, 131074, 1179652, 4, 65538, 1179653, 4, 196610, 1179654, 4, 131075, 1179670, 4, 131073, 1179671, 4, 196610, 1179672, 4, 131074, 1179673, 4, 131074, 1179674, 4, 131075, 1179677, 4, 131072, 1179679, 4, 65537, 1179680, 4, 2, 1179681, 4, 131074, 1179682, 4, 65538, 1179683, 4, 131074, 1179684, 4, 196610, 1179685, 4, 65538, 1179686, 4, 65538, 1179687, 4, 131075, 1179708, 4, 196609, 1179709, 4, 131074, 1179710, 4, 196610, 1179711, 4, 65539, 1310689, 4, 131072, 1310696, 4, 1, 1310697, 4, 2, 1310698, 4, 2, 1310699, 4, 2, 1310700, 4, 2, 1310701, 4, 2, 1310702, 4, 2, 1310703, 4, 196611, 1245185, 4, 65537, 1245186, 4, 196610, 1245187, 4, 196610, 1245188, 4, 131075, 1245190, 4, 196608, 1245194, 4, 65536, 1245202, 4, 65537, 1245203, 4, 65538, 1245204, 4, 65538, 1245205, 4, 2, 1245206, 4, 196611, 1245208, 4, 131073, 1245209, 4, 131074, 1245210, 4, 196611, 1245213, 4, 131073, 1245214, 4, 65538, 1245215, 4, 131075, 1245217, 4, 196609, 1245218, 4, 196610, 1245219, 4, 131075, 1245221, 4, 131073, 1245222, 4, 131074, 1245223, 4, 131074, 1245224, 4, 3, 1245239, 4, 65537, 1245240, 4, 2, 1245241, 4, 3, 1245245, 4, 131072, 1245247, 4, 131072, 1376225, 4, 131072, 1310720, 4, 65537, 1310721, 4, 131075, 1310724, 4, 196609, 1310725, 4, 65539, 1310729, 4, 1, 1310730, 4, 131075, 1310737, 4, 65537, 1310738, 4, 196610, 1310739, 4, 131074, 1310740, 4, 196611, 1310743, 4, 65537, 1310744, 4, 131074, 1310745, 4, 131075, 1310748, 4, 65537, 1310749, 4, 131074, 1310750, 4, 196610, 1310751, 4, 131075, 1310755, 4, 131073, 1310756, 4, 65538, 1310757, 4, 131074, 1310758, 4, 196610, 1310759, 4, 196611, 1310761, 4, 1, 1310762, 4, 65539, 1310768, 4, 65537, 1310769, 4, 65539, 1310773, 4, 65537, 1310774, 4, 2, 1310775, 4, 196611, 1310781, 4, 131072, 1310783, 4, 131072, 1441761, 4, 131072, 1376256, 4, 131073, 1376257, 4, 131074, 1376258, 4, 2, 1376259, 4, 3, 1376261, 4, 196608, 1376264, 4, 65536, 1376266, 4, 131073, 1376267, 4, 65539, 1376270, 4, 65537, 1376271, 4, 2, 1376272, 4, 65538, 1376273, 4, 131075, 1376275, 4, 131072, 1376277, 4, 65537, 1376278, 4, 65538, 1376279, 4, 131074, 1376280, 4, 196610, 1376281, 4, 196611, 1376284, 4, 131073, 1376285, 4, 131075, 1376287, 4, 196608, 1376290, 4, 1, 1376291, 4, 196610, 1376292, 4, 131074, 1376293, 4, 131075, 1376296, 4, 65536, 1376298, 4, 131072, 1376303, 4, 1, 1376304, 4, 196610, 1376305, 4, 196610, 1376306, 4, 2, 1376307, 4, 2, 1376308, 4, 2, 1376309, 4, 196611, 1376316, 4, 65537, 1376317, 4, 131075, 1376319, 4, 131072, 1507297, 4, 131072, 1507325, 4, 1, 1507326, 4, 2, 1507327, 4, 2, 1441792, 4, 131074, 1441793, 4, 196611, 1441800, 4, 131073, 1441801, 4, 2, 1441802, 4, 196610, 1441803, 4, 196610, 1441804, 4, 65538, 1441805, 4, 65538, 1441806, 4, 131075, 1441808, 4, 131073, 1441809, 4, 196610, 1441810, 4, 2, 1441811, 4, 196610, 1441812, 4, 2, 1441813, 4, 131074, 1441814, 4, 196610, 1441815, 4, 131075, 1441819, 4, 1, 1441820, 4, 131074, 1441821, 4, 131074, 1441822, 4, 65539, 1441825, 4, 65536, 1441828, 4, 196609, 1441829, 4, 131075, 1441832, 4, 196608, 1441834, 4, 131072, 1441852, 4, 131073, 1441853, 4, 131075, 1441855, 4, 131072, 1572833, 4, 131072, 1507328, 4, 131072, 1507335, 4, 1, 1507336, 4, 196611, 1507340, 4, 196609, 1507341, 4, 196610, 1507342, 4, 196610, 1507343, 4, 2, 1507344, 4, 131075, 1507349, 4, 196608, 1507351, 4, 131072, 1507353, 4, 1, 1507354, 4, 3, 1507356, 4, 131073, 1507357, 4, 131074, 1507358, 4, 131075, 1507361, 4, 131072, 1507363, 4, 65536, 1507365, 4, 131072, 1507369, 4, 65537, 1507370, 4, 131075, 1507388, 4, 196609, 1507389, 4, 131074, 1507390, 4, 65538, 1507391, 4, 131075, 1638369, 4, 196608, 1572864, 4, 131072, 1572880, 4, 196609, 1572881, 4, 2, 1572882, 4, 2, 1572883, 4, 65539, 1572886, 4, 65537, 1572887, 4, 131074, 1572888, 4, 3, 1572892, 4, 131073, 1572893, 4, 131074, 1572894, 4, 196610, 1572895, 4, 2, 1572896, 4, 65538, 1572897, 4, 131075, 1572899, 4, 131072, 1572901, 4, 196609, 1572902, 4, 2, 1572903, 4, 65538, 1572904, 4, 65538, 1572905, 4, 131074, 1572906, 4, 131075, 1572925, 4, 131073, 1572926, 4, 131074, 1572927, 4, 196611, 1703906, 4, 65536, 1638400, 4, 131072, 1638419, 4, 196609, 1638420, 4, 2, 1638421, 4, 65538, 1638422, 4, 131074, 1638423, 4, 196611, 1638427, 4, 65537, 1638428, 4, 131074, 1638429, 4, 131075, 1638432, 4, 131073, 1638433, 4, 131075, 1638435, 4, 131072, 1638439, 4, 131073, 1638440, 4, 131074, 1638441, 4, 131074, 1638442, 4, 196611, 1638461, 4, 131073, 1638462, 4, 131075, 1638464, 4, 65536, 1769442, 4, 131072, 1703936, 4, 196609, 1703937, 4, 65539, 1703957, 4, 131073, 1703958, 4, 196611, 1703962, 4, 65537, 1703963, 4, 131074, 1703964, 4, 131074, 1703965, 4, 196610, 1703966, 4, 2, 1703967, 4, 2, 1703968, 4, 131074, 1703969, 4, 131074, 1703970, 4, 65538, 1703971, 4, 131074, 1703972, 4, 65538, 1703973, 4, 65538, 1703974, 4, 65538, 1703975, 4, 131074, 1703976, 4, 131074, 1703977, 4, 131075, 1703997, 4, 131073, 1703998, 4, 131075, 1704000, 4, 131072, 1834978, 4, 131072, 1769473, 4, 196609, 1769474, 4, 65539, 1769493, 4, 196608, 1769495, 4, 65537, 1769496, 4, 65539, 1769498, 4, 196609, 1769499, 4, 131074, 1769500, 4, 196611, 1769504, 4, 196609, 1769505, 4, 131074, 1769506, 4, 196610, 1769507, 4, 196610, 1769508, 4, 131074, 1769509, 4, 131074, 1769510, 4, 131074, 1769511, 4, 196610, 1769512, 4, 131074, 1769513, 4, 196611, 1769533, 4, 196609, 1769534, 4, 131075, 1769536, 4, 131072, 1900514, 4, 131072, 1835010, 4, 131073, 1835011, 4, 2, 1835012, 4, 65539, 1835017, 4, 1, 1835018, 4, 2, 1835019, 4, 2, 1835020, 4, 65539, 1835031, 4, 196609, 1835032, 4, 131075, 1835035, 4, 131072, 1835039, 4, 65536, 1835041, 4, 196608, 1835044, 4, 131073, 1835045, 4, 196610, 1835046, 4, 131075, 1835048, 4, 196608, 1835070, 4, 131072, 1835072, 4, 131072, 1966050, 4, 196608, 1900546, 4, 131072, 1900548, 4, 131073, 1900549, 4, 65539, 1900552, 4, 65536, 1900556, 4, 131073, 1900557, 4, 65539, 1900568, 4, 196608, 1900571, 4, 196609, 1900572, 4, 65539, 1900575, 4, 131073, 1900576, 4, 3, 1900579, 4, 65537, 1900580, 4, 131075, 1900582, 4, 131073, 1900583, 4, 3, 1900606, 4, 131072, 1900608, 4, 131072, 2031585, 4, 65536, 1966082, 4, 196608, 1966084, 4, 196609, 1966085, 4, 196610, 1966086, 4, 2, 1966087, 4, 2, 1966088, 4, 196610, 1966089, 4, 2, 1966090, 4, 2, 1966091, 4, 2, 1966092, 4, 196610, 1966093, 4, 196610, 1966094, 4, 2, 1966095, 4, 2, 1966096, 4, 2, 1966097, 4, 65539, 1966108, 4, 196609, 1966109, 4, 65539, 1966111, 4, 196608, 1966115, 4, 131073, 1966116, 4, 131074, 1966117, 4, 65538, 1966118, 4, 196611, 1966141, 4, 65537, 1966142, 4, 131075, 1966144, 4, 131072, 2097120, 4, 65537, 2097121, 4, 131075, 2031633, 4, 196609, 2031634, 4, 65539, 2031645, 4, 131073, 2031646, 4, 65539, 2031648, 4, 65536, 2031651, 4, 131073, 2031652, 4, 196610, 2031653, 4, 196611, 2031677, 4, 131073, 2031678, 4, 131075, 2031680, 4, 131072, 2162655, 4, 65537, 2162656, 4, 196610, 2162657, 4, 131075, 2097170, 4, 196608, 2097181, 4, 196609, 2097182, 4, 196610, 2097183, 4, 65538, 2097184, 4, 196610, 2097185, 4, 2, 2097186, 4, 2, 2097187, 4, 196611, 2097213, 4, 196609, 2097214, 4, 131075, 2097216, 4, 196608, 2228191, 4, 131072, 2228193, 4, 196608, 2162719, 4, 196608, 2162750, 4, 131073, 2162751, 4, 65539, 2293727, 4, 131073, 2293728, 4, 65539, 2228286, 4, 131073, 2228287, 4, 131075, 2359263, 4, 196609, 2359264, 4, 131075, 2293822, 4, 131073, 2293823, 4, 131074, 2293824, 4, 65539, 2424800, 4, 131073, 2424801, 4, 65539, 2359358, 4, 131073, 2359359, 4, 131074, 2359360, 4, 131075, 2490336, 4, 196609, 2490337, 4, 196611, 2424894, 4, 131073, 2424895, 4, 131074, 2424896, 4, 196611, 2555874, 4, 65536, 2490430, 4, 196609, 2490431, 4, 131075, 2621410, 4, 196609, 2621411, 4, 65539, 2555965, 4, 65536, 2555967, 4, 131072, 2686947, 4, 196609, 2686948, 4, 65539, 2621501, 4, 131073, 2621502, 4, 65538, 2621503, 4, 131075, 2752484, 4, 131072, 2687036, 4, 65537, 2687037, 4, 196610, 2687038, 4, 196610, 2687039, 4, 131075, 2818018, 4, 65537, 2818019, 4, 65538, 2818020, 4, 196611, 2818034, 4, 65537, 2818035, 4, 65538, 2818036, 4, 65538, 2818037, 4, 65538, 2818038, 4, 65538, 2818039, 4, 2, 2818040, 4, 65539, 2752572, 4, 131072, 2752575, 4, 131072, 2883554, 4, 131073, 2883555, 4, 131075, 2883557, 4, 65537, 2883558, 4, 65539, 2883568, 4, 1, 2883569, 4, 65538, 2883570, 4, 196610, 2883571, 4, 196610, 2883572, 4, 196610, 2883573, 4, 196610, 2883574, 4, 196611, 2883576, 4, 131072, 2818107, 4, 65537, 2818108, 4, 196611, 2818110, 4, 1, 2818111, 4, 131075, 2949090, 4, 131073, 2949091, 4, 131075, 2949093, 4, 196609, 2949094, 4, 196610, 2949095, 4, 2, 2949096, 4, 65538, 2949097, 4, 65538, 2949098, 4, 65539, 2949103, 4, 65536, 2949105, 4, 131072, 2949111, 4, 65537, 2949112, 4, 131075, 2883642, 4, 65537, 2883643, 4, 196611, 2883645, 4, 0, 2883647, 4, 196608, 3014626, 4, 131073, 3014627, 4, 131074, 3014628, 4, 3, 3014632, 4, 131073, 3014633, 4, 131074, 3014634, 4, 131074, 3014635, 4, 2, 3014636, 4, 2, 3014637, 4, 2, 3014638, 4, 65538, 3014639, 4, 131074, 3014640, 4, 65538, 3014641, 4, 131074, 3014642, 4, 65538, 3014643, 4, 2, 3014644, 4, 2, 3014645, 4, 2, 3014646, 4, 2, 3014647, 4, 131074, 3014648, 4, 131074, 3014649, 4, 65538, 3014650, 4, 2, 3014651, 4, 65538, 3014652, 4, 65538, 3014653, 4, 65538, 3014654, 4, 65538, 3014655, 4, 2, 2949120, 4, 65538, 2949121, 4, 2, 2949122, 4, 2, 2949123, 4, 2, 2949124, 4, 2, 2949125, 4, 2, 2949126, 4, 2, 2949127, 4, 65539, 2949147, 4, 65537, 2949148, 4, 3, 2949166, 4, 65537, 2949167, 4, 2, 2949168, 4, 2, 2949169, 4, 2, 2949170, 4, 2, 2949171, 4, 2, 2949172, 4, 2, 2949173, 4, 3, 2949177, 4, 65537, 2949178, 4, 131075, 2949180, 4, 65536, 2949182, 4, 65536, 3080162, 4, 131073, 3080163, 4, 131075, 3080168, 4, 196609, 3080169, 4, 196610, 3080170, 4, 196611, 3080174, 4, 131073, 3080175, 4, 196610, 3080176, 4, 196610, 3080177, 4, 131074, 3080178, 4, 196611, 3080183, 4, 196609, 3080184, 4, 196610, 3080185, 4, 131075, 3080187, 4, 131073, 3080188, 4, 131074, 3080189, 4, 196610, 3080190, 4, 196611, 3014656, 4, 131072, 3014663, 4, 196609, 3014664, 4, 2, 3014665, 4, 2, 3014666, 4, 2, 3014667, 4, 3, 3014676, 4, 1, 3014677, 4, 2, 3014678, 4, 2, 3014679, 4, 2, 3014680, 4, 2, 3014681, 4, 2, 3014682, 4, 2, 3014683, 4, 196611, 3014685, 4, 1, 3014686, 4, 2, 3014687, 4, 2, 3014688, 4, 3, 3014697, 4, 1, 3014698, 4, 2, 3014699, 4, 2, 3014700, 4, 2, 3014701, 4, 2, 3014702, 4, 196611, 3014710, 4, 65537, 3014711, 4, 65538, 3014712, 4, 2, 3014713, 4, 196610, 3014714, 4, 131074, 3014715, 4, 65538, 3014716, 4, 131074, 3014717, 4, 65538, 3014718, 4, 196611, 3145698, 4, 196609, 3145699, 4, 131074, 3145700, 4, 65538, 3145701, 4, 2, 3145702, 4, 2, 3145703, 4, 3, 3145707, 4, 1, 3145708, 4, 2, 3145709, 4, 2, 3145710, 4, 131075, 3145713, 4, 131072, 3145721, 4, 196609, 3145722, 4, 2, 3145723, 4, 196610, 3145724, 4, 196611, 3080192, 4, 131072, 3080204, 4, 1, 3080205, 4, 2, 3080206, 4, 2, 3080207, 4, 2, 3080208, 4, 2, 3080209, 4, 2, 3080210, 4, 2, 3080211, 4, 3, 3080225, 4, 1, 3080226, 4, 2, 3080227, 4, 2, 3080228, 4, 2, 3080229, 4, 2, 3080230, 4, 2, 3080231, 4, 2, 3080232, 4, 3, 3080246, 4, 196609, 3080247, 4, 196611, 3080250, 4, 196609, 3080251, 4, 196610, 3080252, 4, 196610, 3080253, 4, 196611, 3211235, 4, 131073, 3211236, 4, 131075, 3211246, 4, 196609, 3211247, 4, 2, 3211248, 4, 2, 3211249, 4, 196611, 3211261, 4, 1, 3211262, 4, 2, 3211263, 4, 2, 3145728, 4, 196611, 3276771, 4, 131073, 3276772, 4, 131075, 3342307, 4, 196609, 3342308, 4, 196611 ) + +[node name="Camera2D" parent="." instance=ExtResource( 1 )] +scroll_v = true + +[node name="Player" parent="." instance=ExtResource( 6 )] +position = Vector2( 128, 160 ) + +[node name="Ladder" type="TileMap" parent="."] +tile_set = ExtResource( 23 ) +cell_size = Vector2( 8, 8 ) +format = 1 + +[node name="Death" type="TileMap" parent="." groups=["death"]] +light_mask = 0 +tile_set = ExtResource( 22 ) +cell_size = Vector2( 8, 8 ) +collision_layer = 32 +format = 1 + +[node name="Environment" type="Node2D" parent="."] + +[node name="Enemies" type="Node2D" parent="."] + +[node name="Spoink" parent="Enemies" instance=ExtResource( 8 )] +position = Vector2( 168, 120 ) +jump_height = 200.0 +jump_distance = 32.0 +gravity = 400.0 +direction = -1.0 + +[node name="Eel" parent="Enemies" instance=ExtResource( 9 )] +self_modulate = Color( 0.72549, 1, 0.501961, 0.701961 ) +position = Vector2( 408, 96 ) +scale = Vector2( 1, -1 ) +curve = SubResource( 11 ) +segments = 10 +speed = 128.0 + +[node name="Eel2" parent="Enemies" instance=ExtResource( 9 )] +visible = false +position = Vector2( 400, 112 ) +rotation = 3.14159 +scale = Vector2( 1, -1 ) +curve = SubResource( 11 ) +segments = 10 +speed = 128.0 + +[node name="Collectibles" type="Node2D" parent="."] + +[node name="Shards" type="Node2D" parent="Collectibles"] + +[node name="Shard2" parent="Collectibles/Shards" instance=ExtResource( 21 )] +position = Vector2( -128, -88 ) +number = 1 + +[node name="Shard3" parent="Collectibles/Shards" instance=ExtResource( 21 )] +position = Vector2( 144, -96 ) +number = 2 + +[node name="Shard4" parent="Collectibles/Shards" instance=ExtResource( 21 )] +position = Vector2( 384, -88 ) +number = 3 + +[node name="Shard5" parent="Collectibles/Shards" instance=ExtResource( 21 )] +position = Vector2( 152, 32 ) + +[node name="Stars" type="Node2D" parent="Collectibles"] + +[node name="Star1" parent="Collectibles/Stars" instance=ExtResource( 14 )] +position = Vector2( 384, 272 ) + +[node name="Star2" parent="Collectibles/Stars" instance=ExtResource( 14 )] +position = Vector2( -96, 272 ) +color = 1 + +[node name="Star3" parent="Collectibles/Stars" instance=ExtResource( 14 )] +position = Vector2( 364, 92 ) +color = 2 + +[node name="Star4" parent="Collectibles/Stars" instance=ExtResource( 14 )] +position = Vector2( 104, 288 ) +color = 3 + +[node name="Star5" parent="Collectibles/Stars" instance=ExtResource( 14 )] +position = Vector2( -144, 80 ) +color = 4 + +[node name="DebugStar" type="Node2D" parent="Collectibles/Stars"] +position = Vector2( 40, 24 ) + +[node name="Star" parent="Collectibles/Stars/DebugStar" instance=ExtResource( 14 )] + +[node name="Star2" parent="Collectibles/Stars/DebugStar" instance=ExtResource( 14 )] +color = 1 + +[node name="Star3" parent="Collectibles/Stars/DebugStar" instance=ExtResource( 14 )] +color = 2 + +[node name="Star4" parent="Collectibles/Stars/DebugStar" instance=ExtResource( 14 )] +color = 3 + +[node name="Star5" parent="Collectibles/Stars/DebugStar" instance=ExtResource( 14 )] +color = 4 + +[node name="Keys" type="Node2D" parent="Collectibles"] + +[node name="Respawns" type="Node2D" parent="."] + +[node name="Boundaries" type="StaticBody2D" parent="."] + +[node name="HUD" parent="." instance=ExtResource( 17 )] +song_name = "♫Burnt Out" + +[node name="Exit" parent="." instance=ExtResource( 26 )] +position = Vector2( 168, 140 ) +cost = 25 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="." groups=["mountain_easter_egg"]] +anims/liftoff = SubResource( 10 ) + +[node name="CanvasModulate" type="CanvasModulate" parent="."] + +[connection signal="timeout" from="LightningTimer" to="." method="_spawn_lightning"] +[connection signal="tree_entered" from="Background/BackgroundMountain/Mountain" to="Background/BackgroundMountain/Mountain" method="set_visible" binds= [ true ]] diff --git a/objects/player/player.gd b/objects/player/player.gd index c63a611..2c75eb1 100644 --- a/objects/player/player.gd +++ b/objects/player/player.gd @@ -14,7 +14,8 @@ const BloodSpray := preload("res://objects/environment/blood/blood_spray.tscn") ## whether to be temporarily invulnerable after respawning export var use_iframes: bool = false ## horizontal movement speed -export var walk_speed: float = 50.0 +export var walk_speed: float = 75.0 +export var air_speed: float = 80.0 ## frames until walk speed peak (at 60fps reference) export var walk_acceleration_frames: float = 1.0 ## speed to push pushable objects at @@ -397,7 +398,7 @@ func _process_grounded(delta: float) -> void: ## called when player can move left and rightpass # Repass # Rpass # Replace with function body.eplace with function body.place with function body. func _process_horizontal_movement(delta: float) -> void: var input_dir = sign(Input.get_axis("move_left", "move_right") + get_stick_input(JOY_AXIS_0)) # sign() to normalize - velocity.x = input_dir * walk_speed + velocity.x = input_dir * air_speed if input_dir != 0.0: graphics.scale.x = input_dir diff --git a/objects/player/player.tscn b/objects/player/player.tscn index f38a5eb..27e2d2d 100644 --- a/objects/player/player.tscn +++ b/objects/player/player.tscn @@ -883,7 +883,7 @@ moving_platform_apply_velocity_on_leave = 2 script = ExtResource( 1 ) walk_acceleration_frames = 4.0 gravity = 700.0 -jump_force = 140.0 +jump_force = 160.0 double_jump_force = 124.0 dash_ascension = 124.0 dash_speed = 124.0 @@ -1567,8 +1567,8 @@ one_shot = true [connection signal="state_physics_processing" from="StateChart/Root/Movement" to="." method="_process_movement"] [connection signal="state_entered" from="StateChart/Root/Movement/Grounded" to="." method="_on_Grounded_state_entered"] [connection signal="state_physics_processing" from="StateChart/Root/Movement/Grounded" to="." method="_process_grounded"] -[connection signal="state_physics_processing" from="StateChart/Root/Movement/Grounded/CanWalk" to="." method="_process_horizontal_movement_grounded"] [connection signal="state_physics_processing" from="StateChart/Root/Movement/Grounded/CanWalk" to="." method="_process_can_walk"] +[connection signal="state_physics_processing" from="StateChart/Root/Movement/Grounded/CanWalk" to="." method="_process_horizontal_movement_grounded"] [connection signal="state_entered" from="StateChart/Root/Movement/Grounded/CanWalk/Still" to="." method="_on_Still_state_entered"] [connection signal="state_entered" from="StateChart/Root/Movement/Grounded/CanWalk/Walking" to="." method="_on_Walking_state_entered"] [connection signal="state_entered" from="StateChart/Root/Movement/Grounded/CanWalk/Blinking" to="." method="_on_Blinking_state_entered"] @@ -1579,8 +1579,8 @@ one_shot = true [connection signal="state_entered" from="StateChart/Root/Movement/Grounded/Shooting" to="." method="_on_Shooting_state_entered"] [connection signal="state_entered" from="StateChart/Root/Movement/Grounded/Pushing" to="." method="_on_Pushing_state_entered"] [connection signal="state_physics_processing" from="StateChart/Root/Movement/Grounded/Pushing" to="." method="_process_pushing"] -[connection signal="state_entered" from="StateChart/Root/Movement/Airborne" to="." method="_on_Airborne_state_entered"] [connection signal="state_entered" from="StateChart/Root/Movement/Airborne" to="." method="reset_fall_speed"] +[connection signal="state_entered" from="StateChart/Root/Movement/Airborne" to="." method="_on_Airborne_state_entered"] [connection signal="state_physics_processing" from="StateChart/Root/Movement/Airborne" to="." method="_process_gravity"] [connection signal="state_physics_processing" from="StateChart/Root/Movement/Airborne/Jump" to="." method="_process_horizontal_movement"] [connection signal="state_physics_processing" from="StateChart/Root/Movement/Airborne/Jump" to="." method="_process_jump"] @@ -1607,8 +1607,8 @@ one_shot = true [connection signal="state_physics_processing" from="StateChart/Root/Movement/Climbing" to="." method="_process_climbing"] [connection signal="state_entered" from="StateChart/Root/Movement/Inactive" to="." method="_on_Inactive_state_entered"] [connection signal="state_exited" from="StateChart/Root/Movement/Inactive" to="." method="_on_Inactive_state_exited"] -[connection signal="state_entered" from="StateChart/Root/Movement/Teleporting" to="." method="_on_Inactive_state_entered"] [connection signal="state_entered" from="StateChart/Root/Movement/Teleporting" to="." method="_on_Teleporting_state_entered"] +[connection signal="state_entered" from="StateChart/Root/Movement/Teleporting" to="." method="_on_Inactive_state_entered"] [connection signal="state_exited" from="StateChart/Root/Movement/Teleporting" to="." method="_on_Inactive_state_exited"] [connection signal="state_entered" from="StateChart/Root/Movement/Appearing" to="." method="_on_Inactive_state_entered"] [connection signal="state_entered" from="StateChart/Root/Movement/Appearing" to="." method="_on_Appearing_state_entered"]