This is a game, implemented from different games like pacman and mario brothers, as you can probably see!
I got the idea to combine the capacitive touch and processing to make a game through an instructable that I saw (generally about capacitive touch sensors), and a post on the internet with a processing game! The whole point of this game is that you will be able to enjoy your game anywhere and anytime you want, if you have a pencil, paper, the arduino assembly, and your computer! Yes, there are a lot of games like this one on the internet, but having your own game controller with you is much more fun! So, let's start building our very own Arduino Capacitive Touch Game!
Step 1: Parts List
There are very simple things you need to build this!
1 x Arduino
4 x 1M ohm resistors (and several wires)
4 x longer jumper wires
4 x metal paper clips
A working pencil and a paper
A piece of cardboard (or anything similar)
Step 2: Wiring
The wiring for this project is pretty simple. You need some wires, 4 long jumper wires, and 4 1M ohm resistors.
The diagram may be a little different since it uses a breadboard, not a shield, but it is identical otherwise. It is very simple!
You are ready to go!
Step 3: Draw your buttons
Now, you have to draw your own buttons to make the controller!
Step 4: Assemble your own game controller
Now that you drew all the circles on your paper. It is time for you to finish the game controller.
Finally, now, you have a game controller!
Step 5: Arduino + Processing Code
The Arduino Code for this project is implemented from http://www.instructables.com/id/Turn-a-pencil-draw..., and the Processing Code is implemented from a project called 'AGC' that made a game on processing with blue, red dots.
The background picture for the game, named 'cartoon.png', is from [https://sites.google.com/site/seourpicz/1/games/us/3/mario-world-2]. The picture of the coin, fire, and the sign is all drawn using the SketchBookExpress app on my laptop (idea from mario brothers and pacman). The songs played during the game is from Super Mario, and the website that I downloaded them from is [http://downloads.khinsider.com/game-soundtracks/album/super-mario-world-original-soundtrack].
The code for this project is uploaded on the blog: http://ardututes.weebly.com/capacitive-touch-game....
I also attached the whole data folder that contains the pictures and the music for your convenience.
* Be sure to follow the orientation for the files like the screenshot that I uploaded. It is better to separate the processing file into two like I did on the blog.
Step 6: Enjoy your very own Game!
Now you have your game!
You can change your goal score, it is currently set as 10, as high or low as you want. Change the music, images, etc. however you want! Enjoy your very own game that you created :)