two characters (boy/girl) how to get my idea to work? confused
![jonney](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
in my game their is two characters boy and girl but you select which one you want to be at the start of the game. so if for example you selected the boy character in the game play it would be the girl character you would have to destroy, and the same for the girl you would have to destroy the boy characters. and both game plays are going to be exactly the same apart from a different character, how would this be coded so i wouldn't have to make two separate games for each character is their away i could have something so the game knows which character is playing so it puts the opposite in the gameplay?
sorry for the lengthy question but I've been trying to get my head around it and tried myself looking through the options but I'm still at a standstill.
Please can someone help
sorry for the lengthy question but I've been trying to get my head around it and tried myself looking through the options but I'm still at a standstill.
Please can someone help
![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
Best Answer
-
scitunes Posts: 4,047
Create a game boolean attribute called game.girl
In your menu have a button for girl and a button for boy.
In the girl button have a rule that changes game.girl to true when pressed. In the boy button do the same thing but have it make game.girl false. Then create one actor called character. Have a rule that says when game.girl is true change image to girl.png OTHERWISE change image to boy.png.
If you have animations just put them in where the change images are.
So not only is there no need to create two games you don't even need to character actors.
Answers