StealthyCoin
2007.02.10, 05:58 PM
Got a board game I am working on for the heck of it, its pretty simple.
I have different colored pieces, the way you move is by clicking on one of your pieces, depending if its a right click or a let click I want all the surrounding pieces to rotate one square CW, or CCW.
Thats all dandy, but every time I start to code it I run into special cases I cant figure out for some reason, like if it is completly surrounded by pieces, none of the pieces will move because they will collide on their first attempt at updating. I would have to move them all simotaniously.
Im not sure I made that clear enough :\
I have different colored pieces, the way you move is by clicking on one of your pieces, depending if its a right click or a let click I want all the surrounding pieces to rotate one square CW, or CCW.
Thats all dandy, but every time I start to code it I run into special cases I cant figure out for some reason, like if it is completly surrounded by pieces, none of the pieces will move because they will collide on their first attempt at updating. I would have to move them all simotaniously.
Im not sure I made that clear enough :\