mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 11:43:48 +00:00
Intro panels
This commit is contained in:
parent
e4de05547a
commit
bab0152ec3
38 changed files with 836 additions and 8 deletions
|
|
@ -1,11 +1,24 @@
|
|||
[gd_scene load_steps=12 format=3 uid="uid://oaxftu6lytvv"]
|
||||
[gd_scene load_steps=25 format=3 uid="uid://oaxftu6lytvv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d1cxthcj2fc10" path="res://Scripts/UI/IntroScenePlayer.cs" id="1_jtu71"]
|
||||
[ext_resource type="Texture2D" uid="uid://4skj5ik6qpu4" path="res://Sprites/Briefing/Intro1small.png" id="2_6u3to"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpbygf3mi6tlf" path="res://Sprites/Briefing/Intro2small.png" id="3_5hqyp"]
|
||||
[ext_resource type="Texture2D" uid="uid://cupm3ruhaj6d7" path="res://Sprites/Briefing/Intro3small.png" id="4_845v1"]
|
||||
[ext_resource type="Texture2D" uid="uid://jaa0cagbl4am" path="res://Sprites/Briefing/Intro4.png" id="5_mp1dh"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbgvukm0l0fyi" path="res://Sprites/Briefing/Intro5.png" id="6_bnr5y"]
|
||||
[ext_resource type="Texture2D" uid="uid://dxe00kftq3xd1" path="res://Sprites/Briefing/RefinerySmall.png" id="6_k5r5b"]
|
||||
[ext_resource type="Shader" uid="uid://iw1ujgfir2li" path="res://Shaders/CRT.gdshader" id="6_xs4jm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cty628ch0b4n4" path="res://Sprites/Briefing/Intro6.png" id="7_ps628"]
|
||||
[ext_resource type="Texture2D" uid="uid://bhobarurd214p" path="res://Sprites/Briefing/Intro7.png" id="8_bnr5y"]
|
||||
[ext_resource type="Texture2D" uid="uid://dukm7u3krroii" path="res://Sprites/Briefing/Intro8.png" id="9_d4oe4"]
|
||||
[ext_resource type="Texture2D" uid="uid://etyr605a8mmp" path="res://Sprites/Briefing/Intro9.png" id="10_8r24y"]
|
||||
[ext_resource type="Texture2D" uid="uid://cbld4bx84mxsn" path="res://Sprites/Briefing/intro10.png" id="11_p86nr"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjegnddqfl6dg" path="res://Sprites/Briefing/Intro11.png" id="12_paaiq"]
|
||||
[ext_resource type="Texture2D" uid="uid://ey0f1kerk5pw" path="res://Sprites/Briefing/Intro12.png" id="13_vtao2"]
|
||||
[ext_resource type="Texture2D" uid="uid://cxp486mplwwt4" path="res://Sprites/Briefing/Intro13.png" id="14_xyh1c"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqob6es5r8w6m" path="res://Sprites/Briefing/Intro14.png" id="15_aiaxc"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu1n0vbvv1u3d" path="res://Sprites/Briefing/Intro15.png" id="16_augg6"]
|
||||
[ext_resource type="Texture2D" uid="uid://dweqr0jvc3w5u" path="res://Sprites/Briefing/Intro16.png" id="17_5dxui"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_k5r5b"]
|
||||
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 1)
|
||||
|
|
@ -35,8 +48,9 @@ gradient = SubResource("Gradient_mp1dh")
|
|||
[node name="Intro" type="CanvasLayer" node_paths=PackedStringArray("PanelsHolder")]
|
||||
script = ExtResource("1_jtu71")
|
||||
PanelsHolder = NodePath("MarginContainer/ImagesContainer")
|
||||
Images = Array[Texture2D]([ExtResource("2_6u3to"), ExtResource("3_5hqyp"), ExtResource("4_845v1")])
|
||||
NextSceneName = "res://Scripts/MainMenu.cs"
|
||||
Images = Array[Texture2D]([ExtResource("2_6u3to"), ExtResource("3_5hqyp"), ExtResource("4_845v1"), ExtResource("5_mp1dh"), ExtResource("6_bnr5y"), ExtResource("7_ps628"), ExtResource("8_bnr5y"), ExtResource("9_d4oe4"), ExtResource("10_8r24y"), ExtResource("11_p86nr"), ExtResource("12_paaiq"), ExtResource("13_vtao2"), ExtResource("14_xyh1c"), ExtResource("15_aiaxc"), ExtResource("16_augg6"), ExtResource("17_5dxui")])
|
||||
TransitionTime = 4.0
|
||||
NextSceneName = "res://Scenes/MainMenu.tscn"
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
anchors_preset = 15
|
||||
|
|
@ -49,19 +63,22 @@ grow_vertical = 2
|
|||
layout_mode = 2
|
||||
texture = SubResource("GradientTexture2D_xs4jm")
|
||||
|
||||
[node name="ImagesContainer" type="Control" parent="MarginContainer"]
|
||||
[node name="ImagesContainer" type="CenterContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/ImagesContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
offset_left = 80.0
|
||||
offset_top = 8.0
|
||||
offset_right = 240.0
|
||||
offset_bottom = 152.0
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("6_k5r5b")
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/ImagesContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
texture = ExtResource("4_845v1")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="CRT" type="TextureRect" parent="MarginContainer"]
|
||||
material = SubResource("ShaderMaterial_mf5e4")
|
||||
layout_mode = 2
|
||||
|
|
|
|||
84
Scenes/Props/ICCTv.tscn
Normal file
84
Scenes/Props/ICCTv.tscn
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
[gd_scene load_steps=12 format=3 uid="uid://cjsnhyl0nqbau"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_100a6"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdhhices2ju4r" path="res://Scenes/Props/ICCTv_Broken.tscn" id="2_100a6"]
|
||||
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_3y2rc"]
|
||||
[ext_resource type="Texture2D" uid="uid://bifei6xr5esgs" path="res://Sprites/ICCTv.png" id="4_100a6"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
||||
size = Vector2(11, 14)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ihjbr"]
|
||||
atlas = ExtResource("4_100a6")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3y2rc"]
|
||||
atlas = ExtResource("4_100a6")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1kmfq"]
|
||||
atlas = ExtResource("4_100a6")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_t6ce5"]
|
||||
atlas = ExtResource("4_100a6")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_dgi5u"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ihjbr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3y2rc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1kmfq")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_t6ce5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
|
||||
size = Vector2(12, 10)
|
||||
|
||||
[node name="ICCTv" type="Area2D" groups=["Destroyable"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_100a6")
|
||||
Health = 4.0
|
||||
ExplosionRadius = 0.0
|
||||
ExplosionDamage = 0.0
|
||||
DebrisScene = ExtResource("2_100a6")
|
||||
ExplosionParticles = ExtResource("3_3y2rc")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0.5, -1)
|
||||
shape = SubResource("RectangleShape2D_2ewfl")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_dgi5u")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.895014
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
visible = false
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
gravity_scale = 0.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
position = Vector2(0, -3)
|
||||
shape = SubResource("RectangleShape2D_ss2y0")
|
||||
|
||||
[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."]
|
||||
visible = false
|
||||
radius = 8.36
|
||||
vertices = PackedVector2Array(-6, -9, 6, -9, 6, 2, -6, 2)
|
||||
62
Scenes/Props/ICCTv_Broken.tscn
Normal file
62
Scenes/Props/ICCTv_Broken.tscn
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://cdhhices2ju4r"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_n0nvc"]
|
||||
[ext_resource type="Texture2D" uid="uid://bifei6xr5esgs" path="res://Sprites/ICCTv.png" id="2_n0nvc"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
||||
size = Vector2(11, 14)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_t3h6f"]
|
||||
atlas = ExtResource("2_n0nvc")
|
||||
region = Rect2(128, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_e1d0b"]
|
||||
atlas = ExtResource("2_n0nvc")
|
||||
region = Rect2(160, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_c8rr2"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_t3h6f")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_e1d0b")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
|
||||
size = Vector2(11, 14)
|
||||
|
||||
[node name="ICCTVBroken" type="Area2D" groups=["Destroyable"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_n0nvc")
|
||||
Indestructible = true
|
||||
Health = 2.0
|
||||
ExplosionRadius = 0.0
|
||||
ExplosionDamage = 0.0
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0.5, -1)
|
||||
shape = SubResource("RectangleShape2D_2ewfl")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_c8rr2")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.380965
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
gravity_scale = 0.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
visible = false
|
||||
position = Vector2(0.5, -1)
|
||||
shape = SubResource("RectangleShape2D_ss2y0")
|
||||
Loading…
Add table
Add a link
Reference in a new issue