Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-09-28 19:02:48 +03:00
parent bdd0b69e3c
commit d07fa21969
2 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View File

@@ -1,2 +1,4 @@
.direnv
souls
result

View File

@@ -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)