Added some fonts and links, will deal with properly later

This commit is contained in:
Kayne Ruse 2025-03-28 16:12:33 +11:00
parent 59fa1ba929
commit 02d63cc703
3 changed files with 14 additions and 2 deletions

View File

@ -25,6 +25,9 @@ Here's a few potential options, which will absolutely change over time:
* Color-based effects or biomes that only have an impact when in the FOV?
* The "obscurity" is a random value set at the beginning of a run, and lost upon death. The game will have various secrets, some of which are only accessible via certain obscurity values.
* A banana taped to a wall?
* A note taped to a wall that says "I. O. U. 1 Banana"
* Could also have an art gallery room
## Links And Resources
@ -39,4 +42,13 @@ python3 -m venv venv
./venv/bin/tcod
```
heapq is a thing for the speed sorting
heapq is a thing for the speed sorting
## Font File Credits and links
https://ggbot.itch.io/public-pixel-font
https://2bitcrook.itch.io/44-game-boy-fonts
https://arcade.itch.io/1980
https://speakthesky.itch.io/typeface-angel-sealing-glyphs

BIN
assets/PublicPixel.ttf Normal file

Binary file not shown.

View File

@ -8,7 +8,7 @@ import colors
def main() -> None:
#screen dimensions depend partially on the tileset
tileset = tcod.tileset.load_tilesheet("assets/dejavu10x10_gs_tc.png", 32, 8, tcod.tileset.CHARMAP_TCOD)
tileset = tcod.tileset.load_truetype_font("assets/PublicPixel.ttf", 16, 16)
#TODO: see if there's a nicer tilesheet
#how big is the map's dimensions