mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-19 20:33:48 +00:00
Use bullet flags instead of bools
This commit is contained in:
parent
fa3805ecfe
commit
72c6270eb5
14 changed files with 49 additions and 38 deletions
|
|
@ -1,11 +1,11 @@
|
|||
[gd_resource type="Resource" script_class="BulletResource" load_steps=3 format=3 uid="uid://t2tbu5bfge4b"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bdb2kledtug42" path="res://Scenes/Weapons/Bullets/enemyBullet_reimu_blue_small.tscn" id="1_371nf"]
|
||||
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="2_olcd3"]
|
||||
[ext_resource type="PackedScene" uid="uid://bdb2kledtug42" path="res://Scenes/Weapons/Bullets/enemyBullet_reimu_blue_small.tscn" id="1_hv3jl"]
|
||||
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="2_mvqvb"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_olcd3")
|
||||
BulletScene = ExtResource("1_371nf")
|
||||
script = ExtResource("2_mvqvb")
|
||||
BulletScene = ExtResource("1_hv3jl")
|
||||
BulletSpeed = 100.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 30.0
|
||||
|
|
@ -20,6 +20,6 @@ Controllable = false
|
|||
Freezable = true
|
||||
Grazeable = true
|
||||
GrazeValue = 1.0
|
||||
Attributes = 96
|
||||
Attributes = 98
|
||||
TimeModifiers = []
|
||||
metadata/_custom_type_script = "uid://dslyrfcej3g2n"
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
[gd_resource type="Resource" script_class="BulletResource" load_steps=3 format=3 uid="uid://djjp4nyufqxlp"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://db10ajastitm" path="res://Scenes/Weapons/Bullets/enemyBullet_reimu_red_small.tscn" id="1_ie3bo"]
|
||||
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="2_gj3rh"]
|
||||
[ext_resource type="PackedScene" uid="uid://db10ajastitm" path="res://Scenes/Weapons/Bullets/enemyBullet_reimu_red_small.tscn" id="1_vfoj8"]
|
||||
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="2_72228"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_gj3rh")
|
||||
BulletScene = ExtResource("1_ie3bo")
|
||||
script = ExtResource("2_72228")
|
||||
BulletScene = ExtResource("1_vfoj8")
|
||||
BulletSpeed = 100.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 30.0
|
||||
|
|
@ -20,6 +20,6 @@ Controllable = false
|
|||
Freezable = true
|
||||
Grazeable = true
|
||||
GrazeValue = 1.0
|
||||
Attributes = 96
|
||||
Attributes = 98
|
||||
TimeModifiers = []
|
||||
metadata/_custom_type_script = "uid://dslyrfcej3g2n"
|
||||
|
|
@ -22,6 +22,6 @@ Controllable = true
|
|||
Freezable = true
|
||||
Grazeable = false
|
||||
GrazeValue = 0.2
|
||||
Attributes = 4
|
||||
Attributes = 260
|
||||
TimeModifiers = []
|
||||
metadata/_custom_type_script = "uid://dslyrfcej3g2n"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ DestructionParticlesScene = ExtResource("2_ibcyh")
|
|||
BulletSpeed = 300.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 1.0
|
||||
MaxDamage = 1.0
|
||||
Knockback = 200.0
|
||||
LifeTime = 4.0
|
||||
DestroyOnCollision = true
|
||||
|
|
@ -21,4 +22,5 @@ Controllable = false
|
|||
Freezable = true
|
||||
Grazeable = false
|
||||
GrazeValue = 0.2
|
||||
Attributes = 256
|
||||
TimeModifiers = []
|
||||
|
|
|
|||
|
|
@ -22,5 +22,5 @@ Controllable = false
|
|||
Freezable = true
|
||||
Grazeable = false
|
||||
GrazeValue = 0.2
|
||||
Attributes = 0
|
||||
Attributes = 256
|
||||
TimeModifiers = []
|
||||
|
|
|
|||
|
|
@ -22,5 +22,5 @@ Controllable = false
|
|||
Freezable = false
|
||||
Grazeable = false
|
||||
GrazeValue = 1.0
|
||||
Attributes = 64
|
||||
Attributes = 320
|
||||
TimeModifiers = []
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@ Controllable = false
|
|||
Freezable = true
|
||||
Grazeable = true
|
||||
GrazeValue = 1.0
|
||||
Attributes = 34
|
||||
Attributes = 290
|
||||
TimeModifiers = []
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@ Controllable = false
|
|||
Freezable = true
|
||||
Grazeable = true
|
||||
GrazeValue = 1.0
|
||||
Attributes = 34
|
||||
Attributes = 290
|
||||
TimeModifiers = []
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ DestructionParticlesScene = ExtResource("2_fkpjr")
|
|||
BulletSpeed = 300.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 0.6
|
||||
MaxDamage = 1.0
|
||||
Knockback = 200.0
|
||||
LifeTime = 10.0
|
||||
DestroyOnCollision = true
|
||||
|
|
@ -21,4 +22,5 @@ Controllable = false
|
|||
Freezable = true
|
||||
Grazeable = false
|
||||
GrazeValue = 0.2
|
||||
Attributes = 256
|
||||
TimeModifiers = []
|
||||
|
|
|
|||
|
|
@ -34,5 +34,5 @@ Controllable = false
|
|||
Freezable = true
|
||||
Grazeable = false
|
||||
GrazeValue = 1.0
|
||||
Attributes = 8
|
||||
Attributes = 264
|
||||
TimeModifiers = Array[Object]([SubResource("Resource_lcgqc")])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue