Added Laser tutorial

This commit is contained in:
Marco 2025-05-02 16:20:54 +02:00
commit a015254f9a
14 changed files with 144 additions and 16 deletions

View file

@ -8,6 +8,7 @@ script = ExtResource("2_6gv3a")
Name = &"Ice Shotgun"
BulletData = ExtResource("1_fi2vm")
Priority = 10
AmmoPerShot = 1
RateOfFire = 0.4
BulletCapacity = 4
ReloadTime = 0.8

View file

@ -10,6 +10,7 @@ script = ExtResource("2_m8dps")
Name = &"Icicle Gun"
BulletData = ExtResource("1_85ef1")
Priority = 1
AmmoPerShot = 1
RateOfFire = 0.3
BulletCapacity = 5
ReloadTime = 0.6

View file

@ -1,6 +1,6 @@
[gd_resource type="Resource" script_class="WeaponResource" load_steps=5 format=3 uid="uid://do0jwf5jhx1i5"]
[ext_resource type="Resource" uid="uid://eu6n6c5175y8" path="res://Resources/Bullets/simple_ice_bullet.tres" id="1_1h0tt"]
[ext_resource type="Resource" uid="uid://sjrqf5xg6fek" path="res://Resources/Bullets/player_laser.tres" id="1_1h0tt"]
[ext_resource type="AudioStream" uid="uid://jsv3yjluv1au" path="res://SFX/Weapons/Reload_01.wav" id="2_h0bjj"]
[ext_resource type="AudioStream" uid="uid://cjg8r7bthkfsy" path="res://SFX/Laser_shoot 11.wav" id="3_iquwk"]
[ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="4_70v4a"]