Work on two_towers, decrease speed to 7

This commit is contained in:
Jens Pitkänen 2026-07-27 00:12:11 +03:00
parent 7c0957f7cf
commit 9cd6a40ac5
15 changed files with 4743 additions and 668 deletions

3
.gitignore vendored
View File

@ -13,3 +13,6 @@ target
dist
*.replay
# Editor ignores
.vscode

View File

@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bhwlb3s7ybwau"]
[ext_resource type="Texture2D" uid="uid://covaj4gwn1hbp" path="res://maps/textures/str_rotwoodgen1.png" id="1_d4feb"]
[resource]
albedo_texture = ExtResource("1_d4feb")
metallic_specular = 0.0
texture_filter = 2

View File

@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://btolvbdu7qbxb"]
[ext_resource type="Texture2D" uid="uid://dq0ajjb83o2wu" path="res://maps/textures/str_rotwoodgen2.png" id="1_ymmut"]
[resource]
albedo_texture = ExtResource("1_ymmut")
metallic_specular = 0.0
texture_filter = 2

View File

@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bxksek24ot3n1"]
[ext_resource type="Texture2D" uid="uid://dl0d8mrcf7a5a" path="res://maps/textures/str_stoneflr2.png" id="1_5spvt"]
[resource]
albedo_texture = ExtResource("1_5spvt")
metallic_specular = 0.0
texture_filter = 2

View File

@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://dme44tx1rdvug"]
[ext_resource type="Texture2D" uid="uid://jgjcfwjq3lyd" path="res://maps/textures/str_stonerubble.png" id="1_s4nva"]
[resource]
albedo_texture = ExtResource("1_s4nva")
metallic_specular = 0.0
texture_filter = 2

View File

@ -12,3 +12,7 @@ str_*
!str_metalgen4.png
!str_metalpan1.png
!str_blood_large.png
!str_rotwoodgen1.png
!str_rotwoodgen2.png
!str_stoneflr2.png
!str_stonerubble.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -19,7 +19,7 @@ outline_color = Color(0, 0, 0, 1)
[node name="player" type="LocalPlayer" unique_id=863055906 node_paths=PackedStringArray("camera", "soldier_mesh", "collider", "effects", "dead_cam_target", "respawn_label", "camera_origin", "weapon_node", "pause_panel", "exit_to_lobby", "settings_panel", "scoreboard", "chatbox", "health_label", "hit_sound")]
look_sensitivity = 1.5
camera = NodePath("camera_3d")
move_speed = 8.0
move_speed = 7.0
soldier_mesh = NodePath("soldier_m")
collider = NodePath("collision_shape_3d2")
effects = NodePath("effects")

View File

@ -33,7 +33,7 @@ width = 70
curve = SubResource("Curve_qn18y")
[node name="player" type="RemotePlayer" unique_id=845968872 node_paths=PackedStringArray("soldier_mesh", "collider", "effects", "spectator_camera", "camera_origin", "name_label", "health_bar", "health_bar_sprite")]
move_speed = 8.0
move_speed = 7.0
soldier_mesh = NodePath("soldier_m")
collider = NodePath("collision_shape_3d")
effects = NodePath("effects")

View File

@ -4,7 +4,7 @@ render_mode blend_mix, depth_draw_opaque, depth_test_default, diffuse_lambert, s
uniform vec3 goal_color;
void vertex() {
float height = max(0.0, (1.0 - VERTEX.y));
float height = max(0.0, (NODE_POSITION_WORLD.y - VERTEX.y));
float boost = (sin(TIME) + 3.0)/4.0;
COLOR = vec4(goal_color * boost * height, boost * height);
}