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
Forum Updated to NodeBB v4.3 + New Features

Simple Qt/C++ games

Scheduled Pinned Locked Moved Unsolved Game Development
82 Posts 9 Posters 45.4k Views 7 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.
  • B Bondrusiek
    15 Jun 2022, 08:29

    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

    B Offline
    B Offline
    Bondrusiek
    wrote on 4 Sept 2022, 12:00 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

    B 1 Reply Last reply 9 Sept 2022, 18:57
    1
    • B Bondrusiek
      4 Sept 2022, 12:00

      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

      B Offline
      B Offline
      Bondrusiek
      wrote on 9 Sept 2022, 18:57 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

      B 1 Reply Last reply 11 Sept 2022, 14:12
      0
      • B Bondrusiek
        9 Sept 2022, 18:57

        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

        B Offline
        B Offline
        Bondrusiek
        wrote on 11 Sept 2022, 14:12 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

        B 1 Reply Last reply 17 Sept 2022, 16:42
        0
        • B Bondrusiek
          11 Sept 2022, 14:12

          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

          B Offline
          B Offline
          Bondrusiek
          wrote on 17 Sept 2022, 16:42 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

          B 1 Reply Last reply 12 Oct 2022, 18:03
          0
          • B Bondrusiek
            17 Sept 2022, 16:42

            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

            B Offline
            B Offline
            Bondrusiek
            wrote on 12 Oct 2022, 18:03 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

            B 1 Reply Last reply 19 Oct 2022, 11:20
            0
            • B Bondrusiek
              12 Oct 2022, 18:03

              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

              B Offline
              B Offline
              Bondrusiek
              wrote on 19 Oct 2022, 11:20 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

              B 1 Reply Last reply 27 Oct 2022, 06:17
              0
              • B Bondrusiek
                19 Oct 2022, 11:20

                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

                B Offline
                B Offline
                Bondrusiek
                wrote on 27 Oct 2022, 06:17 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 31 Oct 2022, 23:43 last edited by
                  #25

                  This is awesome. Thanks for sharing

                  1 Reply Last reply
                  1
                  • B Offline
                    B Offline
                    Bondrusiek
                    wrote on 3 Nov 2022, 10:46 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
                    • B Offline
                      B Offline
                      Bondrusiek
                      wrote on 11 Nov 2022, 10:55 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
                      • B Offline
                        B Offline
                        Bondrusiek
                        wrote on 30 Nov 2022, 13:44 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

                        B R 2 Replies Last reply 10 Dec 2022, 12:57
                        1
                        • B Bondrusiek
                          30 Nov 2022, 13:44

                          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

                          B Offline
                          B Offline
                          Bondrusiek
                          wrote on 10 Dec 2022, 12:57 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

                          B 1 Reply Last reply 12 Dec 2022, 12:56
                          1
                          • B Bondrusiek
                            10 Dec 2022, 12:57

                            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

                            B Offline
                            B Offline
                            Bondrusiek
                            wrote on 12 Dec 2022, 12:56 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

                            B 1 Reply Last reply 19 Dec 2022, 10:53
                            0
                            • B Bondrusiek
                              12 Dec 2022, 12:56

                              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

                              B Offline
                              B Offline
                              Bondrusiek
                              wrote on 19 Dec 2022, 10:53 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

                              B 1 Reply Last reply 30 Dec 2022, 10:29
                              0
                              • B Bondrusiek
                                19 Dec 2022, 10:53

                                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

                                B Offline
                                B Offline
                                Bondrusiek
                                wrote on 30 Dec 2022, 10:29 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 6 Jan 2023, 20:38 last edited by 8Observer8 1 Jun 2023, 20:53
                                  #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

                                  B 1 Reply Last reply 7 Jan 2023, 09:44
                                  1
                                  • 8Observer88 8Observer8
                                    6 Jan 2023, 20:38

                                    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

                                    B Offline
                                    B Offline
                                    Bondrusiek
                                    wrote on 7 Jan 2023, 09:44 last edited by
                                    #34

                                    @8Observer8 said in Simple Qt/C++ games:

                                    has this problem (the ball gets trapped - it bounces off the walls endlessly):

                                    Hey, thank you for questions. This project was created in Unity and project was one of first which I did. Probably I must change Ball's physics material 2d properties to solve that.
                                    alt text

                                    1 Reply Last reply
                                    1
                                    • 8Observer88 Offline
                                      8Observer88 Offline
                                      8Observer8
                                      wrote on 7 Jan 2023, 15:21 last edited by 8Observer8 1 Jul 2023, 15:22
                                      #35

                                      It would be nice if you could create an exact copy of this game but in Qt WebAssembly and Box2D to run it in the browser with a single click.

                                      B 2 Replies Last reply 7 Jan 2023, 17:06
                                      1
                                      • 8Observer88 8Observer8
                                        7 Jan 2023, 15:21

                                        It would be nice if you could create an exact copy of this game but in Qt WebAssembly and Box2D to run it in the browser with a single click.

                                        B Offline
                                        B Offline
                                        Bondrusiek
                                        wrote on 7 Jan 2023, 17:06 last edited by
                                        #36

                                        @8Observer8 said in Simple Qt/C++ games:

                                        Hi, I think about that but I have no experience with WebAssemby and Qt. I try WebAssmaby and compile to html/js but game work worse and keyPressEvent/Release doesn't work properly. I dont know why I must search solution. I've worked with Box2D but I have not intruduced it yet maybe later.
                                        Screenshot from 2023-01-07 17-59-16.png
                                        Screenshot from my browser.

                                        1 Reply Last reply
                                        1
                                        • 8Observer88 Offline
                                          8Observer88 Offline
                                          8Observer8
                                          wrote on 8 Jan 2023, 15:39 last edited by
                                          #37

                                          You should add the Flood Fill algorithm like in this tutorial in Unity: https://noobtuts.com/unity/2d-minesweeper-game

                                          uncover_mineless_elements.gif

                                          B 1 Reply Last reply 8 Jan 2023, 18:43
                                          1

                                          • Login

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