Topic: Collaborations /
programming help for n00bs
here is where all u sexy people (not sexy people r allowed too) get to ask for help with your action script and pray to Greg that an experienced person will answer.
so i guess i’ll ask teh first question
i’m trying to digitalize a board game so. i have the pieces made, i want them to be in one of two states. ‘selected’ and ‘not selected’. in the not selected state, the piece should ignore everything. in the selected state, the piece should move based on key commands restrictions inherit to the game.
so how do i get it so when a piece is clicked on it enters the ‘selected’ state and when another piece is clicked on it enters the ‘not selected state’?