Skip to content

Game Development

What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
871 Topics 4.1k Posts
  • Collision Detection with SFML 2.0

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Multi Touch problem on Symbian^3

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Qt/3D OpenGl Simple Gooch Shader Example

    2
    0 Votes
    2 Posts
    6k Views
    G
    I've assumed your Qt/3D is in /opt/Qt-4.8.0/include/Qt3D in the .pro this must be changed to wherever your insall is.
  • Controlling sprite move

    3
    0 Votes
    3 Posts
    2k Views
    M
    Doing a sprite animation is simple, Create an array with the list of your pictures. You can have an timer which will advance this array. Go through the "Qt Flying Bus example":http://developer.qt.nokia.com/wiki/Flying_Bus_Game You can find the FrameSprite, which will give you the idea about how to achieve it.
  • Creating a platform game

    8
    0 Votes
    8 Posts
    5k Views
    T
    Thank you so much! Very much Appreciated..
  • Creating a 2D world in QT with bitmap

    6
    0 Votes
    6 Posts
    4k Views
    J
    That's because, you can't just create a "hole" in the image. But, you can write your own function, which will change any necessary pixel at that image to transparent.
  • Any way to create a GL debug context?

    3
    0 Votes
    3 Posts
    2k Views
    T
    No, I'm talking about GL_ARB_debug_output.
  • Odd OpenGL-related Errors attempting to run on phone

    8
    0 Votes
    8 Posts
    4k Views
    M
    The good news is that once you familiarize yourself with the programmable pipeline you'll never look back!
  • Opengl texture coordinate problem

    4
    0 Votes
    4 Posts
    4k Views
    M
    You still get to use glDrawArrays ;) What you lose is the matrix stack and the fixed rendering functionality (meaning you have to implement shaders yourself). What you win is a ton more control to what you're doing, which I personally like immensely. See here for example about the changes: http://www.jeffwofford.com/?p=698
  • Qt Simulator to Symbian Device Porting Problems

    3
    0 Votes
    3 Posts
    2k Views
    R
    I've somehow gotten it to work by creating an entirely new project with just a symbian target and copying all my stuff over (unchanged). Is there a known issue regarding projects with both the qt simulator target and the symbian device target?
  • Rendering text over OpenGL ES 2.0 surface (QGLWidget)?

    10
    0 Votes
    10 Posts
    10k Views
    R
    [quote author="Reptile" date="1324699470"]Hey, I'm without my N8 for a week or so, but I've just finished writing openGL code for a game in the simulator, including using QGLWidget::renderText() for text rendering. But I read that it's not supported by OpenGL ES? Does that mean it won't show up on the phone or will cause other problems? Does anyone know if renderText() will/won't work?[/quote] FYI: don't use QGLWidget::renderText(). you'll get this message: [Qt Message] QGLWidget::renderText is not supported under OpenGL/ES
  • Where is PeekMessage Func in Qt SDK?

    9
    0 Votes
    9 Posts
    6k Views
    A
    why do you trigger a repaint in the repaint? >> without QTimer::singleShot(0, this, SLOT(updateGL())) paintGL() Func is not repaint in this case @void Display::paintGL() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glClearColor(0.0, 0.0, 0.0, 1.0); glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); static int Angle = 0; ++Angle; glPushMatrix(); glRotatef(Angle, 0.0f, 0.0f, 1.0f); glBegin(GL_QUADS); glVertex3f(-0.5, 0.0, -0.5); glVertex3f( 0.5, 0.0, -0.5); glVertex3f( 0.5, 0.0, 0.5); glVertex3f(-0.5, 0.0, 0.5); glEnd(); glPopMatrix(); }@ where exactly does it crash? >> it is not crash all the time and it's crash point is not same all the time and this crash is fixed QTimer::singleShot Func's msec value change (0 -> 10) By the way, a side not to your first post>> I'm sorry. and thank you for your Advice Gerolf :) and thank you all. dude!
  • Help with the incoming calls

    2
    0 Votes
    2 Posts
    2k Views
    R
    I think the best way to do it will be, pause the game when it loses focus or when the application being sent to the background. And the application logic is in JavaScript.
  • Need help; QPushButton to control OpenGL

    9
    0 Votes
    9 Posts
    4k Views
    D
    I found the problem, I'm using a single buffer, not double buffer. I commented glutSwapBuffers() out and it works fine.
  • Problem with launching an executable & ATI

    3
    0 Votes
    3 Posts
    2k Views
    D
    We found the problem, it come from an ATI dll.
  • X

    3
    0 Votes
    3 Posts
    2k Views
    EddyE
    I moved your question to the gaming subforum where the gaming developers reside most.
  • How to parametrize Phonon::Effects

    3
    0 Votes
    3 Posts
    4k Views
    F
    Here i found a working demo: QtSDK/Demos/4.7/qmediaplayer
  • For Beginners Qt

    17
    0 Votes
    17 Posts
    8k Views
    sierdzioS
    Yeah, I did suspect that was the case, no problem there, it just seemed a bit awkward to me to be addressed that way ;) Cheers and good luck!
  • Experiences using Physics Engines with Qt 3D programs?

    10
    0 Votes
    10 Posts
    8k Views
    M
    i got bullet physics working nicely with my opengl app, see the link in my sig for a demo on n9/meego harmattan.
  • QPushButton board

    6
    0 Votes
    6 Posts
    3k Views
    R
    ok thanks i will implement their ideas to see what I find not a calendar btw ^^ really thanks greetings