Project , screen types problem

So i creating a project that shows where i am on map to other players

So some random gaming map in canavas
And ball

How it works
I muve the ball on canavas and every 1 secound it uploads ball cordinates x,y to firebase
Other players get my cordinates from firebase (get value ) and ball is set there ,so it shows where i am

THE PROBLEM IS I THINK , phone screen sizes are diffrent so so the ball is not exactly where it should to be
So it is like 2cm left ,… .or 1 cm down ,…

Is possible somehow to fix that ??

Why dont you use google maps?

No ? :smiley:

it is gaming map like this

and i wonna show to other players my position in game , not position in real life :slight_smile:

Looks like the map from GTA San Andreas :joy::joy::joy:

What about to set the points in percentage?
Then it doesnt matter which screen size the user have

4 Likes

i youst posted random map to show xD

Can you please show me some block , how you mean … , set this percentage points

Iam away from computer.
Maybe someone else can help you

BadBoy :slight_smile:

I hope someone will help me

And Mika , is it possible to zoom in ,canavas or picture ?

Explore the blocks. You will find it

Yes i found out zoom ,. :smiley:

Now i need this
" What about to set the points in percentage?
Then it doesnt matter which screen size the user have"