forked from team-sg/hero-mark-2
game.gd cleaning and partial results screen implementation
This commit is contained in:
parent
b126484109
commit
e2b3db0b93
16 changed files with 425 additions and 436 deletions
|
@ -1,7 +1,6 @@
|
|||
[gd_scene load_steps=8 format=2]
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1]
|
||||
[ext_resource path="res://objects/player/player_death_particles.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://graphics/collectibles/shard.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=1]
|
||||
|
@ -70,11 +69,11 @@ offsets = PoolRealArray( 0, 0.734694, 1 )
|
|||
colors = PoolColorArray( 0.576471, 0.980392, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 )
|
||||
|
||||
[node name="Shard" type="Node2D"]
|
||||
visible = false
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
material = SubResource( 1 )
|
||||
position = Vector2( 1, 1 )
|
||||
scale = Vector2( 1e-05, 1e-05 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
|
@ -82,13 +81,22 @@ autoplay = "Miss"
|
|||
anims/Collect = SubResource( 3 )
|
||||
anims/Miss = SubResource( 4 )
|
||||
|
||||
[node name="CollectedParticle" parent="." instance=ExtResource( 2 )]
|
||||
[node name="CollectedParticle" type="CPUParticles2D" parent="."]
|
||||
pause_mode = 2
|
||||
emitting = false
|
||||
amount = 64
|
||||
lifetime = 1.0
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
texture = null
|
||||
local_coords = false
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 4, 4 )
|
||||
direction = Vector2( 0, -1 )
|
||||
spread = 180.0
|
||||
gravity = Vector2( 0, 150 )
|
||||
initial_velocity = 250.0
|
||||
scale_amount = 1.0
|
||||
scale_amount_curve = null
|
||||
initial_velocity_random = 0.9
|
||||
damping = 2.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount_random = 1.0
|
||||
color_ramp = SubResource( 2 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue