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. Drawing chess board and handling click event

Drawing chess board and handling click event

Scheduled Pinned Locked Moved Solved Game Development
9 Posts 4 Posters 9.3k Views 2 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.
  • W Offline
    W Offline
    wabisuke2718
    wrote on last edited by
    #1

    I want to draw chess board and handle click event in qt5.
    But I have no idea how to do.
    I'm very beginner of Qt5.
    Please give me outline.

    FlotisableF 1 Reply Last reply
    0
    • W wabisuke2718

      I want to draw chess board and handle click event in qt5.
      But I have no idea how to do.
      I'm very beginner of Qt5.
      Please give me outline.

      FlotisableF Offline
      FlotisableF Offline
      Flotisable
      wrote on last edited by
      #2

      @wabisuke2718
      I don't know exactly what you want, but maybe the links can be a start point.

      to draw chess board
      QLabel ( you can set an image on label ) or
      Graphics View Framework ( you can handle a lot of grahic items ) or
      paintEvent, QPainter ( if you want to draw something manually )

      to handle click event
      mousePressEevnt

      maybe others have some good suggestion

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wabisuke2718
        wrote on last edited by
        #3

        Thank you for answering.
        It seems to be OK.

        1 Reply Last reply
        0
        • GTDevG Offline
          GTDevG Offline
          GTDev
          wrote on last edited by
          #4

          If you're new to Qt and want to dig into game development, you can also have a look at V-Play Engine.

          V-Play offers many QML components that make creating games easier, e.g. for providing the same user experience across different devices, using sprite animations, handling physics / collision detection, adding leaderboards and much more.

          V-Play comes with many open-source game examples you can use as reference and also provides some good tutorials to quickly learn the basic concepts. For example there's a tutorial on how to create a 2048 game, which also uses a game-grid.

          Best,
          GT

          Senior Developer at Felgo - https://felgo.com/qt

          Develop mobile Apps for iOS & Android with Qt
          Felgo is an official Qt Technology Partner

          S 1 Reply Last reply
          0
          • W Offline
            W Offline
            wabisuke2718
            wrote on last edited by
            #5

            Thank you for advice.
            I'll search it.

            1 Reply Last reply
            0
            • GTDevG GTDev

              If you're new to Qt and want to dig into game development, you can also have a look at V-Play Engine.

              V-Play offers many QML components that make creating games easier, e.g. for providing the same user experience across different devices, using sprite animations, handling physics / collision detection, adding leaderboards and much more.

              V-Play comes with many open-source game examples you can use as reference and also provides some good tutorials to quickly learn the basic concepts. For example there's a tutorial on how to create a 2048 game, which also uses a game-grid.

              Best,
              GT

              S Offline
              S Offline
              solarspring
              wrote on last edited by
              #6

              @GTDev

              I want to download V-Play,but failed. It always showing "network error ..." as picture below...

              0_1494574084337_upload-fc2ea749-ff65-4fb6-8e3e-44d421015981

              is there something wrong with the network? Looking for help...thank you

              1 Reply Last reply
              0
              • GTDevG Offline
                GTDevG Offline
                GTDev
                wrote on last edited by
                #7

                @solarspring
                Does the installer download on the website itself not work, or are you having network troubles after starting the installation process with the downloaded installer?

                Senior Developer at Felgo - https://felgo.com/qt

                Develop mobile Apps for iOS & Android with Qt
                Felgo is an official Qt Technology Partner

                S 2 Replies Last reply
                0
                • GTDevG GTDev

                  @solarspring
                  Does the installer download on the website itself not work, or are you having network troubles after starting the installation process with the downloaded installer?

                  S Offline
                  S Offline
                  solarspring
                  wrote on last edited by
                  #8

                  @GTDev
                  Maybe...Actually,I want someone to try to download it to make sure the V-Play website downloading service is available.I will try it later...thank you!

                  1 Reply Last reply
                  0
                  • GTDevG GTDev

                    @solarspring
                    Does the installer download on the website itself not work, or are you having network troubles after starting the installation process with the downloaded installer?

                    S Offline
                    S Offline
                    solarspring
                    wrote on last edited by
                    #9

                    @GTDev
                    I can download it now! The problem has been solved! The download service is not available when I try to download it the first time...

                    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