portal
A portal that players can enter in Trivo’s tower

Originally I was going to have doors between the rooms, but I ended up going with this portal like effect, but all the code references still call them ‘Doors’ hence the odd post title.

Essentially when you enter a floor of the tower, the game will randomly generate a bunch of rooms connected by these portals, which the player must clear of enemies before they can ascend to the next floor.

I ended up using the skulls I sculpted in an earlier post to create some dark portals that players will use to move between rooms inside the tower. I’m currently messing with shaders to get a cool portal / dark effect when the portal is active and you can kind of see that above. I’m still tinkering with shaders and the door effect and will be posting more about it in the future.