forked from team-sg/hero-mark-2
cfox cheat works now (fixes #187)
This commit is contained in:
parent
17aabe2eb9
commit
876dabddda
3 changed files with 22 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=52 format=2]
|
||||
[gd_scene load_steps=53 format=2]
|
||||
|
||||
[ext_resource path="res://objects/player/player.gd" type="Script" id=1]
|
||||
[ext_resource path="res://graphics/player/palettes/default.png" type="Texture" id=2]
|
||||
|
@ -38,6 +38,12 @@ shader_param/palette = ExtResource( 2 )
|
|||
[sub_resource type="Curve" id=13]
|
||||
_data = [ Vector2( 0, 1 ), 0.0, -0.0636948, 0, 0, Vector2( 1, 0 ), -3.43886, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=24]
|
||||
shader = ExtResource( 3 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = true
|
||||
shader_param/palette = ExtResource( 2 )
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=2]
|
||||
extents = Vector2( 2.5, 5 )
|
||||
|
||||
|
@ -1099,6 +1105,13 @@ enabled = true
|
|||
cast_to = Vector2( 0, 5 )
|
||||
collision_mask = 5
|
||||
|
||||
[node name="CFox" type="Sprite" parent="Graphics"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
material = SubResource( 24 )
|
||||
position = Vector2( 0, -10 )
|
||||
texture = ExtResource( 4 )
|
||||
|
||||
[node name="BodyShape" type="CollisionShape2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2( 0.5, -5 )
|
||||
|
@ -1591,8 +1604,8 @@ align = 1
|
|||
[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"]
|
||||
[connection signal="state_physics_processing" from="StateChart/Root/Movement/Airborne/Jump" to="." method="_process_horizontal_movement"]
|
||||
[connection signal="state_entered" from="StateChart/Root/Movement/Airborne/Jump/NormalJump" to="." method="_on_NormalJump_state_entered"]
|
||||
[connection signal="state_exited" from="StateChart/Root/Movement/Airborne/Jump/NormalJump" to="." method="_on_NormalJump_state_exited"]
|
||||
[connection signal="state_entered" from="StateChart/Root/Movement/Airborne/Jump/LadderJump" to="." method="_on_LadderJump_state_entered"]
|
||||
|
@ -1611,8 +1624,8 @@ align = 1
|
|||
[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/Health/Respawn" to="." method="_on_Respawn_state_entered"]
|
||||
[connection signal="state_entered" from="StateChart/Root/Health/Dead" to="." method="_on_Dead_state_entered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue