Hello, I can’t seem to find a solution for my problem anywhere, so here it is:
I’m working on an online turn-based 2D game for mobile where 2 players “shoot” pawns placed on a board to eject those of their opponent out of this board.
The issue is caused by the scaling of the objects: the board usually takes the whole device’s width and is squared and the pawns are scaled following the same ratio. But since the board is actually bigger when the screen resolution is higher, the force should be “scaled” to match this difference so that any player plays the same game.
I couldn’t find a good workaround or a mathematical expression (like a formula to calculate the force needed to go to a given distance) that would allow me to fix this.
The pawns are only slowed by a linear drag (and their mass), there is no gravity.
I’m ready to provide any information needed.
Thank you!