mikelg128 / Project-Kestrel

Rogue-Like based on the tcod-python libraries
0 stars 0 forks source link

Fix image loading bug on main menu #14

Closed mikelg128 closed 4 years ago

mikelg128 commented 4 years ago

The tutorial has you load an image to the main menu, but it only shows a black screen.

https://github.com/mikelg128/RogueLike/blob/e58865d8fe7814bd7d3fd429cab2b25c738ef6f5/Source/engine.py#L280

mikelg128 commented 4 years ago

Turns out, I'm an idiot. I had the image in a separate "assets" folder and didn't path it correctly. Should be 'assets/menu_background.png'.

The function is still deprecated, I think, but that can be fixed later.