much better field edit tool, camera specifically

This commit is contained in:
2026-02-05 21:21:30 +11:00
parent 703e75d1d8
commit 126c2fd72d
24 changed files with 445 additions and 95 deletions

View File

@@ -246,7 +246,7 @@ albedo_color = Color(0, 0, 0, 0.88400006)
material = SubResource("StandardMaterial3D_fi8e6")
size = Vector2(7.84, 3.69)
[node name="Bridge" type="Node3D" unique_id=1906077552 node_paths=PackedStringArray("tower_path", "player_spawns", "enemy_spawns", "enemy_goals", "corpses", "flow_field", "cinematic_cam", "printer", "shop")]
[node name="Bridge" type="Node3D" unique_id=1906077552 node_paths=PackedStringArray("tower_path", "player_spawns", "enemy_spawns", "enemy_goals", "corpses", "cinematic_cam", "printer", "shop")]
script = ExtResource("1_ws6nn")
enemy_pool = Array[ExtResource("2_ks6qx")]([ExtResource("3_6tcu8"), ExtResource("4_uh5sr"), ExtResource("5_g08yk"), ExtResource("6_asmpj")])
tower_path = NodePath("Towers")
@@ -254,7 +254,6 @@ player_spawns = [NodePath("PlayerSpawnLocations/PlayerSpawn1"), NodePath("Player
enemy_spawns = [NodePath("GroundSpawn"), NodePath("GroundSpawn2"), NodePath("GroundSpawn3"), NodePath("GroundSpawn4"), NodePath("GroundSpawn5"), NodePath("AirSpawn")]
enemy_goals = [NodePath("EnemyGoal")]
corpses = NodePath("Corpses")
flow_field = NodePath("FlowField2")
cinematic_cam = NodePath("CinemaCam")
printer = NodePath("CardPrinter")
shop = NodePath("ShopStand")

View File

@@ -0,0 +1,49 @@
[gd_scene format=3 uid="uid://csq7if8wojp4g"]
[ext_resource type="Script" uid="uid://cvejbo3srx8py" path="res://Scripts/level.gd" id="1_li03l"]
[ext_resource type="Script" uid="uid://cbwxa2a4hfcy4" path="res://Scripts/Resources/enemy.gd" id="2_1sih4"]
[ext_resource type="Resource" uid="uid://8eba45hql7bo" path="res://Enemies/EyeDog/eye_dog.tres" id="3_y5pxn"]
[ext_resource type="PackedScene" uid="uid://bhroqr4s1qso5" path="res://Worlds/GreenPlanet/Levels/Cave/cave_level.glb" id="4_x53u6"]
[ext_resource type="Script" uid="uid://dkuxg6ek5us4f" path="res://Scripts/enemy_spawner.gd" id="5_e8b6i"]
[ext_resource type="Script" uid="uid://cxwtuxytavfu5" path="res://Scripts/enemy_goal.gd" id="6_n26ay"]
[ext_resource type="PackedScene" uid="uid://1b2ikdanl66b" path="res://Scenes/CardPrinter/card_printer.tscn" id="7_y5pxn"]
[ext_resource type="PackedScene" uid="uid://7g3jev3v6d3l" path="res://Scenes/ShopStand/shop_stand.tscn" id="8_x53u6"]
[node name="Node3D" type="Node3D" unique_id=1915460305 node_paths=PackedStringArray("tower_path", "player_spawns", "enemy_spawns", "enemy_goals", "corpses", "printer", "shop")]
script = ExtResource("1_li03l")
enemy_pool = Array[ExtResource("2_1sih4")]([ExtResource("3_y5pxn")])
tower_path = NodePath("Parents/Towers")
player_spawns = [NodePath("PlayerSpawn")]
enemy_spawns = [NodePath("EnemySpawner")]
enemy_goals = [NodePath("EnemyGoal")]
corpses = NodePath("Parents/Corpses")
printer = NodePath("CardPrinter")
shop = NodePath("ShopStand")
metadata/_custom_type_script = "uid://cvejbo3srx8py"
[node name="Parents" type="Node3D" parent="." unique_id=447416055]
[node name="Towers" type="Node3D" parent="Parents" unique_id=401225440]
[node name="Corpses" type="Node3D" parent="Parents" unique_id=1858487493]
[node name="cave_level" parent="." unique_id=430935043 instance=ExtResource("4_x53u6")]
[node name="PlayerSpawn" type="Node3D" parent="." unique_id=2082895124]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.7781315, 0)
[node name="EnemySpawner" type="Node3D" parent="." unique_id=1276116196]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.93684864, -30.9888)
script = ExtResource("5_e8b6i")
metadata/_custom_type_script = "uid://dkuxg6ek5us4f"
[node name="EnemyGoal" type="Node3D" parent="." unique_id=1902271599]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.93684864, -11.24234)
script = ExtResource("6_n26ay")
metadata/_custom_type_script = "uid://cxwtuxytavfu5"
[node name="CardPrinter" parent="." unique_id=459800869 instance=ExtResource("7_y5pxn")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.507948, 0.03549701, 5.868264)
[node name="ShopStand" parent="." unique_id=1287436541 instance=ExtResource("8_x53u6")]
transform = Transform3D(-1, 0, 6.976922e-05, 0, 1, 0, -6.976922e-05, 0, -1, 4.381688, 0.5, 7.0162544)

View File

@@ -15,12 +15,14 @@ dest_files=["res://.godot/imported/cave_level.glb-2f9529a411c81ae92670ed22d2cc2e
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/generate_lods=false
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
@@ -32,6 +34,28 @@ animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={
"materials": {
"CaveWall": {
"use_external/enabled": true,
"use_external/fallback_path": "res://Worlds/GreenPlanet/Levels/Cave/cave_walls.tres",
"use_external/path": "uid://d28nsq46a2hkt"
}
},
"meshes": {
"cave_level_Plane": {
"generate/lightmap_uv": 0,
"generate/lods": 0,
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 20.0,
"save_to_file/enabled": false,
"save_to_file/fallback_path": "",
"save_to_file/path": ""
}
}
}
gltf/naming_version=1
gltf/embedded_image_handling=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d25lkxr056geo"
path="res://.godot/imported/cave_level_dirt.png-2eea126b719a96a8033407a8418756c8.ctex"
metadata={
"vram_texture": false
}
generator_parameters={
"md5": "dcd74dad69b0cf175774820a45df225d"
}
[deps]
source_file="res://Worlds/GreenPlanet/Levels/Cave/cave_level_dirt.png"
dest_files=["res://.godot/imported/cave_level_dirt.png-2eea126b719a96a8033407a8418756c8.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=true
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=0

View File

@@ -0,0 +1,12 @@
[gd_resource type="ShaderMaterial" format=3 uid="uid://d28nsq46a2hkt"]
[ext_resource type="Shader" uid="uid://dq04j2s5foo2f" path="res://Shaders/mightyduke_ps1.gdshader" id="1_hv8n5"]
[ext_resource type="Texture2D" uid="uid://cnvndwp3q7rke" path="res://Assets/Textures/dirt.png" id="2_6xq7p"]
[resource]
render_priority = 0
shader = ExtResource("1_hv8n5")
shader_parameter/albedo = ExtResource("2_6xq7p")
shader_parameter/jitter_z_coordinate = true
shader_parameter/jitter_depth_independent = true
shader_parameter/alpha_scissor = 1.0