Today Nick and I continued to work on fixing up the room transportation. Howie fixed up his old house sprite to match the perspective of the new game. So we wanted to make it so the player can go up to the door on the house and click e to enter. Basically we just duplicated the other door and set the door to say "press e to enter". With this we had a depth problem with which took us quite a while to fix. At first, the player would go behind the door, and the text would go behind the house. We tampered with a few things and used a command obj_player.depth-1 = depth which we thought would work but only did for the player, and not his arms. Though this took a while we figured it out. We also had a problem where if the player went near the door, the variable "near" went true, and stayed true for some reason, so after coming in contact with the door, the player could press e anywhere in the room to transport to room1, though we fixed that by saying, if not near the door near =false. Also Jake made a really cool title screen background and animated it this class. I want to put it in my game and maybe add a constant layer of dust slowly moving in front of the screen.
No comments:
Post a Comment