Petscii Forums "PETSCII.COM"
« Gameplay w/accelerometer »

Welcome Guest. Please Login or Register.
Nov 20, 2009, 9:41pm




Petscii Forums "PETSCII.COM" :: General :: DTVHacking :: Gameplay w/accelerometer
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Gameplay w/accelerometer (Read 644 times)
gmoon
Wizard's Apprentice
*****
member is offline

[avatar]


[homepage]

Joined: Mar 2006
Gender: Male
Posts: 876
Location: Ohio, USA
 Gameplay w/accelerometer
« Thread Started on Jul 29, 2006, 1:05pm »

Here's a video demo of myself playing Markanoid (poorly :P) using an accelerometer as controller:

http://video.google.com/videoplay?docid=-3837870026578624247

Although the game was modifed for the Hummer, as discussed in the 2d-3d controller thread the 'digital joystick mode' would enable any DTV with a joystick port to play unmodified games with this device.

MArkanoid was an entry in the minigame comp by Stefano Tognon.

[edit]
(the audio gaps represent certain *words* that were removed...)
« Last Edit: Jul 29, 2006, 1:08pm by gmoon »Link to Post - Back to Top  IP: Logged
Robin Harbron
Moderator
*****
member is offline

[avatar]



Joined: Dec 2004
Gender: Male
Posts: 258
Location: Thunder Bay, Canada
 Re: Gameplay w/accelerometer
« Reply #1 on Jul 29, 2006, 2:05pm »


Quote:
Here's a video demo of myself playing Markanoid (poorly :P) using an accelerometer as controller:

Heh, who needs a Wii, eh? :)
Link to Post - Back to Top  IP: Logged
pyrofer
Senior Member
****
member is offline





Joined: Jul 2005
Gender: Male
Posts: 263
Location: London
 Re: Gameplay w/accelerometer
« Reply #2 on Jul 29, 2006, 3:59pm »

Cool. Youd be better off with a Gyro sensor wired to the hummer analogue input :) Absolute positioning of the paddle with the amount of tilt would be amazing.

My accellerometer should be here soon, curse you for pointing out that cool toy. I wish id got the i2c one not the analogue one now though.

Lots of strange sensors are collecting on my pic proto board now, the hall effect sensor is great fun!

Got a colour nokia LCD coming soon too.
Link to Post - Back to Top  IP: Logged

Please visit my Project site at,
www.pyrofersprojects.com
gmoon
Wizard's Apprentice
*****
member is offline

[avatar]


[homepage]

Joined: Mar 2006
Gender: Male
Posts: 876
Location: Ohio, USA
 Re: Gameplay w/accelerometer
« Reply #3 on Jul 29, 2006, 4:32pm »


Quote:
Heh, who needs a Wii, eh? :)


Maybe I should I look at wireless next.... ;)
Link to Post - Back to Top  IP: Logged
gmoon
Wizard's Apprentice
*****
member is offline

[avatar]


[homepage]

Joined: Mar 2006
Gender: Male
Posts: 876
Location: Ohio, USA
 Re: Gameplay w/accelerometer
« Reply #4 on Jul 29, 2006, 4:51pm »


Quote:
Cool. Youd be better off with a Gyro sensor wired to the hummer analogue input :) Absolute positioning of the paddle with the amount of tilt would be amazing.


I'm not a game designer, and I'm afraid unless you program your own custom games, gyros would just be wasted on the DTV. You can get joystick-like movement even from a 2d accelerometer.

But for non-game apps, data aquisition, etc. I'd love to play with one. But they are expensive.

RE: the Hummer ADC--it's sample rate is ~ 25kHz (8 bit.) The AVR's rate is 200kHz (10 bits.) If you don't care about loosing resolution (dropping a bit or two), I bet you can up the AVR sample rate to 500kHz or more. With unused channels, it's not like I need the Hummer ADC, anyway.

I'm not saying don't use the Hummer's ADC, but just be aware of it's limitations.


Quote:
My accellerometer should be here soon, curse you for pointing out that cool toy. I wish id got the i2c one not the analogue one now though.


I looked at i2c versions also, and they are pretty cheap. But the one company wanted $25 USD just for shipping a sample!!!! There are speed issues, and I'm surface-mount challenged....
« Last Edit: Jul 29, 2006, 5:19pm by gmoon »Link to Post - Back to Top  IP: Logged
gmoon
Wizard's Apprentice
*****
member is offline

[avatar]


[homepage]

Joined: Mar 2006
Gender: Male
Posts: 876
Location: Ohio, USA
 Re: Gameplay w/accelerometer
« Reply #5 on Jul 29, 2006, 6:37pm »


Quote:
Although the game was modifed for the Hummer, as discussed in the 2d-3d controller thread the 'digital joystick mode' would enable any DTV with a joystick port to play unmodified games with this device.

MArkanoid was an entry in the minigame comp by Stefano Tognon.


I should clarify:

I AM using the 'digital joystick mode' to play this game on the Hummer. The game is modified only as far as substituting the userport addr for the joystick port.

No software drivers are employed on the Hummer. The work is all done by the AVR.

The downside is that it's no longer an analog device with absolute positioning. The upside: as I said, on a DTV with a joystick port, ANY GAME WILL WORK.
Link to Post - Back to Top  IP: Logged
   [Search This Thread][Send Topic To Friend] [Print]

Google
Webjledger.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!