1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

For Disappear

Discussion in 'C++' started by davvid, Jan 1, 2007.

  1. davvid

    davvid New Member

    Joined:
    Jan 1, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    my game have several boxes filled with randomly cards! the job is to match the 3 cards by vertical or horizontal way.if three same cards were in match.. I ld to make them disappear from the boxes .. How can I do .. ?pls
     
  2. Essial

    Essial New Member

    Joined:
    Sep 12, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    Your question is VERY very generic, so I'll give you a very generic answer :) Each 'card' needs to have a "visible" property. And if they match, you set the matching card's visible property to "false", and in your drawing logic, skip over any cards who's "visible" is set to false.
     

Share This Page