Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. Konia the game
Qt 6.11 is out! See what's new in the release blog

Konia the game

Scheduled Pinned Locked Moved Showcase
7 Posts 4 Posters 3.7k 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.
  • J Offline
    J Offline
    john_god
    wrote on last edited by
    #1

    While trying to learn QML, I did a demo game. To me, the best way to learn is to get your hands dirty and start coding away. So far, I found QML w/javascript simpler than Qt c++, and very pleasant to work with, and optimized for touch plataforms.

    The demo game it's about a corporation called Konia, with a factory of mobile devices in a plataform in the middle of the ocean. One day, the fire starts inside, and the explosions make the phones fly away. Luckly a small boat passes by and starts catching the phones. Be aware that some W phones, that are defective, should not be caught by the boat. Only the robust and hansome M phones are to be caught by the boat :) LOL

    Here's a "video ":http://www.youtube.com/watch?v=fyV6M8qLLY4 and the "code ":https://github.com/joaodeus/konia

    Have fun :)

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

      Good job. :)

      Another exercise would be transferring core functionality to c++. I did that for my project a year ago, there is really a lot one can learn from that: how QML works, tons of small but important tricks for conserving memory, etc.

      (Z(:^

      1 Reply Last reply
      0
      • E Offline
        E Offline
        eMixam
        wrote on last edited by
        #3

        Sounds nice, I'm gonna take a peek at it.

        Thanks for the code !

        1 Reply Last reply
        0
        • E Offline
          E Offline
          eMixam
          wrote on last edited by
          #4

          Hey,

          Your code does not compile with me, seems like "jolla_scenario.png" and "level2_factory.png" ressources are missing.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            john_god
            wrote on last edited by
            #5

            Hi eMixan.
            I just fix it in github, should work now. Note that you'll have to compile against Qt4.8.x I still havent upgrade fot Qt5 for the sake of portability. I remove those files because I only have one level working, I got some ideias for other levels but still havent foung the time to develop them.

            Hi sierdzio.
            While designing the game, I checked this forum for help and ended up in some of your stuff in github. You have an interesting game. Mainly, I has looking for help on how to dinamically create QML objects, eventually I did a simple approach, with static objects. You are right, there is so much to learn, technics and tricks...

            All the best
            Joao

            1 Reply Last reply
            0
            • E Offline
              E Offline
              eMixam
              wrote on last edited by
              #6

              It works now with Qt4.8.4.

              Thanks.

              1 Reply Last reply
              0
              • DarthFutuzaD Offline
                DarthFutuzaD Offline
                DarthFutuza
                wrote on last edited by
                #7

                Needs some sharks to attack the boat and take a chunk out of your collected phones amount methinks.

                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