mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-13 18:25:55 +00:00
Nuclear gun and 3D tests
This commit is contained in:
parent
9d065a6f2b
commit
d1d3a3fdd5
34 changed files with 750 additions and 55 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=80 format=4 uid="uid://6a6tjohypmmb"]
|
||||
[gd_scene load_steps=82 format=4 uid="uid://6a6tjohypmmb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://doxmbokehw8ci" path="res://Scripts/GameManager.cs" id="1_t2k72"]
|
||||
[ext_resource type="PackedScene" uid="uid://c4pr2707hbeph" path="res://Scenes/Actors/fsm_player.tscn" id="2_2jsgm"]
|
||||
|
|
@ -41,8 +41,10 @@
|
|||
[ext_resource type="PackedScene" uid="uid://b7gkxlll3b1eg" path="res://Scenes/Activable/FloorEmitter.tscn" id="33_6h3t3"]
|
||||
[ext_resource type="Texture2D" uid="uid://r2bdhalt8sih" path="res://Sprites/Items/ofudagun_test.png" id="33_v8wj6"]
|
||||
[ext_resource type="Resource" uid="uid://cmra7n6so1x4u" path="res://Resources/BulletScripts/Basic_Enemy_Emitter_Spiral_Bullets.tres" id="35_imrxd"]
|
||||
[ext_resource type="PackedScene" uid="uid://ey71mxa5ocpn" path="res://Scenes/Items/Shield_Extend_Pickup.tscn" id="37_5j8ks"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0k2grrc8xp1l" path="res://Scenes/Props/BigTank.tscn" id="37_47klv"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfat0erkvb513" path="res://Scenes/Actors/Fairy_New.tscn" id="37_sb7g3"]
|
||||
[ext_resource type="PackedScene" uid="uid://1yxieu8ekvkm" path="res://Scenes/Items/Heart_Extend_Pickup.tscn" id="38_sb7g3"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_6wo78"]
|
||||
script = ExtResource("4_s1vkf")
|
||||
|
|
@ -472,7 +474,7 @@ Targets = [NodePath("../HorizontalForceField"), NodePath("../FloorEmitter"), Nod
|
|||
position = Vector2(-48, 480)
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Tilemaps/Actors"]
|
||||
position = Vector2(-642, 312)
|
||||
position = Vector2(289.455, 319.659)
|
||||
sprite_frames = SubResource("SpriteFrames_qco45")
|
||||
autoplay = "default"
|
||||
frame = 22
|
||||
|
|
@ -493,30 +495,12 @@ position = Vector2(-282.728, 648.41)
|
|||
Script = ExtResource("35_imrxd")
|
||||
InvertSignal = true
|
||||
|
||||
[node name="FairyGuard" parent="Tilemaps/Actors" instance=ExtResource("25_nb1db")]
|
||||
position = Vector2(99, 311)
|
||||
|
||||
[node name="FairyGuard2" parent="Tilemaps/Actors" instance=ExtResource("25_nb1db")]
|
||||
position = Vector2(96, 523)
|
||||
|
||||
[node name="Fairy" parent="Tilemaps/Actors" instance=ExtResource("37_sb7g3")]
|
||||
position = Vector2(159, 349)
|
||||
|
||||
[node name="FairyGuard3" parent="Tilemaps/Actors" instance=ExtResource("25_nb1db")]
|
||||
position = Vector2(-34, 566)
|
||||
|
||||
[node name="FairyGuard4" parent="Tilemaps/Actors" instance=ExtResource("25_nb1db")]
|
||||
position = Vector2(-202, 610)
|
||||
|
||||
[node name="Fairy2" parent="Tilemaps/Actors" instance=ExtResource("37_sb7g3")]
|
||||
position = Vector2(-103, 505)
|
||||
|
||||
[node name="Fairy3" parent="Tilemaps/Actors" instance=ExtResource("37_sb7g3")]
|
||||
position = Vector2(-64, 642)
|
||||
|
||||
[node name="Fairy4" parent="Tilemaps/Actors" instance=ExtResource("37_sb7g3")]
|
||||
position = Vector2(-123, 594)
|
||||
|
||||
[node name="Fairy5" parent="Tilemaps/Actors" instance=ExtResource("37_sb7g3")]
|
||||
position = Vector2(287, 515)
|
||||
|
||||
|
|
@ -529,6 +513,12 @@ position = Vector2(-121, 476)
|
|||
[node name="VerticalDoor3" parent="Tilemaps/Actors" instance=ExtResource("20_qudbj")]
|
||||
position = Vector2(-324, 696)
|
||||
|
||||
[node name="ShieldExtendPickup" parent="Tilemaps/Actors" instance=ExtResource("37_5j8ks")]
|
||||
position = Vector2(281, 296)
|
||||
|
||||
[node name="HeartExtendPickup" parent="Tilemaps/Actors" instance=ExtResource("38_sb7g3")]
|
||||
position = Vector2(306, 326)
|
||||
|
||||
[node name="CameraController" type="Camera2D" parent="."]
|
||||
script = ExtResource("7_lxkiw")
|
||||
pixel_snap = false
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=84 format=4 uid="uid://dqyfnby0t7gu1"]
|
||||
[gd_scene load_steps=105 format=4 uid="uid://dqyfnby0t7gu1"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://doxmbokehw8ci" path="res://Scripts/GameManager.cs" id="1_c3v4x"]
|
||||
[ext_resource type="Resource" uid="uid://cs3ihltcn2166" path="res://Resources/Items/IcicleGun.tres" id="3_6314l"]
|
||||
|
|
@ -46,7 +46,6 @@
|
|||
[ext_resource type="PackedScene" uid="uid://cnhgvn2salyxl" path="res://Scenes/Items/Icicle_Repeater.tscn" id="32_luw81"]
|
||||
[ext_resource type="PackedScene" uid="uid://bjb1xv0ny1qim" path="res://Scenes/Props/Chair.tscn" id="33_7ft0s"]
|
||||
[ext_resource type="Script" uid="uid://bgertv72tq1dt" path="res://Scripts/Components/FSM/NewPlayerStateMachine.cs" id="34_2vu2h"]
|
||||
[ext_resource type="Script" uid="uid://b5fesrd4lv8t1" path="res://Scripts/Resources/Events/EventResource.cs" id="35_16ubp"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0k2grrc8xp1l" path="res://Scenes/Props/BigTank.tscn" id="35_31m6w"]
|
||||
[ext_resource type="Script" uid="uid://btwuahxvreivs" path="res://Scripts/Components/FSM/Player/NewInit.cs" id="35_mpb62"]
|
||||
[ext_resource type="Script" uid="uid://dl50bcl8dx3k8" path="res://Scripts/Components/FSM/TestModule.cs" id="36_4rfvg"]
|
||||
|
|
@ -57,6 +56,7 @@
|
|||
[ext_resource type="Script" uid="uid://bngko08ho85p6" path="res://Scripts/Resources/BulletScript.cs" id="39_83jc5"]
|
||||
[ext_resource type="Resource" uid="uid://dqnvesdj0dk3v" path="res://Resources/Bullets/simple_enemy_bullet.tres" id="39_b0wyy"]
|
||||
[ext_resource type="Script" uid="uid://c0ndqalsc4jve" path="res://Scripts/AttackPatterns/SpiralPattern.cs" id="40_o56je"]
|
||||
[ext_resource type="Script" uid="uid://b5s5mjuk1rng5" path="res://Scripts/Resources/TimeModifier.cs" id="43_8n581"]
|
||||
[ext_resource type="Script" uid="uid://c6467d6yx50qh" path="res://Scripts/Components/BulletSpawner.cs" id="43_b8ffn"]
|
||||
[ext_resource type="PackedScene" uid="uid://b7gkxlll3b1eg" path="res://Scenes/Activable/FloorEmitter.tscn" id="44_b8ffn"]
|
||||
[ext_resource type="Resource" uid="uid://cmra7n6so1x4u" path="res://Resources/BulletScripts/Basic_Enemy_Emitter_Spiral_Bullets.tres" id="45_4mkc6"]
|
||||
|
|
@ -66,6 +66,10 @@
|
|||
[ext_resource type="PackedScene" uid="uid://bb32f4p5e671j" path="res://Scenes/Actors/Fairy_Guard_FSM.tscn" id="51_awjkl"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1h48wgasakk4" path="res://Scenes/Interactable/alarm_box.tscn" id="52_5nxem"]
|
||||
[ext_resource type="Script" uid="uid://bwox5lmgiijcs" path="res://Scripts/Resources/Events/ActivateEvent.cs" id="52_q2wmj"]
|
||||
[ext_resource type="Texture2D" uid="uid://cnayqn8jgb8jj" path="res://Models/carr/carr_rotating.png" id="56_5glx6"]
|
||||
[ext_resource type="PackedScene" uid="uid://iooa4gqy2uu2" path="res://Scenes/Items/Nuclear_Gun_Pickup.tscn" id="56_iv5wi"]
|
||||
[ext_resource type="PackedScene" uid="uid://ey71mxa5ocpn" path="res://Scenes/Items/Shield_Extend_Pickup.tscn" id="60_bjd5y"]
|
||||
[ext_resource type="PackedScene" uid="uid://d360rx247qywn" path="res://3D/3DTest.tscn" id="68_8n581"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_6wo78"]
|
||||
script = ExtResource("4_u1i8n")
|
||||
|
|
@ -124,7 +128,7 @@ DamageType = 0
|
|||
OverrideControllable = false
|
||||
Controllable = false
|
||||
OverrideCreationModifier = false
|
||||
TimeModifiers = []
|
||||
TimeModifiers = Array[ExtResource("43_8n581")]([])
|
||||
WaitForCompletion = true
|
||||
metadata/_custom_type_script = "uid://c0ndqalsc4jve"
|
||||
|
||||
|
|
@ -152,11 +156,11 @@ DamageType = 0
|
|||
OverrideControllable = false
|
||||
Controllable = false
|
||||
OverrideCreationModifier = false
|
||||
TimeModifiers = []
|
||||
TimeModifiers = Array[ExtResource("43_8n581")]([])
|
||||
WaitForCompletion = true
|
||||
metadata/_custom_type_script = "uid://c0ndqalsc4jve"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_cr4hs"]
|
||||
[sub_resource type="Resource" id="Resource_bjd5y"]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("39_83jc5")
|
||||
Patterns = Array[Object]([SubResource("Resource_kuo18")])
|
||||
|
|
@ -176,6 +180,122 @@ Targets = Array[NodePath]([NodePath("../../ThermatronFsm")])
|
|||
WaitForCompletion = true
|
||||
metadata/_custom_type_script = "uid://bwox5lmgiijcs"
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8qe0x"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nadrw"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vto58"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1tvdd"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v4yda"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(64, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_awrqa"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(80, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tv14v"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(96, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_amdeb"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(112, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0e6ic"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(128, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6khjs"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(144, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_rgw1q"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(160, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_g20dv"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(176, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tf3yy"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(192, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_56glb"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(208, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_w73bs"]
|
||||
atlas = ExtResource("56_5glx6")
|
||||
region = Rect2(224, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_n5tt7"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_8qe0x")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_nadrw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vto58")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1tvdd")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_v4yda")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_awrqa")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tv14v")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_amdeb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0e6ic")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6khjs")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_rgw1q")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_g20dv")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tf3yy")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_56glb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_w73bs")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_q2wmj"]
|
||||
viewport_path = NodePath("Tilemaps/3DSprite/SubViewport")
|
||||
|
||||
[sub_resource type="Resource" id="Resource_pgobb"]
|
||||
script = ExtResource("29_3ll5g")
|
||||
RelativeTargetPosition = Vector2(0, -96)
|
||||
|
|
@ -262,7 +382,7 @@ scale = Vector2(0.66, 2.04)
|
|||
|
||||
[node name="FairyFsm" parent="Tilemaps/AcidHitboxes" node_paths=PackedStringArray("DefeatScript") instance=ExtResource("12_64bae")]
|
||||
position = Vector2(776, -56)
|
||||
ExtraLoot = Array[ExtResource("13_b3y78")]([SubResource("Resource_w8nwr"), SubResource("Resource_awjkl")])
|
||||
ExtraLoot = [SubResource("Resource_w8nwr"), SubResource("Resource_awjkl")]
|
||||
DefeatScript = NodePath("../../Actors/HorizontalForceField2")
|
||||
ActivationType = 2
|
||||
|
||||
|
|
@ -433,7 +553,7 @@ InvertSignal = true
|
|||
|
||||
[node name="FloorEmitter2" parent="Tilemaps/Actors" instance=ExtResource("44_b8ffn")]
|
||||
position = Vector2(601, 147)
|
||||
Script = SubResource("Resource_cr4hs")
|
||||
Script = SubResource("Resource_bjd5y")
|
||||
InvertSignal = true
|
||||
|
||||
[node name="Camera" parent="Tilemaps/Actors" instance=ExtResource("48_r562v")]
|
||||
|
|
@ -445,7 +565,7 @@ Targets = [NodePath("Script")]
|
|||
|
||||
[node name="Script" type="Node2D" parent="Tilemaps/Actors/ControlPad4"]
|
||||
script = ExtResource("50_cr4hs")
|
||||
Events = Array[ExtResource("35_16ubp")]([SubResource("Resource_8n581"), SubResource("Resource_iv5wi")])
|
||||
Events = [SubResource("Resource_8n581"), SubResource("Resource_iv5wi")]
|
||||
|
||||
[node name="FairyGuardFsm" parent="Tilemaps/Actors" instance=ExtResource("50_w8nwr")]
|
||||
position = Vector2(712, -136)
|
||||
|
|
@ -469,13 +589,49 @@ position = Vector2(888, 176)
|
|||
position = Vector2(544, -32)
|
||||
StartingAiState = 1
|
||||
|
||||
[node name="NuclearGun" parent="Tilemaps/Actors" instance=ExtResource("56_iv5wi")]
|
||||
position = Vector2(602, 30)
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Tilemaps"]
|
||||
position = Vector2(622, 36)
|
||||
sprite_frames = SubResource("SpriteFrames_n5tt7")
|
||||
autoplay = "default"
|
||||
frame = 8
|
||||
frame_progress = 0.43812
|
||||
|
||||
[node name="3DSprite" type="Sprite2D" parent="Tilemaps"]
|
||||
position = Vector2(643, 38)
|
||||
texture = SubResource("ViewportTexture_q2wmj")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="Tilemaps/3DSprite"]
|
||||
transparent_bg = true
|
||||
handle_input_locally = false
|
||||
snap_2d_transforms_to_pixel = true
|
||||
snap_2d_vertices_to_pixel = true
|
||||
size = Vector2i(16, 16)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="3dTest" parent="Tilemaps/3DSprite/SubViewport" instance=ExtResource("68_8n581")]
|
||||
transform = Transform3D(0.548614, 0, -0.836076, 0, 1, 0, 0.836076, 0, 0.548614, 0, 0, 0)
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="Tilemaps/3DSprite/SubViewport"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.929886, 0.367849, 0, -0.367849, 0.929886, -0.0305517, 3.01764, 7.21974)
|
||||
projection = 1
|
||||
size = 3.0
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Tilemaps/3DSprite/SubViewport"]
|
||||
transform = Transform3D(0.826924, -0.385938, 0.408961, 0, 0.727282, 0.686339, -0.562314, -0.56755, 0.601406, -1.68338, 4.05689, 4.38376)
|
||||
|
||||
[node name="ScriptableAreaTrigger" parent="Tilemaps" instance=ExtResource("28_fuxq3")]
|
||||
position = Vector2(230, 250)
|
||||
Events = Array[ExtResource("35_16ubp")]([SubResource("Resource_pgobb")])
|
||||
Events = [SubResource("Resource_pgobb")]
|
||||
|
||||
[node name="AlarmBox" parent="Tilemaps" instance=ExtResource("52_5nxem")]
|
||||
position = Vector2(616, 88)
|
||||
|
||||
[node name="ShieldExtendPickup" parent="Tilemaps" instance=ExtResource("60_bjd5y")]
|
||||
position = Vector2(664, 38)
|
||||
|
||||
[node name="CameraController" type="Camera2D" parent="."]
|
||||
process_mode = 1
|
||||
script = ExtResource("9_dj0ui")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue