mirror of
https://github.com/Theaninova/mhlib.git
synced 2025-12-12 12:36:17 +00:00
cleanup
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://4n26dt3e4pv3"]
|
||||
|
||||
[ext_resource type="Shader" path="res://kart/flag.gdshader" id="1_lbvg8"]
|
||||
[ext_resource type="FontFile" uid="uid://b50bdb32aerbb" path="res://remakes/font/LondrinaSolid-Regular.otf" id="2_fj37l"]
|
||||
[ext_resource type="Shader" path="res://kart/flag.gdshader" id="1_mtrao"]
|
||||
[ext_resource type="FontFile" uid="uid://b50bdb32aerbb" path="res://remakes/font/LondrinaSolid-Regular.otf" id="2_vriwa"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_y6o8u"]
|
||||
shader = ExtResource("1_lbvg8")
|
||||
shader = ExtResource("1_mtrao")
|
||||
shader_parameter/rotation = 2.2
|
||||
shader_parameter/size = 160.0
|
||||
shader_parameter/time_scale = 0.125
|
||||
@@ -40,7 +40,7 @@ grow_horizontal = 2
|
||||
theme_override_colors/font_color = Color(0.996078, 0.92549, 0.14902, 1)
|
||||
theme_override_colors/font_outline_color = Color(0.776471, 0.215686, 0.14902, 1)
|
||||
theme_override_constants/outline_size = 23
|
||||
theme_override_fonts/font = ExtResource("2_fj37l")
|
||||
theme_override_fonts/font = ExtResource("2_vriwa")
|
||||
theme_override_font_sizes/font_size = 60
|
||||
text = "Moorhuhn"
|
||||
horizontal_alignment = 1
|
||||
@@ -55,7 +55,7 @@ theme_override_colors/font_color = Color(0.894118, 0.133333, 0.0705882, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
theme_override_constants/outline_size = 15
|
||||
theme_override_constants/line_spacing = -140
|
||||
theme_override_fonts/font = ExtResource("2_fj37l")
|
||||
theme_override_fonts/font = ExtResource("2_vriwa")
|
||||
theme_override_font_sizes/font_size = 97
|
||||
text = "»KART«"
|
||||
horizontal_alignment = 1
|
||||
@@ -71,7 +71,7 @@ rotation = -0.338594
|
||||
theme_override_colors/font_color = Color(0.913725, 0.945098, 0.952941, 1)
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/outline_size = 14
|
||||
theme_override_fonts/font = ExtResource("2_fj37l")
|
||||
theme_override_fonts/font = ExtResource("2_vriwa")
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "ULTIMATE"
|
||||
horizontal_alignment = 1
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
[gd_scene load_steps=21 format=3 uid="uid://cmqfu6cc780h4"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://ks2uyxqg6u4k" path="res://mhjnr/theme.tres" id="1_4qyey"]
|
||||
[ext_resource type="Texture2D" uid="uid://wetnflcj1b0w" path="res://cover_art/mh1.jpg" id="2_epsv5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyga5qn124307" path="res://cover_art/schatzjaeger.webp" id="2_f5uhf"]
|
||||
[ext_resource type="Script" path="res://main.gd" id="2_j1xqk"]
|
||||
[ext_resource type="Texture2D" uid="uid://baqjofchj6yaw" path="res://cover_art/mhw.webp" id="3_wgtv5"]
|
||||
[ext_resource type="Texture2D" uid="uid://brovl1cel1uiw" path="res://cover_art/mh2.jpg" id="4_fb5aq"]
|
||||
[ext_resource type="Texture2D" uid="uid://ix132vewff0h" path="res://cover_art/mh3.jpg" id="5_q44ta"]
|
||||
[ext_resource type="Texture2D" uid="uid://k8i84cvnuun" path="res://cover_art/mhx.jpg" id="6_b76vr"]
|
||||
[ext_resource type="Texture2D" uid="uid://bst48atkwn7r1" path="res://cover_art/mhrem.png" id="7_ios37"]
|
||||
[ext_resource type="Texture2D" uid="uid://chcjw51coc53r" path="res://cover_art/mhinv.jpg" id="8_1fm4r"]
|
||||
[ext_resource type="Texture2D" uid="uid://l37kev18676o" path="res://cover_art/mhwant.jpg" id="8_yb215"]
|
||||
[ext_resource type="Texture2D" uid="uid://bk5a3xob0raqj" path="res://cover_art/mh_kart.jpg" id="9_b3ixn"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpigwqlll0kbf" path="res://cover_art/mhpir.jpg" id="9_v7fae"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkhygfyylbjov" path="res://cover_art/mh_kart2.jpg" id="10_1woe1"]
|
||||
[ext_resource type="Texture2D" uid="uid://l8groudaf385" path="res://cover_art/mh_kart3.webp" id="11_7me0v"]
|
||||
[ext_resource type="Texture2D" uid="uid://bmybnhi2i2ep" path="res://cover_art/mhdir.jpg" id="11_fweyu"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjp0ilsodyu4j" path="res://cover_art/mh_kart4.jpg" id="12_hv57k"]
|
||||
[ext_resource type="Texture2D" uid="uid://by4wug5r7311q" path="res://cover_art/schatzjaeger_2.jpg" id="14_tnyyh"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkn3cdrm1fj8b" path="res://cover_art/schatzjaeger_3.jpg" id="15_kbsip"]
|
||||
[ext_resource type="Texture2D" uid="uid://8vn1dpq37mve" path="res://cover_art/atlantis.webp" id="16_xvpbi"]
|
||||
[ext_resource type="Theme" uid="uid://ks2uyxqg6u4k" path="res://mhjnr/theme.tres" id="1_24af1"]
|
||||
[ext_resource type="Script" path="res://main.gd" id="2_3ufyn"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyga5qn124307" path="res://cover_art/schatzjaeger.webp" id="3_dq726"]
|
||||
[ext_resource type="Texture2D" uid="uid://by4wug5r7311q" path="res://cover_art/schatzjaeger_2.jpg" id="4_qurcc"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkn3cdrm1fj8b" path="res://cover_art/schatzjaeger_3.jpg" id="5_wceoy"]
|
||||
[ext_resource type="Texture2D" uid="uid://8vn1dpq37mve" path="res://cover_art/atlantis.webp" id="6_mwmag"]
|
||||
[ext_resource type="Texture2D" uid="uid://bk5a3xob0raqj" path="res://cover_art/mh_kart.jpg" id="7_kndjp"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkhygfyylbjov" path="res://cover_art/mh_kart2.jpg" id="8_r2mlu"]
|
||||
[ext_resource type="Texture2D" uid="uid://l8groudaf385" path="res://cover_art/mh_kart3.webp" id="9_yfa8e"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjp0ilsodyu4j" path="res://cover_art/mh_kart4.jpg" id="10_s4ouh"]
|
||||
[ext_resource type="Texture2D" uid="uid://wetnflcj1b0w" path="res://cover_art/mh1.jpg" id="11_0icjw"]
|
||||
[ext_resource type="Texture2D" uid="uid://baqjofchj6yaw" path="res://cover_art/mhw.webp" id="12_8qgke"]
|
||||
[ext_resource type="Texture2D" uid="uid://brovl1cel1uiw" path="res://cover_art/mh2.jpg" id="13_dypyq"]
|
||||
[ext_resource type="Texture2D" uid="uid://ix132vewff0h" path="res://cover_art/mh3.jpg" id="14_tc2rn"]
|
||||
[ext_resource type="Texture2D" uid="uid://k8i84cvnuun" path="res://cover_art/mhx.jpg" id="15_gxg0f"]
|
||||
[ext_resource type="Texture2D" uid="uid://bst48atkwn7r1" path="res://cover_art/mhrem.png" id="16_dtmhv"]
|
||||
[ext_resource type="Texture2D" uid="uid://l37kev18676o" path="res://cover_art/mhwant.jpg" id="17_pcn4f"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpigwqlll0kbf" path="res://cover_art/mhpir.jpg" id="18_w72rq"]
|
||||
[ext_resource type="Texture2D" uid="uid://chcjw51coc53r" path="res://cover_art/mhinv.jpg" id="19_31858"]
|
||||
[ext_resource type="Texture2D" uid="uid://bmybnhi2i2ep" path="res://cover_art/mhdir.jpg" id="20_b2doc"]
|
||||
|
||||
[node name="main" type="ScrollContainer"]
|
||||
anchors_preset = 15
|
||||
@@ -29,8 +29,8 @@ offset_right = 20.0
|
||||
offset_bottom = 154.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_4qyey")
|
||||
script = ExtResource("2_j1xqk")
|
||||
theme = ExtResource("1_24af1")
|
||||
script = ExtResource("2_3ufyn")
|
||||
|
||||
[node name="margins" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
@@ -55,7 +55,7 @@ layout_mode = 2
|
||||
[node name="Schatzjaeger1" type="Button" parent="margins/VBoxContainer/JNR/JNR"]
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
icon = ExtResource("2_f5uhf")
|
||||
icon = ExtResource("3_dq726")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -63,7 +63,7 @@ expand_icon = true
|
||||
[node name="Schatzjaeger2" type="Button" parent="margins/VBoxContainer/JNR/JNR"]
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
icon = ExtResource("14_tnyyh")
|
||||
icon = ExtResource("4_qurcc")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -71,7 +71,7 @@ expand_icon = true
|
||||
[node name="Schatzjaeger3" type="Button" parent="margins/VBoxContainer/JNR/JNR"]
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
icon = ExtResource("15_kbsip")
|
||||
icon = ExtResource("5_wceoy")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -80,7 +80,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("16_xvpbi")
|
||||
icon = ExtResource("6_mwmag")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -100,7 +100,7 @@ layout_mode = 2
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("9_b3ixn")
|
||||
icon = ExtResource("7_kndjp")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -109,7 +109,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("10_1woe1")
|
||||
icon = ExtResource("8_r2mlu")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -118,7 +118,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("11_7me0v")
|
||||
icon = ExtResource("9_yfa8e")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -127,7 +127,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("12_hv57k")
|
||||
icon = ExtResource("10_s4ouh")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -147,7 +147,7 @@ layout_mode = 2
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("2_epsv5")
|
||||
icon = ExtResource("11_0icjw")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -156,7 +156,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("3_wgtv5")
|
||||
icon = ExtResource("12_8qgke")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -165,7 +165,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("4_fb5aq")
|
||||
icon = ExtResource("13_dypyq")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -174,7 +174,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("5_q44ta")
|
||||
icon = ExtResource("14_tc2rn")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -183,7 +183,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("6_b76vr")
|
||||
icon = ExtResource("15_gxg0f")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -192,7 +192,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("7_ios37")
|
||||
icon = ExtResource("16_dtmhv")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -201,7 +201,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("8_yb215")
|
||||
icon = ExtResource("17_pcn4f")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -210,7 +210,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("9_v7fae")
|
||||
icon = ExtResource("18_w72rq")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -219,7 +219,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("8_1fm4r")
|
||||
icon = ExtResource("19_31858")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -228,7 +228,7 @@ expand_icon = true
|
||||
custom_minimum_size = Vector2(200, 256)
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
icon = ExtResource("11_fweyu")
|
||||
icon = ExtResource("20_b2doc")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
@@ -48,5 +48,4 @@ config/icon="res://icon.png"
|
||||
|
||||
[rendering]
|
||||
|
||||
renderer/rendering_method="gl_compatibility"
|
||||
renderer/rendering_method.mobile="gl_compatibility"
|
||||
|
||||
105
godot/starforce/starforce.gdshader
Normal file
105
godot/starforce/starforce.gdshader
Normal file
@@ -0,0 +1,105 @@
|
||||
shader_type spatial;
|
||||
render_mode skip_vertex_transform;
|
||||
|
||||
uniform vec4 color: source_color;
|
||||
|
||||
uniform float diffuse;
|
||||
uniform float diffuse_envelope;
|
||||
uniform float specular;
|
||||
uniform float specular_envelope;
|
||||
uniform float luminosity;
|
||||
uniform float luminosity_envelope;
|
||||
uniform float reflectivity;
|
||||
uniform float reflectivity_envelope;
|
||||
uniform float translucency;
|
||||
uniform float translucency_envelope;
|
||||
uniform float transparency;
|
||||
uniform float transparency_envelope;
|
||||
|
||||
uniform sampler2D tex_color: source_color;
|
||||
uniform int tex_color_axis;
|
||||
uniform int tex_color_projection;
|
||||
uniform mat4 tex_color_projection_transform;
|
||||
uniform vec3 tex_color_projection_falloff;
|
||||
uniform int tex_color_projection_falloff_type;
|
||||
uniform bool tex_color_projection_world_coords;
|
||||
|
||||
uniform sampler2D tex_diffuse: source_color;
|
||||
uniform int tex_diffuse_axis;
|
||||
uniform int tex_diffuse_projection;
|
||||
uniform mat4 tex_diffuse_projection_transform;
|
||||
uniform vec3 tex_diffuse_projection_falloff;
|
||||
uniform int tex_diffuse_projection_falloff_type;
|
||||
uniform bool tex_diffuse_projection_world_coords;
|
||||
|
||||
varying vec3 position;
|
||||
varying vec3 normal;
|
||||
|
||||
vec3 project(
|
||||
sampler2D tex,
|
||||
int mode,
|
||||
mat4 transform,
|
||||
vec3 falloff,
|
||||
int falloff_type,
|
||||
bool world_coords,
|
||||
vec2 uv,
|
||||
) {
|
||||
switch (mode) {
|
||||
case 5: // UV
|
||||
return texture(tex, uv).rgb;
|
||||
case 4: // Front Projection
|
||||
return vec3(0.0, 1.0, 0.0);
|
||||
case 3:
|
||||
vec3 p = (transform * vec4(position, 1.0)).xyz / 10.0;
|
||||
vec3 n = normalize(abs(mat3(transform) * normal));
|
||||
vec2 uv2 = (n.x > n.y && n.x > n.z) ? vec2(p.z, p.y)
|
||||
: ((n.y > n.x && n.y > n.z) ? vec2(p.x, p.z) : vec2(p.x, p.y));
|
||||
return texture(tex, uv2).rgb;
|
||||
case 2: // Spherical
|
||||
return vec3(0.0, 0.0, 1.0);
|
||||
case 1: // Cylindrical
|
||||
return vec3(1.0, 1.0, 0.0);
|
||||
case 0: // Planar
|
||||
return texture(tex, (transform * vec4(position, 1.0)).xz / 10.0).rgb;
|
||||
default:
|
||||
return vec3(0.0);
|
||||
}
|
||||
}
|
||||
|
||||
void vertex() {
|
||||
position = VERTEX;
|
||||
VERTEX = (MODELVIEW_MATRIX * vec4(VERTEX, 1.0)).xyz;
|
||||
NORMAL = normalize((MODELVIEW_MATRIX * vec4(NORMAL, 0.0)).xyz);
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
vec3 rot = vec3(PI / 4.0, PI / -2.0, PI / -4.0);
|
||||
mat3 x = mat3(vec3(1.0, 0.0, 0.0), vec3(0.0, cos(rot.x), -sin(rot.x)), vec3(0.0, sin(rot.x), cos(rot.x)));
|
||||
mat3 y = mat3(vec3(cos(rot.y), 0.0, sin(rot.y)), vec3(0.0, 1.0, 0.0), vec3(-sin(rot.y), 0.0, cos(rot.y)));
|
||||
mat3 z = mat3(vec3(cos(rot.z), -sin(rot.z), 0.0), vec3(sin(rot.z), cos(rot.z), 0.0), vec3(0.0, 0.0, 1.0));
|
||||
mat3 mat = x * y * z;
|
||||
|
||||
normal = (INV_VIEW_MATRIX * vec4(NORMAL, 0.0)).xyz;
|
||||
|
||||
ALBEDO = project(
|
||||
tex_color,
|
||||
tex_color_projection,
|
||||
tex_color_projection_transform,
|
||||
tex_color_projection_falloff,
|
||||
tex_color_projection_falloff_type,
|
||||
tex_color_projection_world_coords,
|
||||
UV2
|
||||
);
|
||||
}
|
||||
|
||||
void light() {
|
||||
DIFFUSE_LIGHT =project(
|
||||
tex_diffuse,
|
||||
tex_diffuse_projection,
|
||||
tex_diffuse_projection_transform,
|
||||
tex_diffuse_projection_falloff,
|
||||
tex_diffuse_projection_falloff_type,
|
||||
tex_diffuse_projection_world_coords,
|
||||
UV
|
||||
);
|
||||
}
|
||||
@@ -6,8 +6,8 @@ script/source = "@tool
|
||||
extends Node3D
|
||||
|
||||
func _ready():
|
||||
var scene = load(\"sar://D:/Moorhuhnkart/3dobjects_tracks/track07_ufo/boden.lwo\")
|
||||
add_child(scene.instantiate())
|
||||
var scene = load(\"sar://D:/Moorhuhnkart/3dobjects_tracks/track07_ufo/waende.lwo\").instantiate()
|
||||
add_child(scene)
|
||||
"
|
||||
|
||||
[node name="test" type="Node3D"]
|
||||
|
||||
Reference in New Issue
Block a user