mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 19:43:55 +00:00
Added Laser tutorial
This commit is contained in:
parent
69487be389
commit
a015254f9a
14 changed files with 144 additions and 16 deletions
23
Resources/Bullets/player_laser.tres
Normal file
23
Resources/Bullets/player_laser.tres
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[gd_resource type="Resource" script_class="BulletResource" load_steps=4 format=3 uid="uid://sjrqf5xg6fek"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://wsaxjt32sc06" path="res://Scenes/Weapons/Bullets/bullet_laser_player.tscn" id="1_k71c3"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfbmny3s4rili" path="res://Scenes/Particles/IceBulletParticle.tscn" id="2_x6hhy"]
|
||||
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="3_77nif"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_77nif")
|
||||
BulletScene = ExtResource("1_k71c3")
|
||||
DestructionParticlesScene = ExtResource("2_x6hhy")
|
||||
BulletSpeed = 300.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 4.0
|
||||
LifeTime = 10.0
|
||||
DestroyOnCollision = true
|
||||
Owner = 1
|
||||
DamageType = 3
|
||||
RotateSprite = true
|
||||
Controllable = false
|
||||
Freezable = false
|
||||
Grazeable = false
|
||||
GrazeValue = 1.0
|
||||
TimeModifiers = []
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue