×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    45

    Qt Game Enabler vs Qt Games API

    I want to port Cocos2D-x the GLES2 version that's being in development to devices supporting Qt (Symbian & N9 especially) and I'm curios what's the difference between the two API's and what would you recommend.

    I was thinking using Qt Game Enabler but after finding out about Games API, I'm a little bit confused. Previously I wanted to port it on top of QGLWidget but that's pretty slow, I want to bypass that and use OpenGL ES 2.0 directly while still using many of the great Qt features. That's where Qt Game Enabler was supposed to come int. Now I see that there's yet another API the Qt Games API and again don't know what should I use. Also, I found references of this Games API only in Harmattan help, is this only a MeeGo supported API or is it available on Symbian also?

  2. #2
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    67

    Re: Qt Game Enabler vs Qt Games API

    Quote Originally Posted by moldovan_catalin View Post
    I want to bypass that and use OpenGL ES 2.0 directly while still using many of the great Qt features.
    What kinds of Qt features? GUI elements, or more things like the QVector etc?

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    45

    Re: Qt Game Enabler vs Qt Games API

    No UI, jus Qt Core stuff, signals and slots and so on. The UI stuff is done entirely with OpenGL ES by the library. Cocos2dx is a game library that accelerates sprites and other 2d game elements by building on top of OpenGL ES. So what I want is to port it to Qt platform and not worry about being on Symbian or MeeGo, so I don't have to do two separate ports, one for Symbian and one for MeeGo.

  4. #4
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    67

    Re: Qt Game Enabler vs Qt Games API

    Quote Originally Posted by moldovan_catalin View Post
    No UI, jus Qt Core stuff, signals and slots and so on. The UI stuff is done entirely with OpenGL ES by the library. Cocos2dx is a game library that accelerates sprites and other 2d game elements by building on top of OpenGL ES. So what I want is to port it to Qt platform and not worry about being on Symbian or MeeGo, so I don't have to do two separate ports, one for Symbian and one for MeeGo.
    In this case I would just go with the approach of the EPong game example, it gives you direct OpenGL access within the Qt framework. http://projects.developer.nokia.com/eponggame
    This runs on both symbian and meego.

  5. #5
    Regular Contributor
    Join Date
    May 2010
    Posts
    362

    Re: Qt Game Enabler vs Qt Games API

    Performance in Symbian^3 is already very good without any special API:s. From my tests the performance in strict QPainter calls is as fast as using OpenGL.

    If you want to make 2D games for commercially available devices, I would either write the game with QML or use QMainWindow, implement a tick method and paint your stuff in PaintEvent().
    You will get a very good 2D performance on most Symbian^3 devices with this.

    The Cocos2D-X OpenGL ES 2.0 port currently is not finished. If you intend to port that to Qt, then it is going to be a lot of work.

Similar Threads

  1. Replies: 12
    Last Post: 2007-05-02, 09:21
  2. speaker enabler
    By Xpiral in forum Symbian
    Replies: 1
    Last Post: 2005-08-20, 07:59
  3. how to save the game to games folder?
    By ericzion in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2005-05-12, 09:25
  4. Putting a j2me game into the games folder in the 6600
    By softengilker in forum Mobile Java General
    Replies: 1
    Last Post: 2005-01-31, 12:50
  5. Adding game to games folder
    By fmhunter in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-11-08, 18:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×