Quantcast
Channel: GameSalad 101 — GameSalad Forums
Viewing all articles
Browse latest Browse all 8930

Unlocking Characters problem

$
0
0

Hi guys,

I'm kind of stuck with my game. I can choose character but I have some issues with unlocking them. If I unlock one character, all other became unlocked too. I'm not sure I'm on the right path or trying it wrong.

My setup so far is: one blank HERO actor, which changes image depending on the players choice of character, one "which character" integer attribute, a Table with actors in the rows and 3 column. (1st actor number, 2nd cost, 3rd boolean "locked/unlocked" attribute) When the player clicks on a locked actor a menu pops up where you can choose to "Unlock" it.
In the Unlock button I have used Change Table Value attribute and in the Row section what would make sense to me to add the game.which character attribute which points to a certain number (and character), but it doesn't work.

I could make multiple unlock buttons for each character (only got 6) but I really want to make it more "neat", use a method what I could use in the future too.

Many Thanks
Z


Viewing all articles
Browse latest Browse all 8930

Trending Articles