| In this room there are various different pieces of code that goes into my actual dungeon, The first mechanic you come across during the game is the doo mechanic where once you collect a key a door opens allowing you to progress, this is done by connecting a delte instance code ointo another object meaning when an event happens it deletes that object in the world allowing me to go fourth. Another peice of code is connected to the Fire monsters where if it collides with a wall it bounces back and if it hits a player the player takes damage while also bouncing back. There is a bright yellow block that flashes different colour in my dungeone that also has this mechanic but when you collide with the object it kills you instead of damaging you. A final peice of code is right at the end of the dungeon where when you collide with it it teleport you into the boss room using the change room mechanic |
No comments:
Post a Comment