SUPER PLAYER!
This commit is contained in:
parent
fa94bf6601
commit
f1168c099a
13 changed files with 136 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=49 format=2]
|
||||
[gd_scene load_steps=52 format=2]
|
||||
|
||||
[ext_resource path="res://objects/player/player.gd" type="Script" id=1]
|
||||
[ext_resource path="res://graphics/player/sg_zap.png" type="Texture" id=2]
|
||||
|
@ -14,6 +14,8 @@
|
|||
[ext_resource path="res://graphics/player/palettes/default.tex" type="Texture" id=12]
|
||||
[ext_resource path="res://shaders/electricity.gdshader" type="Shader" id=13]
|
||||
[ext_resource path="res://graphics/player/sg.png" type="Texture" id=14]
|
||||
[ext_resource path="res://scripts/randomize_particle_start.gd" type="Script" id=15]
|
||||
[ext_resource path="res://graphics/particles/shine.png" type="Texture" id=16]
|
||||
[ext_resource path="res://graphics/particles/dust.png" type="Texture" id=18]
|
||||
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=25]
|
||||
|
||||
|
@ -23,6 +25,9 @@ shader_param/border_color = Color( 0, 0, 0, 1 )
|
|||
shader_param/border_corners = true
|
||||
shader_param/palette = ExtResource( 12 )
|
||||
|
||||
[sub_resource type="Curve" id=34]
|
||||
_data = [ Vector2( 0, 0 ), 0.0, 0.100639, 0, 0, Vector2( 0.158257, 1 ), 7.51724, -6.83592, 0, 0, Vector2( 0.31422, 0 ), 0.0, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=32]
|
||||
shader = ExtResource( 13 )
|
||||
shader_param/arc_speed = 4.0
|
||||
|
@ -890,6 +895,24 @@ offset = Vector2( 0, -6 )
|
|||
hframes = 8
|
||||
vframes = 20
|
||||
|
||||
[node name="Sparkles" type="CPUParticles2D" parent="Graphics/Sprite"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
light_mask = 0
|
||||
amount = 2
|
||||
lifetime = 2.0
|
||||
texture = ExtResource( 16 )
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 4, 10 )
|
||||
gravity = Vector2( 0, 0 )
|
||||
angular_velocity = 720.0
|
||||
angular_velocity_random = 1.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount_curve = SubResource( 34 )
|
||||
color = Color( 1, 0.972549, 0.52549, 1 )
|
||||
script = ExtResource( 15 )
|
||||
|
||||
[node name="ZapSprite" type="AnimatedSprite" parent="Graphics"]
|
||||
visible = false
|
||||
material = SubResource( 32 )
|
||||
|
@ -982,6 +1005,7 @@ shape = SubResource( 2 )
|
|||
|
||||
[node name="Hitbox" type="Area2D" parent="." groups=["player_hitbox"]]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
collision_layer = 11
|
||||
collision_mask = 32
|
||||
|
||||
|
@ -1508,8 +1532,8 @@ align = 1
|
|||
[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="reset_fall_speed"]
|
||||
[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_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"]
|
||||
|
@ -1534,8 +1558,8 @@ align = 1
|
|||
[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_exited" from="StateChart/Root/Movement/Teleporting" to="." method="_on_Inactive_state_exited"]
|
||||
[connection signal="state_entered" from="StateChart/Root/Movement/Appearing" to="." method="_on_Appearing_state_entered"]
|
||||
[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"]
|
||||
[connection signal="state_exited" from="StateChart/Root/Movement/Appearing" 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