Kirjoittaja Aihe: DIY Tx-controlled computer game  (Luettu 1305 kertaa)

Poissa mnentwig

  • Elävä Legenda
  • *****
  • this sentence no verb
DIY Tx-controlled computer game
« : 09 Tammikuu, 2012, 00:27:02 »
Alright, it won't win any awards for best graphics... a little weekend hack to brush up my C++.

One crosshair each tracks the stick position of left and right transmitter stick. Left is cyan, right is magenta.
Colored spots pop up and disappear in a regular rhythm.
While the "crosshairs" are on a spot with the right color, you earn points, otherwise you lose points. Swift and accurate moves are the way to go.

Required:
- DX7 or DX8 (others might work also). Clear an unused program in airplane mode, then there is no need to calibrate.
- A 3.5 mm stereo cable with plugs on both ends
- a PC with 3.5 mm LINE audio input. Microphone won't work.
- The program from the zip file (stickbangers.exe)
ZIP file attached
A virus / malware scan never hurts.

How to play:

*    Plug the DX7/8 to the audio input (for the record: I've tried with several PCs and transmitters, but everything you do is at your own risk).
*    Set the default audio device to "line in"
*    Start "stickbanger.exe" straight from the zip file. If it works, the crosshairs will follow the stick input. If not, check that audio input works and the input level isn't turned down all the way.A sound recorder should show the PWM signal.
*    Press START to play. The "speed / accuracy" buttons cycle through easier difficulty settings. One round lasts 30 seconds.
*    Both hands are scored individually. The final score is the lower one.

PS: the source is included in the zip file. It requires MinGW / FLTK 1.3 / portaudio to compile.
« Viimeksi muokattu: 09 Tammikuu, 2012, 00:31:21 kirjoittanut mnentwig »

 

Vastaavat aiheet

  Aihe / Aloittaja Vastauksia Uusin viesti
10 Vastauksia
4391 Lukukerrat
Uusin viesti 08 Elokuu, 2008, 10:13:29
kirjoittanut IL
16 Vastauksia
8841 Lukukerrat
Uusin viesti 15 Tammikuu, 2009, 16:17:13
kirjoittanut jkaija