Compare commits

...

2 Commits

Author SHA1 Message Date
b6278cbc5a Set version to 1.0.0 2026-08-09 23:47:42 +03:00
5d9630b03a Set sufrace override material albedo instead 2026-08-09 23:36:53 +03:00
6 changed files with 14 additions and 11 deletions

4
Cargo.lock generated
View File

@ -287,7 +287,7 @@ checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
[[package]] [[package]]
name = "skullball" name = "skullball"
version = "0.1.0" version = "1.0.0"
dependencies = [ dependencies = [
"ciborium", "ciborium",
"flate2", "flate2",
@ -310,7 +310,7 @@ dependencies = [
[[package]] [[package]]
name = "teanet" name = "teanet"
version = "0.1.0" version = "1.0.0"
dependencies = [ dependencies = [
"ciborium", "ciborium",
"flate2", "flate2",

View File

@ -3,19 +3,21 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://be6kkun8jvorr" uid="uid://be6kkun8jvorr"
path="res://.godot/imported/{str_grating1.png-c56d7008acfd43735ff24601098a1911.ctex" path.s3tc="res://.godot/imported/{str_grating1.png-c56d7008acfd43735ff24601098a1911.s3tc.ctex"
path.etc2="res://.godot/imported/{str_grating1.png-c56d7008acfd43735ff24601098a1911.etc2.ctex"
metadata={ metadata={
"vram_texture": false "imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
} }
[deps] [deps]
source_file="res://maps/textures/{str_grating1.png" source_file="res://maps/textures/{str_grating1.png"
dest_files=["res://.godot/imported/{str_grating1.png-c56d7008acfd43735ff24601098a1911.ctex"] dest_files=["res://.godot/imported/{str_grating1.png-c56d7008acfd43735ff24601098a1911.s3tc.ctex", "res://.godot/imported/{str_grating1.png-c56d7008acfd43735ff24601098a1911.etc2.ctex"]
[params] [params]
compress/mode=0 compress/mode=2
compress/high_quality=false compress/high_quality=false
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/uastc_level=0 compress/uastc_level=0
@ -23,7 +25,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1 compress/hdr_compression=1
compress/normal_map=0 compress/normal_map=0
compress/channel_pack=0 compress/channel_pack=0
mipmaps/generate=false mipmaps/generate=true
mipmaps/limit=-1 mipmaps/limit=-1
roughness/mode=0 roughness/mode=0
roughness/src_normal="" roughness/src_normal=""
@ -37,4 +39,4 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=0

View File

@ -11,6 +11,7 @@ config_version=5
[application] [application]
config/name="SkullBall" config/name="SkullBall"
config/version="1.0.0"
run/main_scene="uid://lahirbqfppvw" run/main_scene="uid://lahirbqfppvw"
config/features=PackedStringArray("4.7", "Forward Plus") config/features=PackedStringArray("4.7", "Forward Plus")
boot_splash/bg_color=Color(0.14993507, 0.13915217, 0.13313693, 1) boot_splash/bg_color=Color(0.14993507, 0.13915217, 0.13313693, 1)

View File

@ -1,6 +1,6 @@
[package] [package]
name = "skullball" name = "skullball"
version = "0.1.0" version = "1.0.0"
edition = "2024" edition = "2024"
[lib] [lib]

View File

@ -25,7 +25,7 @@ pub struct WeaponMesh {
impl WeaponMesh { impl WeaponMesh {
fn set_color(&mut self, color: Color) { fn set_color(&mut self, color: Color) {
if let Some(mesh) = &mut self.mesh if let Some(mesh) = &mut self.mesh
&& let Some(mut mat) = mesh.get_active_material(0) && let Some(mut mat) = mesh.get_surface_override_material(0)
{ {
mat.set("albedo_color", &color.to_variant()); mat.set("albedo_color", &color.to_variant());
} }

@ -1 +1 @@
Subproject commit 45db2316526a003c08eef97320b93f220a1d0518 Subproject commit c75e0e40c74516ff5447bbe12f78911b2841288d