2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,4 @@
|
|||||||
.direnv
|
.direnv
|
||||||
|
souls
|
||||||
|
result
|
||||||
|
|
||||||
|
|||||||
@@ -287,10 +287,10 @@ main :: proc() {
|
|||||||
rt := rl.LoadRenderTexture(rl.GetScreenWidth(), rl.GetScreenHeight())
|
rt := rl.LoadRenderTexture(rl.GetScreenWidth(), rl.GetScreenHeight())
|
||||||
rl.SetTextureFilter(rt.texture, .BILINEAR)
|
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"
|
text := "NIXOS REBUILT"
|
||||||
base_font_size0 := f32(128)
|
//base_font_size0 := f32(128)
|
||||||
spacing := f32(2)
|
spacing := f32(2)
|
||||||
text_color := rl.Color{235, 200, 120, 255}
|
text_color := rl.Color{235, 200, 120, 255}
|
||||||
sheen_tint := rl.Color{255, 178, 153, 255}
|
sheen_tint := rl.Color{255, 178, 153, 255}
|
||||||
@@ -365,6 +365,8 @@ main :: proc() {
|
|||||||
|
|
||||||
alpha := ease_out_cubic(t / fade_in)
|
alpha := ease_out_cubic(t / fade_in)
|
||||||
scale_bump := 0.06 * ease_out_back(t / scale_len, 1.3)
|
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)
|
font_size := base_font_size0 * (1.0 + scale_bump)
|
||||||
|
|
||||||
glow_in := ease_out_cubic(t / glow_len)
|
glow_in := ease_out_cubic(t / glow_len)
|
||||||
|
|||||||
Reference in New Issue
Block a user