Fruit Ninja using Gyro Sensor
I made a fruit ninja clone using raylib and mpu6050 sensor with Arduino UNO to get values and send to computer by usb,
8 Replies
Made a new post as I couldn't figure how to add image to old post
Here, I added Fruit splash and fruit pieces to fall down instead of disappraring, and bit of gameplay tweaks
The final date for the event that I'm showcasing this project is on 3rd so there may be final ui or game changes
Update: I added smooth fade out of the splash
Smooth Fade for splash
Cool!
Update: I got the first position in the event, posted a bit late as I forgot about discord
bro is using linux
Yes, I'm using Arch, btw
how many hours you was making ts
3 weeks
1 to make the raylib to take value from sensor, most videos tell how to send values to Arduino to control it but almost no info on how to get them and do it in c++ and also work for Linux most used windows.h for reading serial. Had to use one library that got from the this discord, it was last updated on 2019 but worked
Then one week to make the game with too much playing other games than making it and got too much into trying to make autocomplete work in neovim, fruits and bombs were just coloured circles,
Actual images, splash and parts falling was done in last 3-4 days
I am currently trying to get an esp to make wireless controller and something like beat saber but without vr, that game seems really cool