Matching game - when 2 cards don't match - flip back - err how

StormtrixStormtrix Member Posts: 256
edited November -1 in Working with GS (Mac)
howdy
working on a matching game - and followed tshirt's card demo and got the cards to randomize as well as know when 2 cards match and then destroy them..
just stuck on when 2 cards don't match to flip them back to the blank card.

i'm thinking i need to use a boolean game attribute. not sure about it though.

thanks,
storm

Comments

  • StormtrixStormtrix Member Posts: 256
    -bump-

    still having this problem.. i know someone knows the answer :)

    Do i need a boolean attribute for every card? or just one game one and one self one on actor.
    i'm trying different stuff and trying to make sense of barkbark's demo in relation to a matching game.
  • StormtrixStormtrix Member Posts: 256
    Thanks for the reply tempo..
    unfortunately i still am having some issues with it.. I understand how to use integers to match cards and destroy.. it's just how do you add to each actor the idea of knowing you've just made 2 selections and they don't match, turn them back to blank card -- with the same picture behind it.. i've uploaded my gameproj if you or anyone cares to look at it... i have several game attributes made just for the idea of playing around with different settings.. not all in use at moment. again i'm also using tshirt's card randomization demo so each game could be different card placements..

    http://www.kztoons.com/testermatch.zip
  • butterbeanbutterbean Member Posts: 4,315
    Your matching game is different than mine in that I don't randomize my cards, I just created separate scenes for them, so the rules may be different

    BUT, is there a way you can implement a rule that says if cards don't match, then after 1 second, spawn the top of the card back?
  • StormtrixStormtrix Member Posts: 256
    thanks for the reply butterbean,
    i'm trying that a couple of different ways and still having issues.. think i might give up on the whole random thing and just do static locations for cards and new game goes to new scene for different layout.. is that how you do your non-matching? timer.
  • StormtrixStormtrix Member Posts: 256
    awesome deadpixel, look forward to it and huge thx!
  • rbsmith5rbsmith5 Member Posts: 2
    Stormtrix... never let the computer win! Don't give up. I've worked on this very idea... a concentration game. But I have (1) small hindrance:

    I can create the random cards and all. But... how can I assure that all the cards will have a match? I'm just not sure how to create random cards where all have a match. Feel free to email me to if you'd like, rbsmith5@gmail.com

    Thanks in advance.
  • fstltnafstltna Member Posts: 96
    Where can I find the card demo? I am interested in creating a version of mille bournes...

    Marisa
Sign In or Register to comment.