chrisbrobs's Recent Forum Activity

  • I got it working:

    http://dl.dropbox.com/u/5426011/fixed/chrisbrob.cap

    10% opacity was not working so I switched it to 25%.

    WOW....i am truly amazed ROJOhound !

    I was just about to put the project in my 'Can't be done' folder and you come up a solution?

    Amazing considering there's about a million groups in the cap.

    Thank's for all your help.

  • OID is object id, a specific number given to each different type of object.

    In this case its the object cover.

    So basically is saying if object cover's opacity is equal to 10, and if the number of the objects called cover placed into the selected objects list is 2... do stuff.

    Not to be confused with UID, a specific value assigned to each individual instance of an object.

    Thanks for the info newt, this part makes sense now.

    -------------------------------------------------------

    ROJOhound wrote:

    "Here is a corrected cap where only the mismatched cards are reset.

    http://dl.dropbox.com/u/5426011/examples5/cardmatch2.cap"

    I transfered the events to my cap, and it works, as far as making the 2 cards 10% opaque.

    If you have a spare bit of time, heres my cap, with yours added at the end.

    (run it, and press keyboard 2 to activate the memory match bit)

    nightmare

  • Thanks ROJOhound, works perfectly now. <img src="smileys/smiley4.gif" border="0" align="middle" />

    I am trying to incorporate your solution into my cap, and for some reason i can't get it to work.

    Couple of questions:

    Event 3

       + cover: Opacity Equal to 10

       + System: CountMatching(cover.OID) Equal to 2

    What exactly does the second line of event 3 do. Iv'e not seen this expression before ?

    Is the group 'playing' active at start?

    Sorry for the million questions, but i need to sort this.

    Cheers

    <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Thanks ROJOhound, works perfectly now. <img src="smileys/smiley4.gif" border="0" align="middle" />

  • When i run tutorial(3) in debug mode, the following occurs:

    <img src="http://dl.dropbox.com/u/22173473/match3%20debug.png" border="0" />

    The number above the red arrow is constantly increasing.

    Any way to stop this ?

  • Here I've done another example using an Array as I explained.

    Thanks for your help with this, it works but i don't fully understand how!

    Can this method be simplified to work without the array ?

    For example, the 'picture sprites' are simply given a pv of 1 to 4

    (which is the animation frame number) and then covered with a card.

    Here's your original cap with my blocks added-

    Magistross cap2

    Thanks in advance.

  • ROJOhound,

    Your example works if i pick 2 matching 'CARDS'.

    But if i select a card, then select one that isn't a match to the first one, everything resets and previously matched cards are wiped out?

  • Here I've done another example using an Array as I explained.

    Thanks my friend, gonn'a try and decipher it!

    Will get back to you.

  • I can't seem to find where you actually put data in the array... am I missing something ?

    The example cap was just to give you an idea of what i was trying to achieve! Not sure if the values matched my question exactly.

    -------------------------------------------------------------

    I think ROJOhound has come up with solution though (again) <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Here's an 11 event example.

    http://dl.dropbox.com/u/5426011/examples5/cardmatch.cap

    Thanks ROJOhOund, this looks promising !

    On first run, i noticed that that cap only has 3 animation frames, does it work with 4?

    Sorry for silly question ROJOhound, it does !

    Thanks for you help.

  • Here's a couple of things i tried:

    <img src="http://dl.dropbox.com/u/22173473/PROGRESS.png" border="0" />

    Didn't work!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I achieved this with a memory game some time ago.If i can find the cap i will post it.

    I downloaded your caps.....they work! I was just wondering if there was an easier way ?

chrisbrobs's avatar

chrisbrobs

Member since 10 Aug, 2010

Twitter
chrisbrobs has 1 followers

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies