diff options
Diffstat (limited to 'game/rooms/intro')
| -rw-r--r-- | game/rooms/intro/esc/intro.esc | 13 | ||||
| -rw-r--r-- | game/rooms/intro/escoria-logo-comet-anim.png | bin | 0 -> 85426 bytes | |||
| -rw-r--r-- | game/rooms/intro/escoria-logo-comet-anim.png.import | 40 | ||||
| -rw-r--r-- | game/rooms/intro/escoria-logo-comet.png | bin | 0 -> 28142 bytes | |||
| -rw-r--r-- | game/rooms/intro/escoria-logo-comet.png.import | 40 | ||||
| -rw-r--r-- | game/rooms/intro/escoria_background.png | bin | 0 -> 71094 bytes | |||
| -rw-r--r-- | game/rooms/intro/escoria_background.png.import | 40 | ||||
| -rw-r--r-- | game/rooms/intro/escoria_background_1080p.png | bin | 0 -> 75553 bytes | |||
| -rw-r--r-- | game/rooms/intro/escoria_background_1080p.png.import | 40 | ||||
| -rw-r--r-- | game/rooms/intro/intro_background_space.png | bin | 0 -> 944543 bytes | |||
| -rw-r--r-- | game/rooms/intro/intro_background_space.png.import | 40 | ||||
| -rw-r--r-- | game/rooms/intro/intro_background_space_1080p.png | bin | 0 -> 1714359 bytes | |||
| -rw-r--r-- | game/rooms/intro/intro_background_space_1080p.png.import | 40 | ||||
| -rw-r--r-- | game/rooms/intro/intro_room.tscn | 306 |
14 files changed, 559 insertions, 0 deletions
diff --git a/game/rooms/intro/esc/intro.esc b/game/rooms/intro/esc/intro.esc new file mode 100644 index 0000000..05d14da --- /dev/null +++ b/game/rooms/intro/esc/intro.esc @@ -0,0 +1,13 @@ +:setup + anim_block("intro_animation_player", "RESET") + +:ready | NO_UI + # Until we have a proper way to skip animations/cutscenes, we want to prevent + # something silly like being able to pause during the intro. + accept_input("NONE") + + anim_block("intro_animation_player", "intro") + + accept_input("ALL") + + show_menu("main") diff --git a/game/rooms/intro/escoria-logo-comet-anim.png b/game/rooms/intro/escoria-logo-comet-anim.png Binary files differnew file mode 100644 index 0000000..b9b1b67 --- /dev/null +++ b/game/rooms/intro/escoria-logo-comet-anim.png diff --git a/game/rooms/intro/escoria-logo-comet-anim.png.import b/game/rooms/intro/escoria-logo-comet-anim.png.import new file mode 100644 index 0000000..1b27a0d --- /dev/null +++ b/game/rooms/intro/escoria-logo-comet-anim.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bcqf41n5ixawf" +path="res://.godot/imported/escoria-logo-comet-anim.png-61a9daadbd9a5013893a34a16352eaf5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://game/rooms/intro/escoria-logo-comet-anim.png" +dest_files=["res://.godot/imported/escoria-logo-comet-anim.png-61a9daadbd9a5013893a34a16352eaf5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/rooms/intro/escoria-logo-comet.png b/game/rooms/intro/escoria-logo-comet.png Binary files differnew file mode 100644 index 0000000..296c1ae --- /dev/null +++ b/game/rooms/intro/escoria-logo-comet.png diff --git a/game/rooms/intro/escoria-logo-comet.png.import b/game/rooms/intro/escoria-logo-comet.png.import new file mode 100644 index 0000000..24213d2 --- /dev/null +++ b/game/rooms/intro/escoria-logo-comet.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://biaeu2magjnnb" +path="res://.godot/imported/escoria-logo-comet.png-4feca95e0a71adb9a4583c4e2d6b9f39.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://game/rooms/intro/escoria-logo-comet.png" +dest_files=["res://.godot/imported/escoria-logo-comet.png-4feca95e0a71adb9a4583c4e2d6b9f39.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/rooms/intro/escoria_background.png b/game/rooms/intro/escoria_background.png Binary files differnew file mode 100644 index 0000000..8d4fc2b --- /dev/null +++ b/game/rooms/intro/escoria_background.png diff --git a/game/rooms/intro/escoria_background.png.import b/game/rooms/intro/escoria_background.png.import new file mode 100644 index 0000000..617050d --- /dev/null +++ b/game/rooms/intro/escoria_background.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dr7u6tmgltb5d" +path="res://.godot/imported/escoria_background.png-8bcff96f08e380943bb09ed3e8a001a4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://game/rooms/intro/escoria_background.png" +dest_files=["res://.godot/imported/escoria_background.png-8bcff96f08e380943bb09ed3e8a001a4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/rooms/intro/escoria_background_1080p.png b/game/rooms/intro/escoria_background_1080p.png Binary files differnew file mode 100644 index 0000000..3d94505 --- /dev/null +++ b/game/rooms/intro/escoria_background_1080p.png diff --git a/game/rooms/intro/escoria_background_1080p.png.import b/game/rooms/intro/escoria_background_1080p.png.import new file mode 100644 index 0000000..19a85f7 --- /dev/null +++ b/game/rooms/intro/escoria_background_1080p.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bcw3ujtn2jd6a" +path="res://.godot/imported/escoria_background_1080p.png-fc81012d9e0bc6c86bb55c1924e92011.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://game/rooms/intro/escoria_background_1080p.png" +dest_files=["res://.godot/imported/escoria_background_1080p.png-fc81012d9e0bc6c86bb55c1924e92011.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/rooms/intro/intro_background_space.png b/game/rooms/intro/intro_background_space.png Binary files differnew file mode 100644 index 0000000..0a8ff18 --- /dev/null +++ b/game/rooms/intro/intro_background_space.png diff --git a/game/rooms/intro/intro_background_space.png.import b/game/rooms/intro/intro_background_space.png.import new file mode 100644 index 0000000..31c88ee --- /dev/null +++ b/game/rooms/intro/intro_background_space.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://hwm26syqec82" +path="res://.godot/imported/intro_background_space.png-03815c403298b393ba1bea2b29eafeac.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://game/rooms/intro/intro_background_space.png" +dest_files=["res://.godot/imported/intro_background_space.png-03815c403298b393ba1bea2b29eafeac.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/rooms/intro/intro_background_space_1080p.png b/game/rooms/intro/intro_background_space_1080p.png Binary files differnew file mode 100644 index 0000000..6da33fe --- /dev/null +++ b/game/rooms/intro/intro_background_space_1080p.png diff --git a/game/rooms/intro/intro_background_space_1080p.png.import b/game/rooms/intro/intro_background_space_1080p.png.import new file mode 100644 index 0000000..dbb95fb --- /dev/null +++ b/game/rooms/intro/intro_background_space_1080p.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bi4mey684c14m" +path="res://.godot/imported/intro_background_space_1080p.png-59ae70e602893abda84a69b82c8be9a4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://game/rooms/intro/intro_background_space_1080p.png" +dest_files=["res://.godot/imported/intro_background_space_1080p.png-59ae70e602893abda84a69b82c8be9a4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/rooms/intro/intro_room.tscn b/game/rooms/intro/intro_room.tscn new file mode 100644 index 0000000..ee702d2 --- /dev/null +++ b/game/rooms/intro/intro_room.tscn @@ -0,0 +1,306 @@ +[gd_scene load_steps=16 format=3 uid="uid://bunr8esv8b1w7"] + +[ext_resource type="Texture2D" uid="uid://b60usq11m50gt" path="res://game/rooms/intro/escoria-logo-comet-anim.png" id="1"] +[ext_resource type="Texture2D" uid="uid://buwluvpj002oo" path="res://game/rooms/intro/intro_background_space.png" id="2"] +[ext_resource type="Texture2D" uid="uid://cmjd8bala4gmj" path="res://game/rooms/intro/escoria-logo-comet.png" id="3"] +[ext_resource type="Script" uid="uid://c7fcpp72w3dnj" path="res://addons/escoria-core/game/core-scripts/esc_room.gd" id="5"] +[ext_resource type="Script" uid="uid://dshelmw7y44qg" path="res://addons/escoria-core/game/core-scripts/esc_item.gd" id="7"] + +[sub_resource type="AtlasTexture" id="1"] +atlas = ExtResource("1") +region = Rect2(0, 0, 340, 400) + +[sub_resource type="AtlasTexture" id="2"] +atlas = ExtResource("1") +region = Rect2(340, 0, 340, 400) + +[sub_resource type="AtlasTexture" id="3"] +atlas = ExtResource("1") +region = Rect2(680, 0, 340, 400) + +[sub_resource type="AtlasTexture" id="4"] +atlas = ExtResource("1") +region = Rect2(1020, 0, 340, 400) + +[sub_resource type="AtlasTexture" id="5"] +atlas = ExtResource("1") +region = Rect2(1360, 0, 340, 400) + +[sub_resource type="AtlasTexture" id="6"] +atlas = ExtResource("1") +region = Rect2(1700, 0, 340, 400) + +[sub_resource type="SpriteFrames" id="7"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("1") +}, { +"duration": 1.0, +"texture": SubResource("2") +}, { +"duration": 1.0, +"texture": SubResource("3") +}, { +"duration": 1.0, +"texture": SubResource("4") +}, { +"duration": 1.0, +"texture": SubResource("5") +}, { +"duration": 1.0, +"texture": SubResource("6") +}], +"loop": true, +"name": &"default", +"speed": 10.0 +}] + +[sub_resource type="Animation" id="8"] +length = 0.1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("asteroid:visible") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [false] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("initial_background:visible") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [true] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("animated_asteroid:visible") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("asteroid:position") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(620, 450)] +} +tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/path = NodePath("Polygon2D:visible") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [true] +} + +[sub_resource type="Animation" id="9"] +length = 6.0 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("animated_asteroid:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 3), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(350, -20), Vector2(630, 471)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("animated_asteroid:scale") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 3), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [Vector2(0.1, 0.1), Vector2(1, 1)] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("animated_asteroid:visible") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0, 3), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [true, false] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("asteroid:visible") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 3), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [false, true] +} +tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/path = NodePath("asteroid:modulate") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/keys = { +"times": PackedFloat32Array(0, 3.5, 4.5), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)] +} +tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/path = NodePath("Polygon2D:color") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Color(1, 1, 1, 1)] +} +tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true +tracks/6/path = NodePath("Polygon2D:modulate") +tracks/6/interp = 1 +tracks/6/loop_wrap = true +tracks/6/keys = { +"times": PackedFloat32Array(0, 3, 3.5, 5), +"transitions": PackedFloat32Array(1, 1, 1, 1), +"update": 0, +"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 0)] +} +tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true +tracks/7/path = NodePath("initial_background:visible") +tracks/7/interp = 1 +tracks/7/loop_wrap = true +tracks/7/keys = { +"times": PackedFloat32Array(0, 3.5), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [true, false] +} +tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true +tracks/8/path = NodePath("asteroid:position") +tracks/8/interp = 1 +tracks/8/loop_wrap = true +tracks/8/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(620, 450)] +} +tracks/9/type = "value" +tracks/9/imported = false +tracks/9/enabled = true +tracks/9/path = NodePath("Polygon2D:visible") +tracks/9/interp = 1 +tracks/9/loop_wrap = true +tracks/9/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_teoqk"] +_data = { +&"RESET": SubResource("8"), +&"intro": SubResource("9") +} + +[node name="ESCRoom" type="Node2D"] +script = ExtResource("5") +global_id = "intro_cutscene" +esc_script = "res://game/rooms/intro/esc/intro.esc" +camera_limits = [Rect2(0, 0, 1920, 1080)] + +[node name="ReferenceRect" type="ReferenceRect" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="black_background" type="ColorRect" parent="ReferenceRect"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +color = Color(0, 0, 0, 1) + +[node name="initial_background" type="Sprite2D" parent="."] +position = Vector2(640, 450) +texture = ExtResource("2") + +[node name="animated_asteroid" type="AnimatedSprite2D" parent="."] +visible = false +position = Vector2(608.222, 432.811) +scale = Vector2(0.93, 0.93) +sprite_frames = SubResource("7") +autoplay = "default" +frame = 5 + +[node name="Polygon2D" type="Polygon2D" parent="."] +modulate = Color(1, 1, 1, 0) +position = Vector2(0, 6) +polygon = PackedVector2Array(0, 0, 1280, 0, 1280, 900, 0, 900) + +[node name="asteroid" type="Sprite2D" parent="."] +visible = false +position = Vector2(620, 450) +texture = ExtResource("3") + +[node name="ESCItem" type="Area2D" parent="."] +process_mode = 1 +script = ExtResource("7") +global_id = "intro_animation_player" +combine_when_selected_action_is_in = PackedStringArray() +animations = null + +[node name="AnimationPlayer" type="AnimationPlayer" parent="ESCItem"] +root_node = NodePath("../..") +libraries = { +"": SubResource("AnimationLibrary_teoqk") +} |
