Hi,
I would like to know what is the best practice to create a “wall of blocks”. I mean something like this, the red circle is the player:
Should I create each ‘game object > sprite’ for each block ?
Thanks
Hi,
I would like to know what is the best practice to create a “wall of blocks”. I mean something like this, the red circle is the player:
Should I create each ‘game object > sprite’ for each block ?
Thanks
If the blocks are evenly sized you should probably use tilemaps
I only have 1 image for my blue block sized to 128x128
Then create a tilesource of that image and create a tilemap using that tilesource. Don’t forget to add collision to the tilemap.
I’ll try it, I will keep you informed
Sorry to say that…but I LOVE YOU
Thanks a lot it works fine !
Well now I have an error avoiding me to build and launch my app
Conflicting output resource 'build/default/main/ground/ground.texturesetc‘ generated by the following input files: [main/ground/ground.tilesource, main/ground/images/ground_blue.png, main/ground/images/ground_blue.png] <-> [main/ground/ground.atlas, main/ground/images/ground_blue.png]
[EDIT]
My bad it was because I had an atlas with the same image. I just deleted it and it’s all good now