2 Players to Choose From

luke2125luke2125 Member, PRO Posts: 225
edited May 2012 in Working with GS (Mac)
Hi,

Currently working on game that has 1 Player, however, what is the best method for 2 Players. In other words, when the game begins, the user would need to choose between 1 Player ( Male ) or 1 Player ( Female ), then the game begins with the actor that the user choose on the previous screen. Should I duplicate the whole game ( levels ), and just changed the actor graphic, or is there a better method in accomplishing this......? Would appreciate and feedback........Thanks and God Bless.....

Sincerely,

Sunday

Best Answer

  • patapplepatapple Posts: 873
    Accepted Answer
    you can create an integer attribute like "player1character" and when the player choose the character you change the attribute to 1 or 2 or everything you want. then in the main character you put a rule like this one: when attribute "player1character" is = 1 --> change image to character1image and so ;)

    i hope you understand

Answers

  • luke2125luke2125 Member, PRO Posts: 225
    Hi there,

    Thanks uptimistik and patapple, really appreciated....Will try it out on the game.......:) God Bless.....

    Sincerely,

    Sunday
  • edhogshireedhogshire Member, PRO Posts: 12
    Do you guys have any examples of this? I would love to see a proj file with the option of being able to chose your character at the beginning of the game.
  • DuesDues Member Posts: 1,159
    edited January 2014
    @edhogshire

    @Deepblueapps has a charachter selection in their V 3 platformer.

    http://www.deepblueapps.com/gs-platform-engine-v3/

  • FrantoFranto Member Posts: 779
    edited January 2014
    That was one of the first things I figured out on my own in Game Salad. I made to game attribute booleans, then made an actor in level 1 to spawn either the ranged user or melee user based on the selection two scenes back.

    In that scene, a black and white version of the character is shown once you pick them. Both that and the character that spawns at level 1 determined by the true/false statuses of the booleans.
Sign In or Register to comment.