#Dev Log 15
.
Good day at the office.
.
Did the following today:
Working level select
Fixed Music Issue
Fixed map loading issues (didn’t discover until today)
Added tile classes to replace gid based system for tile specific collision
My issues today were caused by my moving of code into separate files, but I’m getting there. I’m no longer using from ___ import * and I am instead using import ______.
.
The sound issue was caused by a variable in settings setting play music to False without my knowledge.
.
Map loading broke because my maps are only loaded once outside of the while loop, so I fixed that.
.
Tiles now have a class that can be checked, allowing for different interactions with tiles dependent on tile class.
.
Thinking about storing some of my variables into match statements for readability but I find using match cases in Settings.py to be really difficult so I will proceed with caution and immense fear!!!
.
Not sure what tomorrow holds, thinking about making the kill and win tiles do something rather than print win or killed, but might be held up by this switch from many elifs to match cases.
.
Staying determined, see you next dev log.
.
PS, a little hint to my little easter egg 📂︎🖮︎
Comments 1
No comments yet. Be the first!
Sign in to join the conversation.