So I am attempting to create a checkers game for the iPad as well as another "platform". I got all the graphics drawn and objects placed on the layer. I only placed one checkers piece on the board so far so that I can test movement with it before adding others. I need some help with the movement events. I used the drag and drop behavior to allow the player to move the checkers piece around the board. I only found a few people trying to work on a similar game, with this one being the most advanced scirra.com/forum/simple-checkers-game_topic71842.html. However there are a few actions missing from his work such as:
- When user attempts to place piece on red square instead of a black square, the piece should return to it's previous position.
- Should not allow a piece to jump over a piece of the same color, only those with blank black squares around them should be allowed to moved.
- ...I'm sure there is more, but I'll start with that.
Tried to search for a tutorial on such a game but haven't been able to find one. Any help would be fantastic.
In the meantime I'll email the OP of the previous thread to see if he is willing to share the project file for tips on getting the pieces to stick to the black squares when placed.
-Mike