Next up
Been working on the Treasure rooms.
I've added a new kind of object, a Wall Panel. It can give you information about an area (and the code can be reused for players to make their own signs)
I think I want this room to be a bit of a riddle?
I need to figure something out about this room. I want one chest to be better than the other and I'd like the player to choose a path without knowing.
But it's a long way, and there's no way to change your mind before opening a chest.
Bump of last months progress post
https://www.patreon.com/posts/99822011
Or see things from the beginning here! https://www.patreon.com/posts/81674255
Made a new Button sprite and adjusted how the collision works, not sure if I'll keep the circle collision box or not...I don't think it makes much of a difference?
But at least I fixed the flicker bug, where it was being reset making gates go brrrrrr
New version of the Choice Treasure Room! Made it smaller, added a Wall Plaque that can give you some flavour text/clue, and changed the lock system so that after you pass a gate the other one is permanently locked
Also did a Camera fix, now centred again!
..now I cant sleep
Cleaned up my room spawn code which was getting kind of unmanageable with the different room layouts, now it gets them from different scripts.
For some reason this caused a bunch of them to be offset wrong, but it was a quick fix. Rooms working again!
My Camera fix didn't work. As soon as you zoom in or change the window size it breaks. Previously I was just clamping it at the room edges, but since Caves can be smaller than the window size this is causing issues. Need to maths the clamps!
4 comments