Highlightet a case

I’am trying to make a small game of minesweeper with some difference.
The player might choose more than one case at once.
How did i put the in highligh to show have choose them and after reveal them one by one?

Thanks

  1. Use a sprite object for each cell
  2. When the user selects a cell set a variable on that object called “selected” to be 1
  3. Each frame look for any cell objects with a variable of “selected” set to 1 and change the color tint to be yellow.
  4. Each frame look for any cell objects with a variable of “selected” set to 0 and change the color tint to be white.
1 Like