My original dungeon code was written with a text user interface in mind. Now that I am using SFML I needed graphics. I settled upon Surts' Lovable Rogue tileset from Open Game Art. It is distributed as all the tiles in one PNG file so I had to find out how SFML handles making sprites from pieces of an image. It turns out to be fairly simple. I can now display my dungeon and a player in it. Except it looks odd. A short investigation reveals that, embarrassingly, I'd got the x and y coordinates mixed up in my draw function.
Get The Untitled Action Tolkien Show
Leave a comment
Log in with itch.io to leave a comment.