Skip to content

Game Development

What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
875 Topics 4.1k Posts
  • Qt3D C++ Collision detection

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    _
    Hej A.K.G. I'm only found in the documentation that is possible with extensions. My idea to solve your problem is: Integrate a physic engine like Bullet (http://bulletphysics.org/wordpress/) and you find out all collision detection and physics. Qt 3D as 3D drawing engine, and Bullet (or other software) for physic & collision representation. Regards, Jakob
  • SDL events getting delayed

    Unsolved sdl2
    1
    0 Votes
    1 Posts
    683 Views
    No one has replied
  • 3D Collision detection

    Unsolved
    2
    0 Votes
    2 Posts
    938 Views
    SGaistS
    Hi, That's a question better asked on the interest mailing list. You'll find there Qt3D's developers/maintainers. This forum is more user oriented.
  • Scarping a HTML Table in a Frame with Qt

    Unsolved
    1
    0 Votes
    1 Posts
    424 Views
    No one has replied
  • Scrabble

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    Take a look at the Graphics View examples. Several of your questions are already answered there.
  • Retrieve elided text?

    Unsolved
    2
    0 Votes
    2 Posts
    856 Views
    SGaistS
    Hi, AFAIK, no. You’d likely have to go through calculating the size of the needed rectangle using QFontMetrics. If your text is so long and you need to know what wasn’t shown, why not use a QTextEdit ? It could be read-only.
  • QGamepad problem

    Solved
    17
    0 Votes
    17 Posts
    5k Views
    S
    I'm having the same problem with the simple gamepad example. What fixed the problem for you? Thanks
  • QGamePad - Does not detect disconnection - Linux

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    aha_1980A
    @Caipiblack I don't see a signal deviceRemoved() in QtGamePad. The nearest one is connectedChanged(bool) but that looks indeed like a possible signal in this situation. Have you already tried to patch the code yourself? Due to the lack of a gamepad, I cannot test this myself. Regards Edit: Ah, there is a deviceRemoved() signal in QEvdevGamepadBackend which is used within the backend only for housekeeping. What stays, the signal you need outside is connectChanged(bool).
  • Qt3D AssimpImporter not found

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    N
    @Nonlinearsound After reading through the release statements and changes it seems that the AC3D format has been supported right from the start of the AssImp project so it seems that any version will do fine.
  • how to use QGamepadManager::configureButton

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    S
    @raven-worx Works! Thanks!
  • QOpenGLWidget content stretching on resize

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    johngodJ
    Probably is just something that is messed up with with your multiplcation or division on the aspect ratio. I'm just too lazy right now to think about it properly, so I just goint to copy paste one example of my that I know it works, so can try to adapt your code. if (width() <= height()) projection.ortho(-(Range),Range,-Range*h/w,Range*h/w,-(Range*2),Range*2); else projection.ortho(-(Range*w/h),Range*w/h,-Range,Range,-(Range*2),Range*2);
  • Physics Raycasting?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    W
    Qt 5.11 adds a general purpose raycasting feature http://doc-snapshots.qt.io/qt5-5.11/qt3drender-qraycaster.html It's not particularly well documented yet. Details like that are still in the process of being cleaned up as Qt3D matures.
  • This topic is deleted!

    Unsolved
    1
    5 Votes
    1 Posts
    648 Views
    No one has replied
  • Recording audio works on windows but not on android

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    operamintO
    Figured it out. Make pop up request for write permission if it doesn't have it in Qt 5.10: # .pro file android { QT += androidextras } #include <QtAndroidExtras/QtAndroid> ... QtAndroid::requestPermissionsSync( QStringList() << "android.permission.WRITE_EXTERNAL_STORAGE" );
  • Audio QML : play() method stop music played by Spotify-like app

    Unsolved
    1
    0 Votes
    1 Posts
    587 Views
    No one has replied
  • textureCube returns black pixels on ATI e4690

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    B
    Ok, thanks for the tip.
  • QOpenGLContext memory leak

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    Thanks for the feedback !
  • Qt3D: capturing FBO content from an offscreen surface

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    H
    I'm not sure why your example didn't work, because your graph looks exactly like mine. Anyway, in case someone is interested in a working example (like I desperately was), here's one on GitHub.
  • SceneLoader does not load any scene also from embeded in Qt examples

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, You should add which version of Qt you are using as well as the Android version and hardware.
  • Displaying objects in multiple QOpenGLViews

    Unsolved
    1
    0 Votes
    1 Posts
    522 Views
    No one has replied