A
Arduino6mo ago
Abhi_G

Fruit Ninja using Gyro Sensor[old]

I made a fruit ninja clone using raylib and mpu6050 sensor with Arduino UNO to get values and send to computer by usb, The game still in development and there is no game over condition but the cursor is smooth, even though the reading from the sensor may be inaccurate
16 Replies
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Abhi_G
Abhi_GOP6mo ago
I'm currently working on a rewrite, since the code I wrote was spider's web and speghetti at the same time, I'm thinking of making a proper menu and add multiple games to it, like arkanoid, old school shooting games, etc, hope I can finish it bit before the competition, since I have to cover the Arduino and make a proper stick instead of marker and tape
koyo
koyo6mo ago
Ahhh so cool
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Abhi_G
Abhi_GOP6mo ago
I wrote a way better version of the game from scratch, I will add some final touches and post video today The stick is still a marker with sensor sticked with tape, that's left
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Abhi_G
Abhi_GOP6mo ago
Update: I added mouse controls if arduino is not connected, better ui, pause menu, menu animations, better fruits and a gameover condition
Abhi_G
Abhi_GOP6mo ago
I'm thinking about using an esp32 to make it wireless, does anyone have some experience using it to move to mouse pointer wirelessly I added mechanic to gain lives every few 100 points and increase spawning of fruit and bombs to make it harder as one progresses
Abhi_G
Abhi_GOP6mo ago
This is the final version, as I have to submit it tomorrow, the other game is now cancelled, I will work on it some time later I wanted to make it wireless with an esp32 and use better sensor, but this is what I have right now
Abhi_G
Abhi_GOP6mo ago
Screenshot of the game main menu
No description
Abhi_G
Abhi_GOP6mo ago
I think I accidently removed the image at the top of the post while trying to replace it
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
Abhi_G
Abhi_GOP5mo ago
Thanks
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
Abhi_G
Abhi_GOP5mo ago
I added Fruit splash and fruit halved to fall down, and bit of gameplay tweaks
Abhi_G
Abhi_GOP5mo ago
I made a new post as I couldn't add an image to the main message

Did you find this page helpful?