My first 3D game with Godot 4.4

This commit is contained in:
2025-08-18 18:48:02 -04:00
commit aef6af1eca
89 changed files with 10495 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
shader_type spatial;
render_mode ambient_light_disabled, shadows_disabled, unshaded;
uniform vec3 tail_color : source_color;
uniform vec3 head_color : source_color;
void vertex() {
float def = sin(UV.y * 2.0 * PI - TIME * 20.0) + 1.0 / 2.0;
VERTEX.xz += NORMAL.xz * def * 0.05 * UV.y * COLOR.x;
}
void fragment() {
ALBEDO = mix(head_color, tail_color, COLOR.x);
}

View File

@@ -0,0 +1 @@
uid://b4wc5wsyakc0a

View File

@@ -0,0 +1,16 @@
[gd_scene load_steps=4 format=3 uid="uid://b2dxu3lnx1jx5"]
[ext_resource type="PackedScene" uid="uid://o1s0yu8jt5h4" path="res://player/projectile/projectile_model.glb" id="1_ndq6i"]
[ext_resource type="Shader" uid="uid://b4wc5wsyakc0a" path="res://player/projectile/projectile.gdshader" id="2_chfaf"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_htc8w"]
render_priority = 0
shader = ExtResource("2_chfaf")
shader_parameter/tail_color = Color(0.863943, 0.713942, 0.177483, 1)
shader_parameter/head_color = Color(0.700086, 0.267569, 6.73831e-07, 1)
[node name="Projectile3D" instance=ExtResource("1_ndq6i")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
[node name="Projectile" parent="." index="0"]
material_override = SubResource("ShaderMaterial_htc8w")

Binary file not shown.

View File

@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://o1s0yu8jt5h4"
path="res://.godot/imported/projectile_model.glb-828324a605ffc923b73f3dcca1df4ac2.scn"
[deps]
source_file="res://player/projectile/projectile_model.glb"
dest_files=["res://.godot/imported/projectile_model.glb-828324a605ffc923b73f3dcca1df4ac2.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={}
gltf/naming_version=1
gltf/embedded_image_handling=1