TEMPLATE FOR 2048-DROP GAME

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • Now the block on top is always created at startup, how can I make it create when clicked? The move function start_new_round does not help.

    If the block is 9, then how can it be destroyed upon contact with block 8?

    • Why doesn't start_new_round help? This function must first be removed from the 2nd event. Then add a global variable, for example START=0. And Make the condition [On any touch start AND start=0] then [call start_new_round and set start=1]

      A block with ID 9 should not be destroyed with ID 8. You just need to change the logic so that a block with ID 8 is also created from merging blocks with ID 8. Or add new blocks so that the maximum block ID is higher and the game ends on it