|
[Android] Display size |
kenmasters1976
Member #8,794
July 2007
|
On Android, al_create_display() always returns a display with the size of the Android device's screen despite of the arguments you pass when calling it. So, if you're porting a game that you built on PC using a fixed display size, what's the best approach to adapting it to Android displays?. I'm thinking there's a few ways to do it:
|
MikiZX
Member #17,092
June 2019
|
I'm not sure if it would be the fastest solution (in terms of app execution times) but with a ready made game I would definitively go with the second option as it seems to be the most straightforward one (and would avoid beta testing to see if all the transforms or scaling were done correctly in the Android port). |
|