gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Gesture Recognition Demo

#111279 - Cubane - Tue Dec 05, 2006 12:03 pm

I have just finished writing a gesture recognition demo using the touch pad for the DS. I have given it a sample library of numbers to input (0-9) but it could be used for any single stroke gesture.

If you would like to check out the demo it can be downloaded from http://www.mutantdiscovery.com/gesture.nds. I also put a screenshot of the editor up at http://www.mutantdiscovery.com/gesture.png.

I have only tested it on my M3 adapter miniSD version so if anyone else checks it out please let me know if you have any problems.

#111281 - Lick - Tue Dec 05, 2006 12:15 pm

Nice work! Really nice! Are you planning to release it in library form? And will multiple-strokes per character be supported?
_________________
http://licklick.wordpress.com

#111283 - OOPMan - Tue Dec 05, 2006 12:42 pm

Hmmmm, nice to see someone else is working on an input system...

At the moment I'm mucking about with an implementation of QuickWriting which will hopefully be released pretty soon :-)

EDIT: The screenshot looks very cool. Gonna test out the demo now as well :-)
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI

You can find my NDS homebrew projects here...

#111284 - Cubane - Tue Dec 05, 2006 12:45 pm

I haven't added support for multiple strokes since the game I plan to use it for doesn't need them. It wouldn't be hard to add though or you could use the first stroke to select a series of second strokes to choose from depending on how you wanted your game to work and it would work with the current system. Say a circle is the base spell if you do a figure 8 in the middle it might mean tornado spell rather than just rain spell.

I hadn't really thought about releasing it, I don't think there would be any issues. I would just have to tidy a few things up first :) and the Wii comes out midnight tomorrow here. It really has only been designed for the needs of my game idea though.