Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Need advice about action RPG engine
Qt 6.11 is out! See what's new in the release blog

Need advice about action RPG engine

Scheduled Pinned Locked Moved Game Development
3 Posts 3 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kernco
    wrote on last edited by
    #1

    I'm planning to make an action RPG (think Diablo) type engine. In case you're unfamiliar, it has a top-down view, where the player is always in the center and can move around on a map in real-time. Is it possible and advisable to do this entirely with Qt Quick, or should I use a QGraphicsWidget for the main map display, and just use QML for the UI that goes on top of it?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      It's possible. Check out "V-Play":http://v-play.net/ engine, for example, or my "CCF":https://github.com/sierdzio/closecombatfree prototype.

      (Z(:^

      1 Reply Last reply
      0
      • U Offline
        U Offline
        utcenter
        wrote on last edited by
        #3

        It is certainly possible, however, I am not willing to bet QML will play nicely in a scenario involving high count game objects. And while I've seen a case of a significantly big QML project, it wasn't as big as an RPG game might go, and it wasn't performance critical as an RPG game would be. QML can easily be brought down to its knees, especially by extensive bindings.

        Typically, what you would want to do is have as much C++ game logic as possible, and only use QML to markup structure or to script. That doesn't apply to trivial games, which are the primary intended target for QML, where the level of complexity is very low compared to a typical RPG game.

        There are some ways to evade the overheads of QML, like making heavy use of lazy loading, make use of OpenGL geometry instancing, which I don't think is being used by the QML scenegraph, since it is unsupported in GLES2.

        For a more complex game, I'd rather use Unreal engine or Unity or some other more specialized and mature engine, providing a wide range of game related features, but if it is a more trivial and simple game, QML will probably do the trick, especially if you avoid QMLs pitfalls, something that is not hard to learn if you become friends with the QML profiler.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved