How do you determine sprite coordinates?

Hi all. I have a question today.

Let’s say you need to put a sprite on the scene, in a specific area of the screen. But how do you determine its coordinates? I mean, do you use a level editor or something? It’s a bit hard for me to change the coordinates and run the game again and again, until i like its position.

I hope you understand me (my English is bad sorry). Thanks in advance.

1 Like

I’m waiting for help

So I think you use cocos2d engine, not Cocos Creator.
You can still use Cocos Studio however it’s not supported anymore.
Another option to use any image editor, place your images and do the same in code with positions from editor.

1 Like

This is how a lot of devs work. Either precise coordinates or percentages of the screen. You could try using Tiled Map Editor as a level editor.

1 Like

Ok, thanks.