two characters (boy/girl) how to get my idea to work? confused

jonneyjonney Member Posts: 14
edited May 2012 in Working with GS (Mac)
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 :)

Best Answer

  • scitunesscitunes Posts: 4,047
    Accepted Answer
    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

  • jonneyjonney Member Posts: 14
    cheers @scitunes think i understand u now still trying to get my head round it but will slowly get there
Sign In or Register to comment.