Qt-Game for mobile devices
-
Hey guys,
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!
UI
-
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
-
Hi,
I've just posted some help how to support multiple screens in another support thread, maybe that's also helpful in your case:
http://qt-project.org/forums/viewthread/47833/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/
Cheers,
Chris