memory game help

LordTarantorLordTarantor Member, PRO Posts: 890
edited November -1 in Working with GS (Mac)
Hi everyone:
Does anybody have a demo or have an idea of how to do a memory game. The game were you have like 20 pictures and you flip one and then flip another and if they are the same, you eliminate them.
I been trying to come up with an idea of how to do it but there is a memory leak in my brain and every time I think I get close to the answer my brain crash. Please help

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    For the flipping back and forth you could just animate it. And im guessing each picture would have to have its own attribute to check when touched and the matching ones would have the same number so when touch they equal the same thing or something along that line. Maybe when touched change to true and have some rule to check if there matching and if both are true destroy them. Something along that lines, its been a long day so my brains gettin fuzzy as well.
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Yes I been around that idea but after that my brain just crash. I was thinking like making an attribute called match and every picture has this attribute with a number, but how to tell the game when 2 of the same are pressed, destroy them. HEEEELLLLLP please.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    for the first two matching cards have match =0maybe when you touch the first one when touch is pressed change attribute match +1 when second one is pressed change attribute match + 1 . when match = 2 destroy both actors. Then for the next two have the match2 attribute for that set to 2. when actor is touched change attribute match two +2 then the second when touch is pressed change attribute match2 + 2. then rule when match 2= 6 destroy actors. Then for match3 atribute do the same thing but have the attribute set to a different number and when touch is pressed add a different number so the only way for them to be destroyed is if they equal a certain number that is only available when the two matching ones are pressed. Would that work? im not on my mac so i cant test sorry
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Hey Jack, at the moment I saw you were here, I said... Its just a matter of time for you to appear with a demo...
    Man I am your biggest fan.
    Thanks again... Are you a GS Program?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Hey John I didnt get what you said in the last post. I think that your idea may also work. I am going to check it out to see wish one is easier and simpler and most important wish one help me to save ram.
    BTW I was wondering Is Papiomitis your last name? I has a ring to it.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    LordTarantor said:
    Hey John I didnt get what you said in the last post. I think that your idea may also work. I am going to check it out to see wish one is easier and simpler and most important wish one help me to save ram.
    BTW I was wondering Is Papiomitis your last name? I has a ring to it.

    Sorry about the blank post i was on my girlfriends windows labtop that likes to do whatever it wants. But im 99% sure my idea would work you would just have to have a interger attribute for every matching pairs then that attribute wont even be triggered at all till the two matching ones are touched. And yes Papiomitis is my last name lol
  • AppTrainer.comAppTrainer.com Member Posts: 42
    Photobucket

    Hey John, I would be happy to create a step by step video tutorial for you on how to make your memory game if you could tell me more about it. Please feel free to contact me.
Sign In or Register to comment.