arrows position

Lucio Crusca lucio at sulweb.org
Wed Jan 16 18:43:30 EST 2008


Hello everybody,

I'm new here and I've been playing pydance for a few days now. Before pydance, 
a few years ago, I was used to play a similar game for the Sony PlayStation 
at a friend of mine's home, but I can't recall the exact name of that game.

I find pydance is a lot better than that game for many features, but I also 
think it lacks one: the arrows bar in pydance is just a bar, while in that 
game it was (is) an arrows "circle" (see the attached image). I know pydance 
aim is not to clone any of the similar existing games, but I believe 
the "circle" disposition of arrows makes it for a lot more fun, because you 
don't have to think about the binding between the arrow position on screen 
and the corresponding arrow position on the dance mat. Since the dance mats 
will always have arrows disposed in a round fashion for obvious reasons, I 
think that pydance should offer a chance to have the arrows disposed in a 
similar way on the screen.

Pydance does offer the option to move the arrows bar in the center or bottom 
of the screen, so I assumed it should be quite straightforward to patch the 
sources and put the arrows at the edges of the screen, but when I looked at 
the sources I realized that the code assumes there's always an horizontal 
arrows bar and it has only a variable for the vertical position of the whole 
bar. I'd need a (x,y) pair for each target arrow and a different direction 
for each moving arrow.

How much work would be required to change that logic and have each arrow in 
its separate image and screen coordinates? Do you think I have chances to 
successfully write the code? (I'm a python beginner but a seasoned C++ and 
Java programmer, so the real question is: how difficult is in python to make 
such a change?).

Lucio.

-- 
Virtual Bit di Lucio Crusca
via Isonzo, 5   10069 - Villar Perosa
http://www.virtual-bit.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arrows.jpg
Type: image/jpeg
Size: 7515 bytes
Desc: not available
URL: <http://icculus.org/pipermail/pyddr-devel/attachments/20080117/4da8947a/attachment.jpg>


More information about the pyddr-devel mailing list