Added self created minimal retro style font

This commit is contained in:
2022-02-18 14:46:54 +01:00
parent 9de12c2d8e
commit 8ee16171da
6 changed files with 588 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ fn main() {
let texture = texture_creator.load_texture("./assets/sprite.png").unwrap();
let font = sdl2::ttf::init().unwrap();
let font = font.load_font("./assets/font.ttf", 20).unwrap();
let font = font.load_font("./assets/Retro.ttf", 16).unwrap();
let mut event_pump = sdl_context.event_pump().unwrap();