I have this problem… i want to make a game fr andrid phones but i dont know what size should i pick because some phones have different ratios than 16:9. Is there some way i can make it adapt screen size? The built in thing for adapting screen size is not helping because i want to have sprite (player) in center of the screen and also i want to have things centered. Can someone help please?
Thanks a lot.
there are many threads in this topic here on the forum. look around a bit.
- 640x360, 1280x720,1920,1080 and others.
- Use anchor behaviour for your UI
- Set position of player X= (SceneWindowWeight / 2) - player.width()