Tuesday, 19 January 2016

DAY 80

Today I worked with Nick the whole day and we wanted to have some sort of gameplay added to the game. We were talking about a cut scene and how it would play out but Jake had an idea as to what we could start it out with so were not sure if were going to do that or not. He wanted to start out with the player waking up in a basement pooled with blood, but I'm not sure how we would visually create the blood and make it look liquidy and not just solid, other wise it would like odd. Anyways, we needed a way to leave the inside of the house so we took the door off of the house Howie made and made it into an object that switches the player to the main room if touched. But we wanted to make it more advanced than that so it's not so simplistic. I wanted to make it so that it says "press to leave" and when the player presses e, then it switches. So we attempted to do that. After many errors and it not working alot, we finally managed to find a way to make it work. Basically, the code says that if the player is near the door, set off a variable that draws text saying "press e to leave", and when E is pressed, the player is transported to the next room. It's very simplistic, but for some reason we had weird errors like what you can see below. Tomorrow I/we will work on the cut-scene and hopefully Jake is here so we can talk it out with him.




No comments:

Post a Comment