Game #3: Space Shooter

This commit is contained in:
Felipe M 2021-01-23 20:20:30 +01:00
parent a00e9b59c9
commit f785a24c14
Signed by: fmartingr
GPG key ID: 716BC147715E716F
45 changed files with 927 additions and 0 deletions

View file

@ -0,0 +1,37 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Scenes/LaserHit.gd" type="Script" id=1]
[ext_resource path="res://SFX/Hit.wav" type="AudioStream" id=2]
[sub_resource type="ParticlesMaterial" id=1]
lifetime_randomness = 1.0
emission_shape = 1
emission_sphere_radius = 1.0
flag_disable_z = true
spread = 180.0
gravity = Vector3( 0, 0, 0 )
initial_velocity = 25.0
initial_velocity_random = 1.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
scale = 1.5
[node name="LaserHit" type="Node2D"]
script = ExtResource( 1 )
[node name="Timer" type="Timer" parent="."]
wait_time = 3.0
one_shot = true
autostart = true
[node name="HitParticles" type="Particles2D" parent="."]
emitting = false
one_shot = true
explosiveness = 1.0
randomness = 1.0
process_material = SubResource( 1 )
[node name="HitSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 2 )
autoplay = true
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]