Simple Qt/C++ games
-
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 -
Mario
World1-1
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 -
Retro Race Arcade
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 -
Star Pusher
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 -
Reversi
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 -
Worms
Source code: https://github.com/Przemekkkth/Worms_Qt-Cpp
Gameplay: https://youtu.be/2KyOsaSRRQk -
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): -
@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.
-
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.
-
@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 my browser. -
You should add the Flood Fill algorithm like in this tutorial in Unity: https://noobtuts.com/unity/2d-minesweeper-game
-
@8Observer8 . Thank you for suggestions. Maybe when I do new iteration with my games I add new features like: new algorithms, levels, graphics etc. Now I try to compile my all games using WebAssemby and fix all bugs which I'll see. Now new added game fifteenpuzzle: https://przemekkkth.github.io/fifteenpuzzle/index.html
-
@Bondrusiek said in Simple Qt/C++ games:
Now new added game fifteenpuzzle: https://przemekkkth.github.io/fifteenpuzzle/index.html
I didn't play this game before. I spent 20-30 minutes trying to solve this but later found it was not possible: https://en.wikipedia.org/wiki/15_puzzle
My result is the same:
-
@8Observer8 Ok thank you for info. I only randomize board and I don't check that solution is possible. Next iteration should solve that bug.
-
@8Observer8 Hi,
I compiled many games with WebAssembly and host it on my github profile. I have a problem with project Volleyball because that project uses Box2D library. I get this first error message from compilator: "wasm-ld: error: unknown file type: b2_circle_shape.cpp.o". I link library in pro fileINCLUDEPATH += $$PWD/include win32:CONFIG(release, debug|release): LIBS += -L$$PWD/libs/release/ -lbox2d else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/libs/debug/ -lbox2d else:unix: LIBS += -L$$PWD/libs/ -lbox2d INCLUDEPATH += $$PWD/libs DEPENDPATH += $$PWD/libs win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/libs/release/libbox2d.a else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/libs/debug/libbox2d.a else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/libs/release/box2d.lib else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/libs/debug/box2d.lib else:unix: PRE_TARGETDEPS += $$PWD/libs/libbox2d.a
In include folder I have header files and I edited one. Do you know how can solve that?