hudaman2k's Forum Posts

  • 6 posts
  • IT WORKS!

    Thank you both so much.

  • Trying an else statement for the second condition gives a validation error.

    Here is a link: 1drv.ms/f/s!Al5lE7D8HY4eabddQrq14LzdNQ0

    Thanks

  • Same result :(

  • I'm not sure how to upload the c3p file but here are some screenshots.

    See how the two top cards are outlined white. I only want the card my mouse is over to be outlined white.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry I'm very new to this.

    The events I have are:

    if mouse cursor is over card, set card animation frame to 1.

    else set card animation frame to 0.

    I tried adding a for each to the mouse event but it didn't work.

    Is that what you meant?

    If the cards are touching they do not reset to frame 0 until I move the mouse away from all the cards.

    Thanks

  • I am creating a memory card game with a grid of 6x6 cards.

    I have created a card object with an event to show frame one when the cursor is over the card. An else statement resets the frame to zero when cursor is no longer over the card.

    The issue I am having is since all my cards touch, they are not being reset to frame zero, even if my mouse has moved to a different card instance. For instance, I move my mouse over the top-left card and it changes to frame one, when I move my mouse to the card next to it that card also changes to frame one but the original card does not change back to frame zero.

    The cards only set back to frame zero if I move the cursor into an area where the card object does not exist.

    Any help is appreciated.

  • 6 posts