first Prototype
This commit is contained in:
parent
89503407e7
commit
c887a2168c
78 changed files with 2494 additions and 2 deletions
23
scenes/spaceShip/spaceShip.tscn
Normal file
23
scenes/spaceShip/spaceShip.tscn
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://csacin2gx2tum"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://quxft75411y7" path="res://scenes/spaceShip/spaceShip.gd" id="1_a2e5l"]
|
||||
[ext_resource type="PackedScene" uid="uid://cglnd1ekr5u6r" path="res://scenes/areas/hurtArea/hurtArea.tscn" id="2_b8guf"]
|
||||
|
||||
[node name="Spaceship" type="CharacterBody2D" groups=["spaceShip"]]
|
||||
collision_layer = 4
|
||||
script = ExtResource("1_a2e5l")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
||||
[node name="hurtArea" parent="." instance=ExtResource("2_b8guf")]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
|
||||
[node name="weaponNode" type="Node2D" parent="."]
|
||||
|
||||
[node name="invincibleTimer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
autostart = true
|
||||
|
||||
[connection signal="area_entered" from="hurtArea" to="." method="_on_hurt_area_area_entered"]
|
||||
[connection signal="timeout" from="invincibleTimer" to="." method="_on_invincible_timer_timeout"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue