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. Simple Qt/C++ games

Simple Qt/C++ games

Scheduled Pinned Locked Moved Unsolved Game Development
80 Posts 8 Posters 40.4k Views
  • 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.
  • D DaShubWubDub

    I know exactly how hard the game industry is, these are all great. I think it is neat that they use QPainter. Have you thought of using QOpenGL so it uses graphics cards natively?

    BondrusiekB Offline
    BondrusiekB Offline
    Bondrusiek
    wrote on last edited by
    #14

    @DaShubWubDub
    Hi,
    I use Graphics View Framework (https://doc.qt.io/qt-5/graphicsview.html) not direct QPainter's functions.
    Have you thought of using QOpenGL so it uses graphics cards natively?
    Yes ;D. I think use OpenGL, QML or Felgo(https://felgo.com/) in next projects. Maybe I publish it here.

    1 Reply Last reply
    1
    • BondrusiekB Offline
      BondrusiekB Offline
      Bondrusiek
      wrote on last edited by Bondrusiek
      #15

      Pacman
      alt text

      Source code: https://github.com/Przemekkkth/Pacman_Qt-Cpp
      Gameplay: https://youtu.be/RPBUjl7jOVo
      Play online: https://przemekkkth.github.io/assets/games/pacman/index.html

      1 Reply Last reply
      3
      • BondrusiekB Bondrusiek

        Simple Qt/C++ games

        See my github page: https://przemekkkth.github.io/ to see all my Qt projects.

        hi I wrote a few simple games in Qt. List of them:

        • Tetris

        game_scene2.png

        Source Code: https://github.com/Przemekkkth/Tetris_Qt-Cpp

        Gameplay: https://youtu.be/CyErbZoVSvc

        Play online: https://przemekkkth.github.io/assets/games/tetris/index.html

        • Jun Jump - clone of Doodle Jump

        screen.png

        Source Code: https://github.com/Przemekkkth/JanJump_Qt-Cpp

        Gameplay: https://youtube.com/shorts/3g40t0K3p68

        Play online: https://przemekkkth.github.io/assets/games/janjump/index.html

        • Arkanoid

        arkanoid0.png

        Source Code: https://github.com/Przemekkkth/Arkanoid_Qt-Cpp

        Gameplay: https://youtu.be/8ak5AxXh-3U

        Play online: https://przemekkkth.github.io/assets/games/arkanoid/index.html

        • Snake

        snake0.png

        Source Code: https://github.com/Przemekkkth/Snake_Qt-Cpp

        Gameplay: https://youtu.be/QxxzeqEapiU

        Play online: https://przemekkkth.github.io/assets/games/snake/index.html

        • Minesweeper

        screen.png

        Source Code: https://github.com/Przemekkkth/Minesweeper_Qt-Cpp

        Gameplay: https://youtu.be/B8lmjbBFSVU

        Play online: https://przemekkkth.github.io/assets/games/minesweeper/index.html

        • Fifteen Puzzle

        screen2.png

        Source Code: https://github.com/Przemekkkth/FifteenPuzzle_Qt-Cpp

        Gameplay: https://youtu.be/EBays-axBgk

        Play online: https://przemekkkth.github.io/assets/games/fifteenpuzzle/index.html

        If you have comments or questions, write

        to be continued...

        stay tuned

        BondrusiekB Offline
        BondrusiekB Offline
        Bondrusiek
        wrote on last edited by Bondrusiek
        #16

        Space Invaders
        alt text
        Source code: https://github.com/Przemekkkth/SpaceInvanders_Qt-Cpp
        Gameplay: https://youtu.be/Ax7pYgQ_94g
        Play online: https://przemekkkth.github.io/assets/games/spaceinvaders/index.html

        1 Reply Last reply
        1
        • BondrusiekB Offline
          BondrusiekB Offline
          Bondrusiek
          wrote on last edited by Bondrusiek
          #17

          Frogger:
          alt text
          Source code: https://github.com/Przemekkkth/Frogger_Qt-Cpp
          Gameplay: https://youtu.be/PUZY0EbKDO4
          Play online: https://przemekkkth.github.io/assets/games/frogger/index.html

          1 Reply Last reply
          0
          • BondrusiekB Bondrusiek

            Simple Qt/C++ games

            See my github page: https://przemekkkth.github.io/ to see all my Qt projects.

            hi I wrote a few simple games in Qt. List of them:

            • Tetris

            game_scene2.png

            Source Code: https://github.com/Przemekkkth/Tetris_Qt-Cpp

            Gameplay: https://youtu.be/CyErbZoVSvc

            Play online: https://przemekkkth.github.io/assets/games/tetris/index.html

            • Jun Jump - clone of Doodle Jump

            screen.png

            Source Code: https://github.com/Przemekkkth/JanJump_Qt-Cpp

            Gameplay: https://youtube.com/shorts/3g40t0K3p68

            Play online: https://przemekkkth.github.io/assets/games/janjump/index.html

            • Arkanoid

            arkanoid0.png

            Source Code: https://github.com/Przemekkkth/Arkanoid_Qt-Cpp

            Gameplay: https://youtu.be/8ak5AxXh-3U

            Play online: https://przemekkkth.github.io/assets/games/arkanoid/index.html

            • Snake

            snake0.png

            Source Code: https://github.com/Przemekkkth/Snake_Qt-Cpp

            Gameplay: https://youtu.be/QxxzeqEapiU

            Play online: https://przemekkkth.github.io/assets/games/snake/index.html

            • Minesweeper

            screen.png

            Source Code: https://github.com/Przemekkkth/Minesweeper_Qt-Cpp

            Gameplay: https://youtu.be/B8lmjbBFSVU

            Play online: https://przemekkkth.github.io/assets/games/minesweeper/index.html

            • Fifteen Puzzle

            screen2.png

            Source Code: https://github.com/Przemekkkth/FifteenPuzzle_Qt-Cpp

            Gameplay: https://youtu.be/EBays-axBgk

            Play online: https://przemekkkth.github.io/assets/games/fifteenpuzzle/index.html

            If you have comments or questions, write

            to be continued...

            stay tuned

            BondrusiekB Offline
            BondrusiekB Offline
            Bondrusiek
            wrote on last edited by Bondrusiek
            #18

            Pentomino
            alt text
            Source code: https://github.com/Przemekkkth/Pentomino_Qt-Cpp
            Gameplay: https://youtu.be/fVtmckgR38g
            Play online: https://przemekkkth.github.io/pentomino/assets/games/index.html

            BondrusiekB 1 Reply Last reply
            1
            • BondrusiekB Bondrusiek

              Pentomino
              alt text
              Source code: https://github.com/Przemekkkth/Pentomino_Qt-Cpp
              Gameplay: https://youtu.be/fVtmckgR38g
              Play online: https://przemekkkth.github.io/pentomino/assets/games/index.html

              BondrusiekB Offline
              BondrusiekB Offline
              Bondrusiek
              wrote on last edited by Bondrusiek
              #19

              Simpe Ray Casting
              alt text
              Source code: https://github.com/Przemekkkth/Simpe_Ray_Casting_Qt_Cpp
              Gameplay: https://youtube.com/shorts/FVJi0CKgppI
              Play online: https://przemekkkth.github.io/assets/games/raycasting/index.html

              BondrusiekB 1 Reply Last reply
              0
              • BondrusiekB Bondrusiek

                Simpe Ray Casting
                alt text
                Source code: https://github.com/Przemekkkth/Simpe_Ray_Casting_Qt_Cpp
                Gameplay: https://youtube.com/shorts/FVJi0CKgppI
                Play online: https://przemekkkth.github.io/assets/games/raycasting/index.html

                BondrusiekB Offline
                BondrusiekB Offline
                Bondrusiek
                wrote on last edited by Bondrusiek
                #20

                Maze Generator:
                alt text
                Source code: https://github.com/Przemekkkth/MazeGenerator_Qt-Cpp
                Gameplay: https://youtu.be/L7k7QzKe0Mc
                Play online: https://przemekkkth.github.io/assets/games/maze/index.html

                BondrusiekB 1 Reply Last reply
                0
                • BondrusiekB Bondrusiek

                  Maze Generator:
                  alt text
                  Source code: https://github.com/Przemekkkth/MazeGenerator_Qt-Cpp
                  Gameplay: https://youtu.be/L7k7QzKe0Mc
                  Play online: https://przemekkkth.github.io/assets/games/maze/index.html

                  BondrusiekB Offline
                  BondrusiekB Offline
                  Bondrusiek
                  wrote on last edited by Bondrusiek
                  #21

                  Game of life
                  alt text
                  Source code: https://github.com/Przemekkkth/GameOfLifeQt-Cpp
                  Video: https://youtu.be/pNBxWuhPUT0
                  See online: https://przemekkkth.github.io/assets/games/gameoflife/index.html

                  BondrusiekB 1 Reply Last reply
                  0
                  • BondrusiekB Bondrusiek

                    Game of life
                    alt text
                    Source code: https://github.com/Przemekkkth/GameOfLifeQt-Cpp
                    Video: https://youtu.be/pNBxWuhPUT0
                    See online: https://przemekkkth.github.io/assets/games/gameoflife/index.html

                    BondrusiekB Offline
                    BondrusiekB Offline
                    Bondrusiek
                    wrote on last edited by Bondrusiek
                    #22

                    Platform game
                    alt text
                    Source code: https://github.com/Przemekkkth/PlatformGame_Qt-Cpp
                    Gameplay: https://youtu.be/6Kq-WN513BA
                    Play online: https://przemekkkth.github.io/assets/games/platformgame/index.html

                    BondrusiekB 1 Reply Last reply
                    0
                    • BondrusiekB Bondrusiek

                      Platform game
                      alt text
                      Source code: https://github.com/Przemekkkth/PlatformGame_Qt-Cpp
                      Gameplay: https://youtu.be/6Kq-WN513BA
                      Play online: https://przemekkkth.github.io/assets/games/platformgame/index.html

                      BondrusiekB Offline
                      BondrusiekB Offline
                      Bondrusiek
                      wrote on last edited by Bondrusiek
                      #23

                      Perlin Noise
                      alt text
                      alt text
                      alt text
                      Source code: https://github.com/Przemekkkth/PerlinNoise_Qt-Cpp
                      See online: https://przemekkkth.github.io/assets/games/perlinnoise/index.html

                      BondrusiekB 1 Reply Last reply
                      0
                      • BondrusiekB Bondrusiek

                        Perlin Noise
                        alt text
                        alt text
                        alt text
                        Source code: https://github.com/Przemekkkth/PerlinNoise_Qt-Cpp
                        See online: https://przemekkkth.github.io/assets/games/perlinnoise/index.html

                        BondrusiekB Offline
                        BondrusiekB Offline
                        Bondrusiek
                        wrote on last edited by Bondrusiek
                        #24

                        Splines 2D
                        alt text
                        alt text

                        Source code: https://github.com/Przemekkkth/Splines2D_Qt-Cpp
                        Gameplay: https://youtu.be/lYvxZVCNtgI

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          Creaperdown
                          wrote on last edited by
                          #25

                          This is awesome. Thanks for sharing

                          1 Reply Last reply
                          1
                          • BondrusiekB Offline
                            BondrusiekB Offline
                            Bondrusiek
                            wrote on last edited by Bondrusiek
                            #26

                            A * pathfinding algorithm
                            Image
                            Source code: https://github.com/Przemekkkth/A-Star-Pathfinding_Qt-Cpp
                            See online: https://przemekkkth.github.io/assets/games/starpathfinding/index.html

                            1 Reply Last reply
                            0
                            • BondrusiekB Offline
                              BondrusiekB Offline
                              Bondrusiek
                              wrote on last edited by Bondrusiek
                              #27

                              Shadow Casting 2D
                              alt text
                              Source code: https://github.com/Przemekkkth/ShadowCasting2D_Qt-Cpp
                              Gameplay: https://youtu.be/1_lNAxxU3U8
                              See online: https://przemekkkth.github.io/assets/games/shadowcasting2d/index.html

                              1 Reply Last reply
                              0
                              • BondrusiekB Offline
                                BondrusiekB Offline
                                Bondrusiek
                                wrote on last edited by Bondrusiek
                                #28

                                Mario
                                World1-1
                                alt text
                                Source code: https://github.com/Przemekkkth/Mario_Qt-Cpp
                                Gameplay: https://youtu.be/dTcI_2RDFL4
                                Play online: https://przemekkkth.github.io/assets/games/marioqt/index.html

                                BondrusiekB R 2 Replies Last reply
                                1
                                • BondrusiekB Bondrusiek

                                  Mario
                                  World1-1
                                  alt text
                                  Source code: https://github.com/Przemekkkth/Mario_Qt-Cpp
                                  Gameplay: https://youtu.be/dTcI_2RDFL4
                                  Play online: https://przemekkkth.github.io/assets/games/marioqt/index.html

                                  BondrusiekB Offline
                                  BondrusiekB Offline
                                  Bondrusiek
                                  wrote on last edited by Bondrusiek
                                  #29

                                  Retro Race Arcade
                                  alt text
                                  Source code: https://github.com/Przemekkkth/RetroRaceArcade_Qt-Cpp
                                  Gameplay: https://youtu.be/2HYlmMHNWxU
                                  Play online: https://przemekkkth.github.io/assets/games/retroarcade/index.html

                                  BondrusiekB 1 Reply Last reply
                                  1
                                  • BondrusiekB Bondrusiek

                                    Retro Race Arcade
                                    alt text
                                    Source code: https://github.com/Przemekkkth/RetroRaceArcade_Qt-Cpp
                                    Gameplay: https://youtu.be/2HYlmMHNWxU
                                    Play online: https://przemekkkth.github.io/assets/games/retroarcade/index.html

                                    BondrusiekB Offline
                                    BondrusiekB Offline
                                    Bondrusiek
                                    wrote on last edited by Bondrusiek
                                    #30

                                    Star Pusher
                                    alt text
                                    Source code: https://github.com/Przemekkkth/StarPusher_Qt-Cpp
                                    Gameplay: https://youtu.be/UUBLR5Zy27E
                                    Play online: https://przemekkkth.github.io/assets/games/starpusher/index.html

                                    BondrusiekB 1 Reply Last reply
                                    0
                                    • BondrusiekB Bondrusiek

                                      Star Pusher
                                      alt text
                                      Source code: https://github.com/Przemekkkth/StarPusher_Qt-Cpp
                                      Gameplay: https://youtu.be/UUBLR5Zy27E
                                      Play online: https://przemekkkth.github.io/assets/games/starpusher/index.html

                                      BondrusiekB Offline
                                      BondrusiekB Offline
                                      Bondrusiek
                                      wrote on last edited by Bondrusiek
                                      #31

                                      Reversi
                                      alt text
                                      Gameplay: https://youtu.be/HDi6iOZ9emo
                                      Source code: https://github.com/Przemekkkth/Reversi_Qt-Cpp
                                      Play online: https://przemekkkth.github.io/assets/games/reversi/index.html

                                      BondrusiekB 1 Reply Last reply
                                      0
                                      • BondrusiekB Bondrusiek

                                        Reversi
                                        alt text
                                        Gameplay: https://youtu.be/HDi6iOZ9emo
                                        Source code: https://github.com/Przemekkkth/Reversi_Qt-Cpp
                                        Play online: https://przemekkkth.github.io/assets/games/reversi/index.html

                                        BondrusiekB Offline
                                        BondrusiekB Offline
                                        Bondrusiek
                                        wrote on last edited by
                                        #32

                                        Worms
                                        alt text
                                        Source code: https://github.com/Przemekkkth/Worms_Qt-Cpp
                                        Gameplay: https://youtu.be/2KyOsaSRRQk

                                        1 Reply Last reply
                                        0
                                        • 8Observer88 Offline
                                          8Observer88 Offline
                                          8Observer8
                                          wrote on last edited by 8Observer8
                                          #33

                                          Your game: https://sharemygame.com/@Bondrusiek/flatblockbreaker
                                          (source code: https://github.com/Przemekkkth/Flat-Block-Breaker)
                                          has this problem (the ball gets trapped - it bounces off the walls endlessly):

                                          infinite.gif

                                          BondrusiekB 1 Reply Last reply
                                          1

                                          • Login

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