Memory Game customisation #2 - Placement of the cards

Hi everyone

Is it possible to give the memory game a desired placement of the playing cards? Our customer would like to adapt the arrangement of the displayed cards to his background graphic.

Best wishes
Mike C.

Hey Mike, good to see you here again!

Instead of using a collection with an automatic placement like an asset grid, you can either

  • add some placement data in the JS code and use a Group collection, then bind the X&Y coordinates to that data
  • or manually create X cards in Composer instead of using a data feed, and position them manually.

I hope that answers your question.

Seb

Hi Seb
Thanks alot for your quick answers … I’ll check that out … sounds great …
Greez, Mike C.

1 Like