Problem trying to get the memory cards to flip on second playthrough

Timothy Seow's Avatar

Timothy Seow

28 Aug, 2017 03:27 AM

Hi, I need to implement a memory game but i need to make a slight modification to it. In the original demo game, it will get all the images from the interface asset folder. For our game, we will need to pick random 8 pictures out of all the images.

I enclosed my modification to the interface asset js file. In the _loadCards and Reset function, i added modification to the array so that it will only picked 8 out of a MasterList array asset. This works well but the only problem i am facing is that the tiles does not flip on the second play through (it still matches as i can hear the matching sound). I have checked the SelectCard function and it does make the correct item to be item.IsSelected = true. But for some reason, the Flip chart does not flip.

Not sure if I explained the problem well, but here is the MemoryGame.js

  1. Support Staff 1 Posted by brandi on 28 Aug, 2017 06:52 PM

    brandi's Avatar

    This is the user support area for the Tender Support application. It seems you're attempting to contact one of our customers that uses Tender for their support. What company are you trying to contact? If they're one of our customers, we can point you in the right direction.

    Thanks!

  2. brandi closed this discussion on 05 Sep, 2017 07:41 PM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac