Hello - first time post here so greetings to all.
I am trying to learn how to use PlayCanvas to make a 2D game and am trying to understand how sprites work. I’ve two quick questions:
-
I created two sprites and positioned them in the same place. When I put them on the UI layer, and then set the draw order for them (first one 1 and the second one 2) they get drawn in the order I expect. However, if I put both sprites on the World Layer and do the same, only one of them gets drawn, even when I give them different draw orders. The only way to get them to draw in the correct order is to position one of them closer to the camera. Is this normal behaviour? Should I only be putting sprites on the UI layer?
-
In order to create a sprite, it seems I have to upload an image, then convert it into an atlas, then convert the atlas into a sprite. So for two sprites, I now have two atlases. Is it normal to have a separate atlas for each image I upload? My preconception of atlases was that they were used to combine multiple images into one big image.
Many thanks!