Bóthar crosaire
This week we learnt about some of the basic elements in the game Crossy Road
We used the Microsoft Makecode arcade
We set up a block that runs every time the game updates, we set the time to 1 second
Every second a new projectile is created
We then got it to spawn at the top left of our screen
We then got the computer to work out how tall our screen is and got each new projectile to start at a different location between the top and the bottom of the screen
We then added some animation to give our character some movement
Lastly we set our VX number to be between -80 ( moving left ) and 80 ( moving right )
Have a look at the full code below along testing it in the simulator