Crossy Road Coding



- Spawning. In this code I make the spawning of the blocks/cars. I made it so they will move across the road and re spawn after a period of time. When the player hits this block they will re spawn.
- Player Movement. I made this so the player can move. I coded that one button press would lead to the player character jumping once. Each jump has to same distance and can not be spammed.
- Camera Movement. I coded the camera movement so it would follow the player. I made it so the camera can be at an angle while still moving forward and not down.
Practice



This was half fun half not fun. I enjoyed the progress I made and that everything I’ve done so far workings but I prefer the coding in unity. Even though it looks harder I think its better because it is just line for a command and then a line under, were as unreal you have a spider diagram and its just all over the place.

Angry Birds practice. I love unity coding over unreal coding.