Difference between revisions of "Game:Jump Wheel"
(added MineCart, updated todo) |
(updated github links, removed old source) |
||
Line 8: | Line 8: | ||
}} | }} | ||
Note that there is another GitHub repository game that works with the jump pads: [[GitHub::https://github.com/ACKspace/MineCart|MineCart]] | Note that there is another GitHub repository game that works with the jump pads: [[GitHub::https://github.com/ACKspace/MineCart|MineCart]] | ||
+ | |||
== synopsis == | == synopsis == | ||
The game consists of a wheel with four players on it. | The game consists of a wheel with four players on it. | ||
Line 21: | Line 22: | ||
When the wheel crosses the finish, the score is calculated from the time it took to finish. | When the wheel crosses the finish, the score is calculated from the time it took to finish. | ||
− | You can fetch the | + | You can fetch the game files from github, extract anywhere but the steam folder and run game.html in chrome or firefox. |
== the hardware == | == the hardware == | ||
− | The human interface part consists of a mechanical part: the jump pads, and an electrical part: the | + | The human interface part consists of a mechanical part: the jump pads, and an electrical part: the Arduino Leonardo. |
For the jump pad, you'll need some | For the jump pad, you'll need some | ||
* strips/slats of wood | * strips/slats of wood | ||
Line 31: | Line 32: | ||
* some wire to solder on to it | * some wire to solder on to it | ||
− | For creating the link from jump pad to computer, an | + | == the firmware == |
+ | For creating the link from jump pad to computer, an Arduino Leonardo is used as a keyboard interface. | ||
This allows one to send up to 6 keystrokes at a time (as part of the USB HID class payload) | This allows one to send up to 6 keystrokes at a time (as part of the USB HID class payload) | ||
− | + | The Arduino sketch can be found [[GitHub::https://github.com/ACKspace/jumppad jumppad|here]] | |
− | |||
− | |||
− | |||
− | |||
− | The | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== todo == | == todo == |
Revision as of 13:45, 19 July 2017
Project: Game:Jump Wheel | |
---|---|
Featured: | No |
State | Completed |
Members | Multiple |
GitHub | JumpWheel |
Description | Synchronize your jump with your coop players and beat the record |
Picture | |
Note that there is another GitHub repository game that works with the jump pads: MineCart
synopsis
The game consists of a wheel with four players on it. If a player jumps, the center point of gravity of the wheel changes, and the wheel will turn.
To get a player to jump, a person needs to jump on a special built jump pad.
Lots of participants worked or helped on this; add your name if you were involved.
the software
The on-screen part of the game is written in Javascript using HTML5 and some images from various classic computer games. If a key is pressed, the corresponding player jumps and the wheel will turn. When the wheel crosses the finish, the score is calculated from the time it took to finish.
You can fetch the game files from github, extract anywhere but the steam folder and run game.html in chrome or firefox.
the hardware
The human interface part consists of a mechanical part: the jump pads, and an electrical part: the Arduino Leonardo. For the jump pad, you'll need some
- strips/slats of wood
- two squares of plywood
- two sheets of conductive tape
- some wire to solder on to it
the firmware
For creating the link from jump pad to computer, an Arduino Leonardo is used as a keyboard interface. This allows one to send up to 6 keystrokes at a time (as part of the USB HID class payload) The Arduino sketch can be found here
todo
- solve contact bounce for pads pulled to ground
- add extra modes (inverse lines, wsad, arrows, function keys, shift keys)
- change setInterval to requestAnimationFrame in game.html
- put velcro to the sides so we can stick them together (and prevents them from sliding around a bit)
done
- use descent wiring/connectors on the jump pads (for example: stereo jack plugs, so we can add some leds to the pads)
Location: you can play it on the ACKade (on the desktop)