Skip to content

Game Development

What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
869 Topics 4.1k Posts
  • Some objects do not appear.

    3
    0 Votes
    3 Posts
    2k Views
    T
    I uploaded a video which helps me to explain my issue. https://rapidshare.com/files/323910714/model.rar I am using the same code in the penguin example just changed the 3ds file name.
  • Bomberman - QTimer, QTimerEvent, Signals and Slots connection problems

    22
    0 Votes
    22 Posts
    13k Views
    J
    After all I solved the problems myself, with help and useful advices of koahnig (really thanks for that!)... I left the interesting fragments (with the problems) and posted the solutions, so if anyone meets up with the same problem he'd probably read what he need, learn and correct. What's the point of posting here the whole source of the game? If u want to play it then I can upload the Release...
  • 0 Votes
    6 Posts
    4k Views
    A
    Thank you all, depends.exe is awesome tool :) As I said before we did it :) I will make sure to share a link here to a website after the game is finished :)
  • 0 Votes
    4 Posts
    5k Views
    Z
    Looks nice. The Butcher reminds of the first boss from Diablo I.
  • Beginning in Qt with OpenGL

    27
    0 Votes
    27 Posts
    16k Views
    Z
    First strait OpenGL isn't trivial and isn't for most people, just knowing how to program in C/C++ and the OpenGL api isn't enough you need a background in advanced mathematics. Also if your doing things in the wrong order or if your not in the right mode at the correct time you will end up with a different result than what you expected. When programming in OpenGL you have to think of it in a procedural mind set. Post a link to your complete source code if you want help.
  • Database needed for game?

    4
    0 Votes
    4 Posts
    2k Views
    A
    [quote author="Smar" date="1307540577"]And please create different thread for such questions... Someone could split this one off?[/quote] As you wish. This topic has been split off from "Welcome":http://developer.qt.nokia.com/forums/viewthread/86/
  • QGLFramebufferObject with 3D texture

    3
    0 Votes
    3 Posts
    3k Views
    R
    Anyone knows if its possible to use 32 bit precision floating point textures with a 3D texture?
  • 0 Votes
    8 Posts
    5k Views
    C
    Try latest one: http://doc.qt.nokia.com/qt-quick3d-snapshot/index.html
  • Looking for simple 3d games made with Qt that are open sourced

    8
    0 Votes
    8 Posts
    7k Views
    R
    There are some small examples in projects.forum.nokia.com: http://bit.ly/lJLuOg Take a look at Qt GameEnabler http://projects.forum.nokia.com/qtgameenabler
  • New in Qt game development...

    6
    0 Votes
    6 Posts
    3k Views
    D
    Corrected it... I've just re-created the project with only one simulator selected....
  • QTableWidget vs QTableView for game boards? Or something else?

    5
    0 Votes
    5 Posts
    6k Views
    I
    you could try using labels (With icons) and a Grid layout, maybe an array of labels that represents each square and another array with icons that represent the player, you cant try that way..
  • [Moved] Duck hunt game

    15
    0 Votes
    15 Posts
    6k Views
    R
    QGraphicsView is something I would use for creating such game. You can reimplement QGraphicsItem, so you get a DuckItem, where you can implement all the logic for moving a duck. You will get QMouseEvents directly to your item, so killing a duck is just a proper handling of events sent to your class.
  • My first QML game app

    8
    0 Votes
    8 Posts
    5k Views
    R
    The transition and special effects is what is special in QML. May be you need to use it .
  • QT Animation

    7
    0 Votes
    7 Posts
    4k Views
    R
    Why would you want to do that? What platform are you targeting ? You can of course use any drawing tools to create pictures and save upload it. Remember qrc (mobile) is for small files. [quote author="BrEaDFace" date="1303459182"]Is there any other way than drawing alot of pics as .png format and uploading with resource file?[/quote]
  • [Solved] D3D output in a Qt widget?

    8
    0 Votes
    8 Posts
    13k Views
    B
    Hey gpgpu, Thanks for your prompt reply. But I am actually looking for something different and I figured it out. @ -> Create a QWidget -> Override paintEngine() method, does nothing, just returns NULL -> Assign HWND to widget->winId() #ifdef USE_QTGUI QApplication a(argc, argv); CD3DWidget wndw; wndw.show(); wndw.resize(1280,960); hWnd = wndw.winId(); #else hWnd = CreateAppWindow(name,300,300); #endif //CD3DWidget class contains only the following definitions CD3DWidget::CD3DWidget(QWidget * parent):QWidget(parent){ } QPaintEngine *CD3DWidget::paintEngine (){ return NULL; } @ I also posted here http://stackoverflow.com/questions/1641286/using-qt-with-directx/5595356#5595356
  • A few questions about Game Development

    3
    0 Votes
    3 Posts
    3k Views
    M
    Yes they can. MeeGo is closely integrated with Qt and therefore with QML, and it's the official platform. If you create apps using Qt/QML you can also reach other mobile platforms. There will be phones later this year. You can also run them on Symbian ^3, and Maemo. As for is it the best for games. Probably not. There are other specialized libraries for games, which are better, but with Qt/QML you can reach the biggest audience, because it runs on so many platforms. As I heard there are unofficial ports of Qt to android, iPhone, WebOS and many more. Not long ago I started working on a QML game "Sink Submarines":https://projects.forum.nokia.com/sinksubmarines for the "MeeGo Coding Competition 2011":http://talk.maemo.org/showthread.php?t=71561 You could join us. :)
  • Path Finding

    2
    0 Votes
    2 Posts
    3k Views
    L
    Hi, In my opinion it is always easier to explain such kind of algorithm with a block diagram (espesially if it is executed by a single thread) :) You can also get inspiration for optimal solution from existing solutions for path finding algorithms such as the different implementations of the traveling salesman problem ;) Best regards, Leon
  • how to run fortune server/client on two different IPs

    8
    0 Votes
    8 Posts
    5k Views
    V
    change one string in only the client or server side and see what happens edit: http://doc.qt.nokia.com/4.7/qsettings.html. Its all in here
  • Qv(Puzzle game) demo with Pure QML

    3
    0 Votes
    3 Posts
    4k Views
    K
    Upload source code to "github":https://github.com/khris/qv .
  • Any chance to get Qt working in a Direct3D 8 fullscreen application?

    2
    0 Votes
    2 Posts
    3k Views
    S
    Does it have to be Direct3D? If you use OpenGL then your game or whatever can run on other platforms apart from Windows. Also if you're interested in using OpenGL then you can use "Qt3D":http://doc.qt.nokia.com/qt3d-snapshot/. Full screen is no problem, and you have vertex and fragment (ie "pixel") shaders as in d3d8.