How do I check value of two spirte

0 favourites
  • 9 posts
From the Asset Store
This is a Dungeon Master tool & the 1st of 12 Combat Engines from the Building Combat Engines for Browser Games workshop
  • hi Guys i have just tried a memory match game without generating the layout as its done in the tutorials but instead have the card layout has card placed with an animated card hidden underneath , i have managed to have it going till it open only 2 cards at a time but, it won't compare the the two opened i tried with UIds and a few other way but can't get it to work , all i need is if the card hidden match then they stay visible , so either the opacity of the top becomes , zero or get destroyed, i don't know any programming , just doing it for college proj.

    but just didn't want to copy its in layout called game1, ,thank-you. one drive link

    myuhi-my.sharepoint.com/personal/14003913_uhi_ac_uk/_layouts/15/guestaccess.aspx

  • can someone please point me in the right direction, tried whatever could , have already had a few sleepless night . regards manoj

  • Someone pointing you in a (one of many) direction.

    https://drive.google.com/open?id=0B1SSu ... GRyTTNWTVE

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you 99instances2Go

    its great but i was trying not to change the layout just to try and make condition that will let me hide the two top card of the two matching box , will that be possible at all or no , I don't know,

    Regards Manoj

  • Look better.

  • Sorry tried that but still can't get it to work ,as i want the original animation to play when the card opens, when put hidden-first=hidden-second the action i set as set card to invisible or destroy it does't work ,

  • hi Thanks again did manage to move forward thanks for your guidance . but now it just destroy the second card its the only one that is active how can i destroy both pleaaassseee ,

  • Hi 99instances2Go

    Have managed to get to the point here the criteria matches and it leaves the two matching cards open but when closing the unmatched it will just close the second one and not the first as it is not selected , i cannot destroy the card and regenerate it, as it will break the logic for the match, can't pick through pick all , and then try to close the the two open, so the best i could do was it will close all the cards , if they don't match even the one that matches , i am sure there would be a way to do this,but I just can't figure it out , I will really appreciate a push in the right direction, sorry if i have been too much of a pain , but i will improve as i do more of this and will try and learn a bit of programming too.

    regards Manoj

    one drivehttps://myuhi-my.sharepoint.com/personal/14003913_uhi_ac_uk/_layouts/15/guestaccess.aspx?guestaccesstoken=zUSYAcc2OoFADIkW5pJjk7%2fcgb8dbdavPG50XhCN07A%3d&docid=1629b70a3c18d49abbd51d642c62a630d&expiration=2016-06-22T17%3a10%3a07.000Z

  • can someone please guide me through the last bit please.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)