Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt-Game for mobile devices
urbaninvention last edited by
we have a special Pong-Game, developed with Qt, now we want to make an app out of that- for both platforms: iOS and android.
My question is how complex is such a transformation? The game should allow users to play against each other with a w-lan or blouetooth connection from their smartphones.
Thanks a lot!
Hi and welcome to devnet,
It really depends on how you implemented your game first. Some application can go right through without modification and other must adapt to the new form factor.
Hope it helps
feldifux last edited by
I've just posted some help how to support multiple screens in another support thread, maybe that's also helpful in your case:
For the multiplayer topic, it depends how complex you want to go..
You need to decide what is calculated by the server (the player who hosts the game) and what by the client. For example you can do the calculation of the ball + server & client player movement on the server, and send the ball coordinates & server player position to the client. To make it smooth, you will probably need to interpolate these positions on the client.
Anyways, local multiplayer on 1 device would be much easier... ;)
We did that in a Pong game and open-sourced it - you can see the sources here: http://v-play.net/doc/v1/demos-vpong/
And a tutorial how to make a Pong game here: http://v-play.net/doc/v1/howto-pong-game/