on second thought, don't bake assets into binary

This commit is contained in:
Jill 2023-06-02 12:38:29 +03:00
parent 5bb39f1238
commit f288916b9d
Signed by: oat
GPG Key ID: 33489AA58A955108
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,7 @@ class Funfriend::ChatterContext < Funfriend::WindowContext
PADDING = 10
def initialize(text : String, position : Vec2, duration : Float64 = DEFAULT_DURATION, parent : WindowContext? = nil)
sheet = FontMan.parse_bm(FileStorage.get("assets/fonts/SpaceMono.fnt").gets_to_end)
sheet = FontMan.parse_bm(File.read "assets/fonts/SpaceMono.fnt")
position_data = FontMan.position_text(text, sheet)

View File

@ -4,7 +4,6 @@ module Funfriend
class FileStorage
extend BakedFileSystem
bake_folder "../assets"
bake_folder "./glsl"
end
end