From d07fa219690610e830d8993a50cb9a37e57fc70f Mon Sep 17 00:00:00 2001 From: Slendi Date: Sun, 28 Sep 2025 19:02:48 +0300 Subject: [PATCH] as Signed-off-by: Slendi --- .gitignore | 2 ++ main.odin | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8a88ab8..cf14951 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .direnv +souls +result diff --git a/main.odin b/main.odin index 6a5d056..9c2526e 100644 --- a/main.odin +++ b/main.odin @@ -287,10 +287,10 @@ main :: proc() { rt := rl.LoadRenderTexture(rl.GetScreenWidth(), rl.GetScreenHeight()) rl.SetTextureFilter(rt.texture, .BILINEAR) - font := rl.LoadFontFromMemory(".otf", raw_data(OTF), i32(len(OTF)), 64, nil, 0) + font := rl.LoadFontFromMemory(".otf", raw_data(OTF), i32(len(OTF)), 256, nil, 0) text := "NIXOS REBUILT" - base_font_size0 := f32(128) + //base_font_size0 := f32(128) spacing := f32(2) text_color := rl.Color{235, 200, 120, 255} sheen_tint := rl.Color{255, 178, 153, 255} @@ -365,6 +365,8 @@ main :: proc() { alpha := ease_out_cubic(t / fade_in) scale_bump := 0.06 * ease_out_back(t / scale_len, 1.3) + + base_font_size0 := 0.6 * 0.25 * f32(rl.GetScreenHeight()) font_size := base_font_size0 * (1.0 + scale_bump) glow_in := ease_out_cubic(t / glow_len)