mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-01 11:31:16 +00:00
Moved weapons to their own scene
This commit is contained in:
parent
7ebbc207e6
commit
34e0603170
6 changed files with 159 additions and 62 deletions
12
Scenes/Weapons/BaseWeapon.tscn
Normal file
12
Scenes/Weapons/BaseWeapon.tscn
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://crry0rgk7a8sm"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Weapon.cs" id="1_f5iec"]
|
||||
|
||||
[node name="Weapon" type="Sprite2D"]
|
||||
script = ExtResource("1_f5iec")
|
||||
|
||||
[node name="Muzzle" type="Marker2D" parent="."]
|
||||
position = Vector2(5, 0)
|
||||
|
||||
[node name="ShootTimer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue