Skip to content

Game Development

What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
844 Topics 4.1k Posts
  • IndieLib for Qt

    2
    0 Votes
    2 Posts
    2k Views
    T

    What is indielib doing?

  • Where to find info on Qt Games API

    5
    0 Votes
    5 Posts
    5k Views
    Q

    This link should place you directly on the page: http://harmattan-dev.nokia.com/docs/library/html/libqtgameopengles2/main.html?tab=1

    The trick is to copy the URL by right-clicking the link pointing to it in the navigation. I know, not the most usable way.

  • How do I keep Highscores at qml app.

    4
    0 Votes
    4 Posts
    3k Views
    B

    thanks very muxh. I got it :)

  • 0 Votes
    6 Posts
    4k Views
    C

    Alright, bug report posted "here":https://bugreports.qt.nokia.com/browse/QTCOMPONENTS-1074

  • 0 Votes
    13 Posts
    7k Views
    K

    this information we have been helpful thank you!

  • Modern OpenGL pipeline implementation in Qt

    8
    0 Votes
    8 Posts
    4k Views
    S

    I think I got you.You mean packing different data for the vertex buffer in a single vertex array.Like vertices positions,color, like :
    @
    GLfloat vertAndColors[]={
    23.0f,12.0f,23.43f,/vertex 1 /0.23f,0.75f,1.0f.1.0f / RGBA color for that vertex/ ,
    ....
    ......
    ........
    }
    @
    ?

  • Problem using a 3D engine with SFML and Qt

    3
    0 Votes
    3 Posts
    4k Views
    A

    Since I am using SFML 2 this is a deprecated function so I cannot use it, but I have used it's equivalent - Save/Restore GLStates but to no avail.

  • Qt Scenegraph ?

    4
    0 Votes
    4 Posts
    3k Views
    kidproquoK

    If I remember correctly the plan is to merge Qt Scenegraph into the main distribution for Qt5.

    Obviously you can use the labs version Vass linked to before then if you want/need.

  • [SOLVED]Question in Destroying Objects

    7
    0 Votes
    7 Posts
    4k Views
    K

    I had done similar coding for my The Math Game, in this game some coulds fall from top and when user answer correct answer it got destroyed.

    I had written down my experience for creating that game in following post. Check out "Performing animation on component destruction." section. that might help you.

    http://kunalmaemo.blogspot.com/2011/05/some-qml-animation-technique.html

  • 0 Votes
    5 Posts
    4k Views
    K

    It might be late to reply, but I had created this post that shows how phonon can be used to play short sound file. Thanks

    http://kunalmaemo.blogspot.com/2011/04/playing-sound-with-qt-and-phonon.html

  • Qt with OpenGL problems

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    6 Posts
    3k Views
    A

    Basically, this is a card shuffling problem. You can google for that, or for "array shuffle".

  • 0 Votes
    2 Posts
    2k Views
    L

    Do you receive a "QWindowStateChangeEvent":http://doc.qt.nokia.com/latest/qwindowstatechangeevent.html?

  • Fire bullets example

    17
    0 Votes
    17 Posts
    15k Views
    R

    Cool one.. Liked it :)

  • 0 Votes
    11 Posts
    8k Views
    R

    Thanks ;-)
    I am quite interested in the topic as well, but I guess one should begin with pretty basic, pure c++ stuff, get some background with OpenGL applications, learn to use an engine (like OGRE) and still will need to learn quite a bit (designing characters and levels/terrain which needs skills in applications like Blender, etc).

    If anyone is doing these kind of stuff, it'll be nice of him to share =/

  • [SOLVED]bindTexture doubt.

    2
    0 Votes
    2 Posts
    2k Views
    V

    Posted suggestion on JIRA: "QTBUG-20974":https://bugreports.qt.nokia.com/browse/QTBUG-20974

  • 0 Votes
    3 Posts
    4k Views
    S

    yes it's work!
    now I can loadTexture from secondGLWidget
    and then use it in firstGLWidget

    Thank you very much.

  • 0 Votes
    4 Posts
    4k Views
    T

    After read the opengl_es2 exsample, i know that by default the (0,0) coordinate (in my case) is center of screen.

    and i do this to move the (0,0) coordinate to top-left corner. I multiply vertex with a (4x4) matrix.

    @
    _projectionMatrix.Identity();
    _projectionMatrix.Ortho(-(float)k_SCREEN_WIDTH,+0.0f,+0.0f,-(float)k_SCREEN_HEIGHT,-1.0f,+1.0f);
    @
    the code to Identity and Ortho can be found "here ":http://db-in.com/blog/2011/04/cameras-on-opengl-es-2-x/

    Thanks everybody!
    p/s : My english is very limited to representing my idear :D

  • Game Tutorial using Qt

    6
    0 Votes
    6 Posts
    20k Views
    S

    If you ever look for general game development questions, look here "gamedev.net":www.gamedev.net

  • Simple terrain — Is this doable?

    4
    0 Votes
    4 Posts
    3k Views
    A

    Perhaps "this":http://pc12-c714.uibk.ac.at/GPLIGC/GPLIGC.php can be a starting point?