mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:15:45 +00:00
Selective bullet rotation
This commit is contained in:
parent
538f4f215f
commit
5624d0178c
8 changed files with 52 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=155 format=4 uid="uid://bv451a8wgty4u"]
|
||||
[gd_scene load_steps=157 format=4 uid="uid://bv451a8wgty4u"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://doxmbokehw8ci" path="res://Scripts/GameManager.cs" id="1_8tmoj"]
|
||||
[ext_resource type="PackedScene" uid="uid://c4pr2707hbeph" path="res://Scenes/Actors/fsm_player.tscn" id="2_ksslq"]
|
||||
|
|
@ -144,7 +144,7 @@ script = ExtResource("98_gvbi8")
|
|||
BulletResource = ExtResource("95_f37sa")
|
||||
bulletCount = 1
|
||||
rotationSpeed = 0.0
|
||||
_rotationOffset = 90.0
|
||||
_rotationOffset = 0.0
|
||||
duration = 1.4
|
||||
spread = 0.0
|
||||
burstInterval = 1.0
|
||||
|
|
@ -297,11 +297,39 @@ _data = {
|
|||
}
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="Resource" id="Resource_fuaed"]
|
||||
[sub_resource type="Resource" id="Resource_b57kd"]
|
||||
script = ExtResource("99_j6vrf")
|
||||
Patterns = Array[Object]([SubResource("Resource_xhinl")])
|
||||
metadata/_custom_type_script = "uid://bngko08ho85p6"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_mgwgx"]
|
||||
script = ExtResource("98_gvbi8")
|
||||
BulletResource = ExtResource("95_f37sa")
|
||||
bulletCount = 1
|
||||
rotationSpeed = 0.0
|
||||
_rotationOffset = 90.0
|
||||
duration = 1.4
|
||||
spread = 0.0
|
||||
burstInterval = 1.0
|
||||
ShotsPerBurst = 1
|
||||
BurstRate = 0.8
|
||||
_targetPlayer = false
|
||||
OverrideOwner = true
|
||||
Owner = 0
|
||||
OverrideDamageType = false
|
||||
DamageType = 0
|
||||
OverrideControllable = false
|
||||
Controllable = false
|
||||
OverrideCreationModifier = false
|
||||
TimeModifiers = Array[ExtResource("44_j86ly")]([])
|
||||
WaitForCompletion = true
|
||||
metadata/_custom_type_script = "uid://c0ndqalsc4jve"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_fuaed"]
|
||||
script = ExtResource("99_j6vrf")
|
||||
Patterns = Array[Object]([SubResource("Resource_mgwgx")])
|
||||
metadata/_custom_type_script = "uid://bngko08ho85p6"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_l476f"]
|
||||
script = ExtResource("45_emjoj")
|
||||
ActivationType = 5
|
||||
|
|
@ -1358,7 +1386,7 @@ ActivationType = 1
|
|||
[node name="InvisibleBulletEmitter" parent="Parallax2D/Factory Tilemaps/LevelProps" instance=ExtResource("96_ygp23")]
|
||||
position = Vector2(-715, 56)
|
||||
rotation = -1.5708
|
||||
Script = SubResource("Resource_f37sa")
|
||||
Script = SubResource("Resource_b57kd")
|
||||
|
||||
[node name="InvisibleBulletEmitter2" parent="Parallax2D/Factory Tilemaps/LevelProps" instance=ExtResource("96_ygp23")]
|
||||
position = Vector2(-2136, -227)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue