Added head-shooting and regeneration feature to player; added first
draft of Maggie's sounds.
This commit is contained in:
parent
accc463791
commit
2cc08692fd
17 changed files with 470 additions and 54 deletions
|
|
@ -1,23 +1,39 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bwxxdrdvo3le0"]
|
||||
[gd_scene format=3 uid="uid://bwxxdrdvo3le0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c6oorp45vpqpc" path="res://scenes/bullet.gd" id="1_v8qja"]
|
||||
[ext_resource type="Texture2D" uid="uid://bltpqew3le1j" path="res://_graphics/Mini Pixel Pack 3/Projectiles/Player_charged_beam (16 x 16).png" id="2_t4vbm"]
|
||||
[ext_resource type="Texture2D" uid="uid://bnc77g20gb20h" path="res://sprites/david-head.png" id="2_y25gk"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwd6pycecukqb" path="res://sprites/david-headshot.png" id="3_l5glv"]
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_eoqba"]
|
||||
particle_flag_disable_z = true
|
||||
gravity = Vector3(0, 98, 0)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2b2rl"]
|
||||
size = Vector2(12, 10)
|
||||
size = Vector2(12, 11)
|
||||
|
||||
[node name="Bullet" type="Area2D"]
|
||||
[node name="Bullet" type="Area2D" unique_id=1850257077]
|
||||
script = ExtResource("1_v8qja")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_t4vbm")
|
||||
hframes = 2
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=29933687]
|
||||
position = Vector2(1.1920929e-07, 2.9802322e-07)
|
||||
scale = Vector2(1.1111112, 1.1764706)
|
||||
texture = ExtResource("2_y25gk")
|
||||
hframes = 3
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -1)
|
||||
[node name="GPUParticles2D" type="GPUParticles2D" parent="Sprite2D" unique_id=1840545252]
|
||||
position = Vector2(-1.0728836e-07, -2.5331974e-07)
|
||||
amount = 2
|
||||
texture = ExtResource("3_l5glv")
|
||||
lifetime = 0.03
|
||||
explosiveness = 0.21
|
||||
randomness = 0.15
|
||||
process_material = SubResource("ParticleProcessMaterial_eoqba")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1297459172]
|
||||
position = Vector2(0, -0.5)
|
||||
shape = SubResource("RectangleShape2D_2b2rl")
|
||||
|
||||
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
||||
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="." unique_id=210965331]
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue