Simple Qt/C++ games
-
Asteroids
Source code: https://github.com/Przemekkkth/Asteroids_Qt-Cpp
Gameplay: https://youtu.be/AjwiXsv7i_s
Play online: https://przemekkkth.github.io/assets/games/asteroids/index.html -
Pong2D
Source code: https://github.com/Przemekkkth/Pong2D_Qt-Cpp
Gameplay: https://youtu.be/0Pt-XsYm9qI
Play online: https://przemekkkth.github.io/assets/games/pong2d/index.html -
Memory puzzle
Source code: https://github.com/Przemekkkth/MemoryPuzzle_Qt-Cpp
Gameplay: https://youtu.be/H4vZxkOIpcw
Play online: https://przemekkkth.github.io/memorypuzzle/assets/games/index.html -
Flappy Bird
Source code: https://github.com/Przemekkkth/FlappyBird_Qt-Cpp
Gameplay: https://youtu.be/od_x6_kC9o0
Play online: https://przemekkkth.github.io/assets/games/flappybird/index.html -
Simon Game
Source code: https://github.com/Przemekkkth/SimonGame_Qt-Cpp
Gameplay: https://youtu.be/dp_OKrs08wo -
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?
-
@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. -
Pacman
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 -
Space Invaders
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 -
Frogger:
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 -
Pentomino
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 -
Simpe Ray Casting
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 -
Maze Generator:
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 -
Game of life
Source code: https://github.com/Przemekkkth/GameOfLifeQt-Cpp
Video: https://youtu.be/pNBxWuhPUT0
See online: https://przemekkkth.github.io/assets/games/gameoflife/index.html -
Platform game
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 -
Perlin Noise
Source code: https://github.com/Przemekkkth/PerlinNoise_Qt-Cpp
See online: https://przemekkkth.github.io/assets/games/perlinnoise/index.html -
Splines 2D
Source code: https://github.com/Przemekkkth/Splines2D_Qt-Cpp
Gameplay: https://youtu.be/lYvxZVCNtgI -
This is awesome. Thanks for sharing
-
A * pathfinding algorithm
Source code: https://github.com/Przemekkkth/A-Star-Pathfinding_Qt-Cpp
See online: https://przemekkkth.github.io/assets/games/starpathfinding/index.html -
Shadow Casting 2D
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