We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi all! I hope you're having a good day.
I recently made and published a small game on the Google Play Store, but I found that it appears different on different devices. I've tried to debug and find out what's causing the problem and I've narrowed it down to different devices having different pixel densities, since I hardcoded values for the sizes of all my objects. I tried dividing these hardcoded values with displayDensity but the objects are still far too large. How can I go about standardising the appearance across devices?
Also, to avoid this inter-device incompatibility in the future, how should I be structuring my code instead?
Thank you all!