on second thought, don't bake assets into binary
This commit is contained in:
parent
5bb39f1238
commit
f288916b9d
|
@ -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)
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ module Funfriend
|
|||
class FileStorage
|
||||
extend BakedFileSystem
|
||||
|
||||
bake_folder "../assets"
|
||||
bake_folder "./glsl"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue