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. Card game interface and functionality
Forum Updated to NodeBB v4.3 + New Features

Card game interface and functionality

Scheduled Pinned Locked Moved Game Development
4 Posts 3 Posters 5.4k 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.
  • M Offline
    M Offline
    Marcius
    wrote on 12 Mar 2014, 04:00 last edited by
    #1

    Hi guys,

    I'll cut straight to the chase here. As you can probably guess, I'm creating a card game in C++. I'm quite new to the language, but it's going very good so far. I'm soon to start working on graphical side of the project, problem is - have absolutely no experience in this yet. I'd like to get some guidelines, a breakdown of the process that would point me to the right direction, because at the moment everything seems a bit foggy and overwhelming, simply because I don't know where to start.

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on 12 Mar 2014, 04:52 last edited by
      #2

      Hi Marcius.
      Welcome to DevNet.
      Well, if you need just a card game interface you can use QGraphicsView for that. For example check "Animated Tiles Example":http://qt-project.org/doc/qt-5/qtwidgets-animation-animatedtiles-example.html
      But for game developing on Qt, most people prefer "QML":http://qt-project.org/doc/qt-5/qml-advtutorial.html

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Marcius
        wrote on 12 Mar 2014, 20:13 last edited by
        #3

        Thanks.

        I've been googling around and came across qt creator, which seems like a good place to start getting to know qt. Stay tuned, I'm sure I'll run into something sooner or later

        1 Reply Last reply
        0
        • F Offline
          F Offline
          feldifux
          wrote on 21 Apr 2014, 20:36 last edited by
          #4

          Hi Marcius,
          how has your progress been so far, and did you decide for QML?
          I would highly recommend using QML for the UI of your game, as it is better suited for mobile and a more rapid development approach than C++.
          If you do not have any performance-sensitive code, I would even try using JavaScript/QML for the game logic as well.

          Our games for example are purely based on QML & JavaScript with some of the more performance-sensitive tasks like path finding written in C++. You can have a look at the source code of them here: http://v-play.net/doc/vplay-examples/

          Cheers,
          Chris

          Founder of Felgo SDK - http://felgo.com/qt

          Felgo simplifies

          • Mobile App Dev with Qt esp. iOS & Android
          • Game Development with Qt

          What others say

          Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

          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