isadorasophia / murder

Murder is a pixel art ECS game engine.
https://isadorasophia.com/murder/
MIT License
2.45k stars 61 forks source link

[FontImporter] Add support for importing more characters from files. #70

Closed lihaochen910 closed 7 months ago

lihaochen910 commented 7 months ago

fonts.muder

# Hi there! If you want to load .ttf fonts use the following format: 
# <index> <path-to-font>: <font-size> [<offsetX> <offsetY>] [charsDefineFile]
# For example: 
#   100 FontName.ttf: 16
#   101 FontName.ttf: 16 0 0 chars_define.txt
image
lihaochen910 commented 7 months ago

@isadorasophia, I removed those # ifdefs in this submission and now only support dotnet 5 or above