Inspiration

Bringing our idea of Earth day inspired games back in full circle, we made a hand controlled asteroids based game.

What it does

Players can utilize the ultrasonic sensor controller in order to move their in game avatar. The xy axis controller uses two ultrasonic sensor that creates velocity values that are used to move the player. Additionally, by motioning their hands in the forward direction, the players can activate the shooting mechanism that fires at the oncoming asteroids.

How I built it

We used Ultrasonic sensors and Arduino to get the position values values of the hand. We then transferred this data to python using Pyserial. Then, using Python and Pygame, we created a game that used the hand position as movement.

Challenges I ran into

We tried to incorporate multithreading to decrease the lag in reading. However, we did not have enough time to fully implement multithreading, so we scrapped it.

Accomplishments that I'm proud of

It's functional not very laggy

What I learned

Pygame plus pyserial causes a great amount of lag.

What's next for Earthcade v2.0

We want to implement multithreading to fully eliminate the lag.

Built With

Share this project:
×

Updates