Last week we just learn how to connect Arduino with P5js, and transfer data through wires. And the challenge is to create a one button application. Since I have already known how to use the joystick, I used it to control a simple escaping game.

 

pcomp0502

It’s a simple game that many balls will fly everywhere continuously. So your job is to control your small Mike escape from hitting by the balls. Once a ball hit your Mike, you’re dead.

pcomp0501

Here is the video:

 

Leave a Reply

Your email address will not be published. Required fields are marked *