Tiles create at runtime

TF101

  • *
  • Posts: 81
Hi,

Maybe someone can help me.
I have a small tileset which I want to use as a background. The set consists of a total of 16 tiles.
My intention is to set the 16 tiles and then right next to them the 16 tiles until the end of the screen is reached. As seen in the picture. To avoid large amounts of code I want to do all this in a loop. But I do not know how...
Does anyone have a tip for me?

greetings
Thomas


TF101

  • *
  • Posts: 81
Hi,

I think I figured it out through trial and error.
In case anyone needs it, I made a Scene Behavior out of it.
In its current state, it creates a tileset of 4 x 4 tiles, 10 tiles wide and 400 tiles long.

Another question:
Can i reset the Tileset ID?
The problem is that even if you delete all tilesets, stencyl doesn't reset the tileset ID.

« Last Edit: August 23, 2022, 07:48:16 am by TF101 »