3D Intro scene

This commit is contained in:
MaddoScientisto 2025-03-23 00:11:37 +01:00
commit baa05f4739
54 changed files with 938 additions and 20 deletions

90
3D/BriefingRoom3D.tscn Normal file
View file

@ -0,0 +1,90 @@
[gd_scene load_steps=12 format=3 uid="uid://cpgrmlc0c1ssj"]
[ext_resource type="Texture2D" uid="uid://be61lgrlwpnfc" path="res://Sprites/SingleTiles/Floor1.png" id="1_e50nb"]
[ext_resource type="Texture2D" uid="uid://cbili227jlvys" path="res://Sprites/SingleTiles/Floor1_n.png" id="2_i1ujt"]
[ext_resource type="Texture2D" uid="uid://bv5mlon5vn8p3" path="res://Sprites/SingleTiles/Wall1.png" id="2_lb6jo"]
[ext_resource type="Texture2D" uid="uid://bucmiheu0osiq" path="res://Sprites/SingleTiles/Floor2.png" id="2_twstw"]
[ext_resource type="PackedScene" uid="uid://bh0ye0m85cyb1" path="res://3D/box.tscn" id="4_i1ujt"]
[ext_resource type="Texture2D" uid="uid://lnfcp2p5lv86" path="res://Sprites/SingleTiles/Floor2_n.png" id="4_qeg8b"]
[ext_resource type="Texture2D" uid="uid://dh6sndr5bwpx3" path="res://Sprites/SingleTiles/Wall1_n.png" id="4_re5kh"]
[ext_resource type="PackedScene" uid="uid://b5qj2iaprortr" path="res://3D/Mainframe3D.tscn" id="8_7u58v"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_twstw"]
albedo_texture = ExtResource("1_e50nb")
normal_enabled = true
normal_scale = 0.24
normal_texture = ExtResource("2_i1ujt")
uv1_triplanar = true
uv1_world_triplanar = true
texture_filter = 0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_re5kh"]
albedo_texture = ExtResource("2_twstw")
normal_enabled = true
normal_scale = 0.24
normal_texture = ExtResource("4_qeg8b")
uv1_triplanar = true
uv1_world_triplanar = true
texture_filter = 0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m7abt"]
albedo_texture = ExtResource("2_lb6jo")
normal_enabled = true
normal_texture = ExtResource("4_re5kh")
uv1_scale = Vector3(1, 0.5, 1)
uv1_offset = Vector3(0, 0.5, 0)
uv1_triplanar = true
uv1_world_triplanar = true
texture_filter = 0
[node name="BriefingRoom3d" type="Node3D"]
[node name="GridMap" type="GridMap" parent="."]
[node name="Floor" type="CSGBox3D" parent="."]
transform = Transform3D(4.4, 0, 0, 0, 0.2, 0, 0, 0, 4.2, 0, 1, 0.0272617)
material = SubResource("StandardMaterial3D_twstw")
metadata/_edit_group_ = true
[node name="Ceiling" type="CSGBox3D" parent="."]
transform = Transform3D(4.4, 0, 0, 0, 0.2, 0, 0, 0, 4.2, 0, 3, 0.0272617)
material = SubResource("StandardMaterial3D_re5kh")
metadata/_edit_group_ = true
[node name="CSGBox3D2" type="CSGBox3D" parent="."]
transform = Transform3D(4.4, 0, 0, 0, 1.9008, 0, 0, 0, -0.42, 0, 2, -1.97274)
material = SubResource("StandardMaterial3D_m7abt")
[node name="CSGBox3D5" type="CSGBox3D" parent="."]
transform = Transform3D(0.44, 0, 0, 0, 1.9008, 0, 0, 0, -3.7758, -2, 2, 0.0272617)
material = SubResource("StandardMaterial3D_m7abt")
[node name="CSGBox3D6" type="CSGBox3D" parent="."]
transform = Transform3D(0.44, 0, 0, 0, 1.9008, 0, 0, 0, -3.7758, 2, 2, 0.0272617)
material = SubResource("StandardMaterial3D_m7abt")
[node name="CSGBox3D4" type="CSGBox3D" parent="."]
transform = Transform3D(4.4, 0, 0, 0, 1.9008, 0, 0, 0, -0.42, 0, 2, 2.08371)
material = SubResource("StandardMaterial3D_m7abt")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.962209, 0, 0.272314, 0, 1, 0, -0.272314, 0, 0.962209, 0.454159, 2, 1.2103)
fov = 50.0
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.648119, 2.60817, 0.592737)
[node name="OmniLight3D2" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.45522, 2.60817, 0)
[node name="Box" parent="." instance=ExtResource("4_i1ujt")]
transform = Transform3D(0.499658, 0, 0.0184963, 0, 0.5, 0, -0.0184963, 0, 0.499658, -1.05603, 1.36428, -1.02573)
[node name="Box2" parent="." instance=ExtResource("4_i1ujt")]
transform = Transform3D(0.466514, 0, -0.179901, 0, 0.5, 0, 0.179901, 0, 0.466514, -1.05603, 1.86456, -1.02573)
[node name="Box3" parent="." instance=ExtResource("4_i1ujt")]
transform = Transform3D(0.426634, 0, 0.260736, 0, 0.5, 0, -0.260736, 0, 0.426634, 0.204804, 1.3723, -1.02573)
[node name="Mainframe3d" parent="." instance=ExtResource("8_7u58v")]
transform = Transform3D(-1.81402e-08, 0, -0.415, 0, 0.415, 0, 0.415, 0, -1.81402e-08, 0.856712, 1.51847, -0.845607)

BIN
3D/Mainframe.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
3D/Mainframe.blend Normal file

Binary file not shown.

53
3D/Mainframe.blend.import Normal file
View file

@ -0,0 +1,53 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://4odwjvnw3673"
path="res://.godot/imported/Mainframe.blend-528abab5f40d52107a3ee02ac0180633.scn"
[deps]
source_file="res://3D/Mainframe.blend"
dest_files=["res://.godot/imported/Mainframe.blend-528abab5f40d52107a3ee02ac0180633.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
blender/nodes/visible=0
blender/nodes/active_collection_only=false
blender/nodes/punctual_lights=true
blender/nodes/cameras=true
blender/nodes/custom_properties=true
blender/nodes/modifiers=1
blender/meshes/colors=false
blender/meshes/uvs=true
blender/meshes/normals=true
blender/meshes/export_geometry_nodes_instances=false
blender/meshes/tangents=true
blender/meshes/skins=2
blender/meshes/export_bones_deforming_mesh_only=false
blender/materials/unpack_enabled=true
blender/materials/export_materials=1
blender/animation/limit_playback=true
blender/animation/always_sample=true
blender/animation/group_tracks=true

BIN
3D/Mainframe.blend1 Normal file

Binary file not shown.

22
3D/Mainframe.mtl Normal file
View file

@ -0,0 +1,22 @@
# Blender 4.3.2 MTL File: 'Mainframe.blend'
# www.blender.org
newmtl Material.001
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 2
map_Kd Mainframe_uv.png
newmtl Material.002
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
d 1.000000
illum 2
map_Kd Mainframe_uv.png

85
3D/Mainframe.obj Normal file
View file

@ -0,0 +1,85 @@
# Blender 4.3.2
# www.blender.org
mtllib Mainframe.mtl
o Cube
v -1.000000 -1.000000 1.000000
v -1.000000 1.000000 1.000000
v -1.000000 -1.000000 -1.000000
v -1.000000 1.000000 -1.000000
v 1.000000 -1.000000 1.000000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 -1.000000
v 1.000000 1.000000 -1.000000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -0.0000 -1.0000 -0.0000
vn -0.0000 1.0000 -0.0000
vt 0.125000 0.500000
vt 0.250000 0.500000
vt 0.250000 0.625000
vt 0.125000 0.625000
vt 0.250000 0.750000
vt 0.125000 0.750000
vt 0.250000 0.750000
vt 0.250000 0.875000
vt 0.125000 0.875000
vt 0.125000 0.750000
vt 0.250000 0.875000
vt 0.250000 1.000000
vt 0.125000 1.000000
vt 0.000000 0.750000
vt 0.000000 0.875000
vt 0.375000 0.750000
vt 0.375000 0.875000
vt 0.250000 0.750000
s 0
usemtl Material.001
f 1/1/1 2/2/1 4/3/1 3/4/1
f 3/4/2 4/3/2 8/5/2 7/6/2
f 7/7/3 8/8/3 6/9/3 5/10/3
f 5/9/4 6/11/4 2/12/4 1/13/4
f 3/14/5 7/6/5 5/9/5 1/15/5
f 8/16/6 4/17/6 2/11/6 6/18/6
o Cube.001
v -1.000000 1.000000 1.000000
v -1.000000 3.000000 1.000000
v -1.000000 1.000000 -1.000000
v -1.000000 3.000000 -1.000000
v 0.500000 1.000000 1.000000
v 0.500000 3.000000 1.000000
v 0.500000 1.000000 -1.000000
v 0.500000 3.000000 -1.000000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -0.0000 -1.0000 -0.0000
vn -0.0000 1.0000 -0.0000
vt 0.500000 0.500000
vt 0.625000 0.500000
vt 0.625000 0.625000
vt 0.500000 0.625000
vt 0.625000 0.750000
vt 0.500000 0.750000
vt 0.625000 0.750000
vt 0.625000 0.875000
vt 0.500000 0.875000
vt 0.500000 0.750000
vt 0.500000 0.875000
vt 0.625000 0.875000
vt 0.625000 1.000000
vt 0.500000 1.000000
vt 0.375000 0.750000
vt 0.375000 0.875000
vt 0.750000 0.750000
vt 0.750000 0.875000
s 0
usemtl Material.002
f 9/19/7 10/20/7 12/21/7 11/22/7
f 11/22/8 12/21/8 16/23/8 15/24/8
f 15/25/9 16/26/9 14/27/9 13/28/9
f 13/29/10 14/30/10 10/31/10 9/32/10
f 11/33/11 15/24/11 13/29/11 9/34/11
f 16/23/12 12/35/12 10/36/12 14/30/12

25
3D/Mainframe.obj.import Normal file
View file

@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://ca7gjtyx6n5p3"
path="res://.godot/imported/Mainframe.obj-fb102d9c05c134b0dd36556051a1e5ff.mesh"
[deps]
files=["res://.godot/imported/Mainframe.obj-fb102d9c05c134b0dd36556051a1e5ff.mesh"]
source_file="res://3D/Mainframe.obj"
dest_files=["res://.godot/imported/Mainframe.obj-fb102d9c05c134b0dd36556051a1e5ff.mesh", "res://.godot/imported/Mainframe.obj-fb102d9c05c134b0dd36556051a1e5ff.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false

BIN
3D/Mainframe.png (Stored with Git LFS) Normal file

Binary file not shown.

34
3D/Mainframe.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d0cjj1wmvldbo"
path="res://.godot/imported/Mainframe.png-47c9af686dbf2f53fbab366d46691a13.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://3D/Mainframe.png"
dest_files=["res://.godot/imported/Mainframe.png-47c9af686dbf2f53fbab366d46691a13.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

15
3D/Mainframe3D.tscn Normal file
View file

@ -0,0 +1,15 @@
[gd_scene load_steps=4 format=3 uid="uid://b5qj2iaprortr"]
[ext_resource type="Texture2D" uid="uid://byy3gbb8yreqn" path="res://3D/Mainframe_uv.png" id="1_1wtqc"]
[ext_resource type="ArrayMesh" uid="uid://ca7gjtyx6n5p3" path="res://3D/Mainframe.obj" id="2_jjmqv"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fjcat"]
albedo_texture = ExtResource("1_1wtqc")
texture_filter = 0
[node name="Mainframe3d" type="Node3D"]
[node name="Mainframe" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.17605, 0, -1.16778)
material_override = SubResource("StandardMaterial3D_fjcat")
mesh = ExtResource("2_jjmqv")

BIN
3D/Mainframe_uv.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://byy3gbb8yreqn"
path.s3tc="res://.godot/imported/Mainframe_uv.png-b992ee4217d957ce76e7ee058b84de89.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://3D/Mainframe_uv.png"
dest_files=["res://.godot/imported/Mainframe_uv.png-b992ee4217d957ce76e7ee058b84de89.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
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=0

15
3D/box.tscn Normal file
View file

@ -0,0 +1,15 @@
[gd_scene load_steps=5 format=3 uid="uid://bh0ye0m85cyb1"]
[ext_resource type="Texture2D" uid="uid://bh4nto63luupr" path="res://Sprites/SingleTiles/BoxTexture.png" id="1_0h5l4"]
[ext_resource type="ArrayMesh" uid="uid://c4b04afebqxy3" path="res://Sprites/SingleTiles/Box.obj" id="2_558ow"]
[ext_resource type="Texture2D" uid="uid://biqgn3mqml6pk" path="res://Sprites/SingleTiles/BoxTexture_n.png" id="2_u7fm4"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qeg8b"]
albedo_texture = ExtResource("1_0h5l4")
normal_enabled = true
normal_texture = ExtResource("2_u7fm4")
texture_filter = 0
[node name="Box" type="MeshInstance3D"]
material_override = SubResource("StandardMaterial3D_qeg8b")
mesh = ExtResource("2_558ow")

View file

@ -1,4 +1,3 @@
[background arg="res://Sprites/UI/TitleBackground.png" fade="0.0"]
[style name="Briefing_Style"]
join Colonel center [animation="Fade In"]
Colonel: Welcome to the Resistance, Cirno.

View file

@ -20,9 +20,9 @@
[ext_resource type="Resource" uid="uid://byo74ews118nl" path="res://Resources/Music/No_Reason.tres" id="13_fh7cp"]
[ext_resource type="FontFile" uid="uid://cyk27h5aox1n7" path="res://fonts/sector_034.ttf" id="14_yxkem"]
[sub_resource type="AtlasTexture" id="AtlasTexture_rs5p5"]
[sub_resource type="AtlasTexture" id="AtlasTexture_hy5wk"]
atlas = ExtResource("9_riqfo")
region = Rect2(0, 0, 32, 16)
region = Rect2(288, 0, 32, 16)
[sub_resource type="Theme" id="Theme_c7h4d"]
@ -67,7 +67,7 @@ offset_top = 40.995
offset_right = 186.42
offset_bottom = 56.995
rotation = 3.14159
texture = SubResource("AtlasTexture_rs5p5")
texture = SubResource("AtlasTexture_hy5wk")
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 15

40
Scenes/Maps/Box.obj Normal file
View file

@ -0,0 +1,40 @@
# Blender 4.3.2
# www.blender.org
mtllib box.mtl
o Cube
v 1.000000 0.500000 -0.500000
v 1.000000 -0.500000 -0.500000
v 1.000000 0.500000 0.500000
v 1.000000 -0.500000 0.500000
v -1.000000 0.500000 -0.500000
v -1.000000 -0.500000 -0.500000
v -1.000000 0.500000 0.500000
v -1.000000 -0.500000 0.500000
vn -0.0000 1.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -1.0000 -0.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vt 0.500000 0.500000
vt 0.750000 0.500000
vt 0.750000 0.750000
vt 0.500000 0.750000
vt 0.250000 0.750000
vt 0.500000 1.000000
vt 0.250000 1.000000
vt 0.250000 0.000000
vt 0.500000 0.000000
vt 0.500000 0.250000
vt 0.250000 0.250000
vt 0.000000 0.500000
vt 0.250000 0.500000
vt 0.000000 0.750000
s 0
usemtl Material
f 1/1/1 5/2/1 7/3/1 3/4/1
f 4/5/2 3/4/2 7/6/2 8/7/2
f 8/8/3 7/9/3 5/10/3 6/11/3
f 6/12/4 2/13/4 4/5/4 8/14/4
f 2/13/5 1/1/5 3/4/5 4/5/5
f 6/11/6 5/10/6 1/1/6 2/13/6

View file

@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://3xp5wm6ic8p4"
path="res://.godot/imported/Box.obj-fc6237c764bad6a78bd1ccf776f35926.mesh"
[deps]
files=["res://.godot/imported/Box.obj-fc6237c764bad6a78bd1ccf776f35926.mesh"]
source_file="res://Scenes/Maps/Box.obj"
dest_files=["res://.godot/imported/Box.obj-fc6237c764bad6a78bd1ccf776f35926.mesh", "res://.godot/imported/Box.obj-fc6237c764bad6a78bd1ccf776f35926.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false

View file

@ -1,8 +1,20 @@
[gd_scene load_steps=2 format=3 uid="uid://dcn2o6hllas78"]
[gd_scene load_steps=3 format=3 uid="uid://dcn2o6hllas78"]
[ext_resource type="Script" uid="uid://bf0tnhnwttrim" path="res://Scripts/Misc/DialogueAutoStarter.cs" id="1_qu5kv"]
[ext_resource type="PackedScene" uid="uid://cpgrmlc0c1ssj" path="res://3D/BriefingRoom3D.tscn" id="2_qxk7q"]
[node name="IntroBriefing" type="Node2D"]
script = ExtResource("1_qu5kv")
_trackName = &"Mission1_Briefing"
_finishedScenePath = &"uid://bpnahwxmjgb6t"
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
offset_right = 320.0
offset_bottom = 160.0
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
handle_input_locally = false
size = Vector2i(320, 160)
render_target_update_mode = 4
[node name="BriefingRoom3d" parent="SubViewportContainer/SubViewport" instance=ExtResource("2_qxk7q")]

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=82 format=4 uid="uid://6a6tjohypmmb"]
[gd_scene load_steps=81 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"]
@ -16,7 +16,6 @@
[ext_resource type="PackedScene" uid="uid://dkwi1hu1bixoe" path="res://Scenes/HUD/HUD.tscn" id="9_mnq21"]
[ext_resource type="Script" uid="uid://bdshph801ac2i" path="res://Scenes/CameraTarget.gd" id="10_4nd4a"]
[ext_resource type="Script" uid="uid://cnkipcolyj61w" path="res://Scripts/AlarmManager.cs" id="11_7an4p"]
[ext_resource type="Script" uid="uid://b5fesrd4lv8t1" path="res://Scripts/Resources/Events/EventResource.cs" id="14_hvfip"]
[ext_resource type="Script" uid="uid://bwox5lmgiijcs" path="res://Scripts/Resources/Events/ActivateEvent.cs" id="14_s23f3"]
[ext_resource type="PackedScene" uid="uid://oi8svqsspcsj" path="res://Scenes/Interactable/ScriptableMovementSensor.tscn" id="16_ehuec"]
[ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="16_s23f3"]
@ -357,7 +356,7 @@ position = Vector2(196, 296)
[node name="MotionSensor" parent="Tilemaps/Actors" instance=ExtResource("16_ehuec")]
position = Vector2(254, 296)
Events = Array[ExtResource("14_hvfip")]([SubResource("Resource_s23f3")])
Events = [SubResource("Resource_s23f3")]
[node name="ControlPad" parent="Tilemaps/Actors" node_paths=PackedStringArray("Targets") instance=ExtResource("16_s23f3")]
position = Vector2(205, 292)
@ -378,11 +377,11 @@ position = Vector2(504, 468)
[node name="MovementSensorLonger" parent="Tilemaps/Actors" instance=ExtResource("20_fdi4d")]
position = Vector2(226, 486)
Events = Array[ExtResource("14_hvfip")]([SubResource("Resource_qi6uc")])
Events = [SubResource("Resource_qi6uc")]
[node name="MovementSensorLonger2" parent="Tilemaps/Actors" instance=ExtResource("20_fdi4d")]
position = Vector2(391, 455)
Events = Array[ExtResource("14_hvfip")]([SubResource("Resource_mq37i")])
Events = [SubResource("Resource_mq37i")]
[node name="WallEmitter" parent="Tilemaps/Actors" instance=ExtResource("21_qi6uc")]
position = Vector2(264, 482)

File diff suppressed because one or more lines are too long

View file

@ -84,6 +84,9 @@ public partial class Shooting : EnemyStateBase
{
StateMachine.SetState(EnemyState.Alert);
}
// Strafe
}
private void Shoot()

BIN
Sprites/SingleTiles/Box.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,40 @@
# Blender 4.3.2
# www.blender.org
mtllib box.mtl
o Cube
v 1.000000 0.500000 -0.500000
v 1.000000 -0.500000 -0.500000
v 1.000000 0.500000 0.500000
v 1.000000 -0.500000 0.500000
v -1.000000 0.500000 -0.500000
v -1.000000 -0.500000 -0.500000
v -1.000000 0.500000 0.500000
v -1.000000 -0.500000 0.500000
vn -0.0000 1.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -1.0000 -0.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vt 0.500000 0.500000
vt 0.750000 0.500000
vt 0.750000 0.750000
vt 0.500000 0.750000
vt 0.250000 0.750000
vt 0.500000 1.000000
vt 0.250000 1.000000
vt 0.250000 0.000000
vt 0.500000 0.000000
vt 0.500000 0.250000
vt 0.250000 0.250000
vt 0.000000 0.500000
vt 0.250000 0.500000
vt 0.000000 0.750000
s 0
usemtl Material
f 1/1/1 5/2/1 7/3/1 3/4/1
f 4/5/2 3/4/2 7/6/2 8/7/2
f 8/8/3 7/9/3 5/10/3 6/11/3
f 6/12/4 2/13/4 4/5/4 8/14/4
f 2/13/5 1/1/5 3/4/5 4/5/5
f 6/11/6 5/10/6 1/1/6 2/13/6

View file

@ -0,0 +1,25 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://c4b04afebqxy3"
path="res://.godot/imported/Box.obj-303ce84da2b1df4e522c7ff6b142d18a.mesh"
[deps]
files=["res://.godot/imported/Box.obj-303ce84da2b1df4e522c7ff6b142d18a.mesh"]
source_file="res://Sprites/SingleTiles/Box.obj"
dest_files=["res://.godot/imported/Box.obj-303ce84da2b1df4e522c7ff6b142d18a.mesh", "res://.godot/imported/Box.obj-303ce84da2b1df4e522c7ff6b142d18a.mesh"]
[params]
generate_tangents=true
generate_lods=true
generate_shadow_mesh=true
generate_lightmap_uv2=false
generate_lightmap_uv2_texel_size=0.2
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
force_disable_mesh_compression=false

BIN
Sprites/SingleTiles/Box.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cj3gbi07x5u"
path.s3tc="res://.godot/imported/Box.png-7854e977253eb1f7ac32da64c8eba404.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Sprites/SingleTiles/Box.png"
dest_files=["res://.godot/imported/Box.png-7854e977253eb1f7ac32da64c8eba404.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
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=0

BIN
Sprites/SingleTiles/BoxTexture.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/SingleTiles/BoxTexture.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bh4nto63luupr"
path.s3tc="res://.godot/imported/BoxTexture.png-84a39c23b651cf6303bcf5f1d882fd9a.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Sprites/SingleTiles/BoxTexture.png"
dest_files=["res://.godot/imported/BoxTexture.png-84a39c23b651cf6303bcf5f1d882fd9a.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
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=0

BIN
Sprites/SingleTiles/BoxTexture_Normal.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dr7k8i572818j"
path="res://.godot/imported/BoxTexture_Normal.png-0f3165340e7880d53e36e7ece7c10af3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/SingleTiles/BoxTexture_Normal.png"
dest_files=["res://.godot/imported/BoxTexture_Normal.png-0f3165340e7880d53e36e7ece7c10af3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

BIN
Sprites/SingleTiles/BoxTexture_n.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://biqgn3mqml6pk"
path="res://.godot/imported/BoxTexture_n.png-17dccb2e00c6976789e3020569ef8349.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/SingleTiles/BoxTexture_n.png"
dest_files=["res://.godot/imported/BoxTexture_n.png-17dccb2e00c6976789e3020569ef8349.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

BIN
Sprites/SingleTiles/Floor1.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
Sprites/SingleTiles/Floor1.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://be61lgrlwpnfc"
path.s3tc="res://.godot/imported/Floor1.png-5ca0488b5e22aa917dd88476ee16657f.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Sprites/SingleTiles/Floor1.png"
dest_files=["res://.godot/imported/Floor1.png-5ca0488b5e22aa917dd88476ee16657f.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
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=0

BIN
Sprites/SingleTiles/Floor1_n.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cbili227jlvys"
path.s3tc="res://.godot/imported/Floor1_n.png-ef7a688d3c0856e9ffafff2dab3388dc.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Sprites/SingleTiles/Floor1_n.png"
dest_files=["res://.godot/imported/Floor1_n.png-ef7a688d3c0856e9ffafff2dab3388dc.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://Sprites/SingleTiles/Floor1_n.png"
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=0

BIN
Sprites/SingleTiles/Floor2.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
Sprites/SingleTiles/Floor2.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bucmiheu0osiq"
path="res://.godot/imported/Floor2.png-8bda937cbedc01a42de589ce368d5d9f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/SingleTiles/Floor2.png"
dest_files=["res://.godot/imported/Floor2.png-8bda937cbedc01a42de589ce368d5d9f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

BIN
Sprites/SingleTiles/Floor2_n.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://lnfcp2p5lv86"
path.s3tc="res://.godot/imported/Floor2_n.png-c93668298e10560a4906f6d3a3cab7bf.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Sprites/SingleTiles/Floor2_n.png"
dest_files=["res://.godot/imported/Floor2_n.png-c93668298e10560a4906f6d3a3cab7bf.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://Sprites/SingleTiles/Floor2_n.png"
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=0

Binary file not shown.

BIN
Sprites/SingleTiles/Wall1.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/SingleTiles/Wall1.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bv5mlon5vn8p3"
path.s3tc="res://.godot/imported/Wall1.png-e3b5f67cfce84fba685b30f6e7145709.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Sprites/SingleTiles/Wall1.png"
dest_files=["res://.godot/imported/Wall1.png-e3b5f67cfce84fba685b30f6e7145709.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
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=0

BIN
Sprites/SingleTiles/Wall1_n.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dh6sndr5bwpx3"
path.s3tc="res://.godot/imported/Wall1_n.png-a72ed87e6e9d2ea044c9889c4df0fc04.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Sprites/SingleTiles/Wall1_n.png"
dest_files=["res://.godot/imported/Wall1_n.png-a72ed87e6e9d2ea044c9889c4df0fc04.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://Sprites/SingleTiles/Wall1_n.png"
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=0

View file

@ -3,25 +3,26 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://tphqodqyere1"
path="res://.godot/imported/factory.png-cfcd1328a98fcb6fdb084c282bfedb79.ctex"
path.s3tc="res://.godot/imported/factory.png-cfcd1328a98fcb6fdb084c282bfedb79.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Tilesets/factory.png"
dest_files=["res://.godot/imported/factory.png-cfcd1328a98fcb6fdb084c282bfedb79.ctex"]
dest_files=["res://.godot/imported/factory.png-cfcd1328a98fcb6fdb084c282bfedb79.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@ -31,4 +32,4 @@ 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
detect_3d/compress_to=0