Randomseed,random and tileset (SOLVED)

I am trying to create a level from an array as a tileset, but even if I change randomseed (os.time ()), the level is not updated and renders exactly the same.

Please post your script code / a sample project where it doesn’t randomly change otherwise we cannot tell what is wrong.

2 Likes

And you do this only once and before the level is created?

I understood my problem. The fact is that the call to the function for building tiles was carried out once and I did not update the tilemap at all. Sorry, I’m trying to get used to defold engine: 3

2 Likes