Quote:
Originally Posted by aliceisgay
Im talking about like making the pawns only move 1 space, knights can only move in an L shape, likewise.
And i didnt make this account my friend made it and gave it to me,so.........
|
Like I said, you'll need an event.
I suggest using a "when the mouse is clicked" event, then passing the object under the mouse cursor in as an object parameter, then using a method to determine what piece was clicked, where that piece is, and from there, what moves can be made using that piece.
They key is that you need to know what piece was clicked and where that piece is first before you can know where the piece can be moved.
Can you do that?
And friend's account or not, your name is still a violation of the Terms of Use of the forums and will be banned, I just don't want to do that until you've got the help you need.