Posts

Showing posts with the label week 8

First Playable

Image
 This week we started on our coding. last week we were just gathering all our assets together and creating our scene. We started off by positioning the camera behind the skateboard to give us the in game view that we wanted this was pretty straight forward. Then we started on the coding for the player.  The coding for the player in my game is pretty much the same for the coding of the car in our first unity tutorial. I went back and watched the videos on how he nodded his game and applied what was nescesary to my game. All that needed changing was the speed and the turning. I thing added rigid bodies the obstacles for a start. I event gotten them to move yet but that won't be too hard. I took it pretty easy this week because of the submissions I had in other modules but next week I think I'll probably struggle with repeating the road constantly so that the driver doesnt fall off the edge.  Thats the only thing I'm a bit uncertain about. The rest of it should be straight f...

Unity Tutorial 07

Image
shorturl.at/ilyGP This weeks unity tutorial was interesting. In the first tutorial we went about creating a sphere (player) than adding a texture to it. We then coded it so that the sphere could roll forwards and backwards when the up and down arrow keys were being pressed. The we created a fixed focal point in the game and made the camera a child component of this empty game object then we added some code so that the camera would rotate around this fixed point when the left and right arrow keys were being pressed. Lastly in this tutorial we coded the sphere to roll up and down to whichever way the camera was facing this gives the players a way to navigate the platform.   In the second tutorial we created an enemy sphere we then used a vector I think to have the enemy sphere track locate and try push the player off the platform. This was the quickest tutorial. We created a spawn manager then turned the enemy into a prefab so that we could have the enemy sphere spawn at random point...