Stencyl 3.4.0 is now out. Get it now!

doing a match 3 game

hi, do you think is it possible to make a match 3 game without using arrays in Stencyl?

LIBERADO

  • *
  • Posts: 2345
Do you mean a game similar to Candy Crush?
Why don't you want to use arrays?
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

KramerGames

  • Posts: 403
I did a match 3 game once and used an ID for each tile. the first row was 11-19, second was 21-29 etc, so basically the first number represented the row, the second number the column. Using lists is probably a much better solution though :-)
Parasites United  (Idle Parasite Game)

Using arrays looks more complicated to me but I'm open to change my mind. 

KramerGames

  • Posts: 403
they might look complicated but they are quite easy to use and can be incredibly useful. One thing that confused me in the beginning was that when you make a list attribute (myList) you also have to use the 'set 'myList' to new list' block if you want to use it. But that was pretty much it, the rest you should just play around with it, fill it up with values, change them etc.
Parasites United  (Idle Parasite Game)

merrak

  • *
  • Posts: 1499
I can think of a way to put it together using the Tile API--but all you're really doing then is using the scene itself as a 2D array.