Simple Qt/C++ games
-
wrote on 8 Jan 2023, 15:39 last edited by
You should add the Flood Fill algorithm like in this tutorial in Unity: https://noobtuts.com/unity/2d-minesweeper-game
-
You should add the Flood Fill algorithm like in this tutorial in Unity: https://noobtuts.com/unity/2d-minesweeper-game
wrote on 8 Jan 2023, 18:43 last edited by@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
-
wrote on 8 Jan 2023, 19:24 last edited by 8Observer8 1 Aug 2023, 19:25
@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:
-
@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:
wrote on 8 Jan 2023, 19:27 last edited by@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.
-
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.
wrote on 11 Jan 2023, 09:13 last edited by@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?
-
@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?
wrote on 11 Jan 2023, 13:08 last edited by@Bondrusiek try including Box2D in your project using Box2D source code directly.
-
@Bondrusiek try including Box2D in your project using Box2D source code directly.
wrote on 22 Jan 2023, 08:32 last edited by@8Observer8 I'vs complied Box2D from source and It works ;)
Online: https://przemekkkth.github.io/volleyball/index.html
Source code(branch webassembly): https://github.com/Przemekkkth/Volleyball_Qt-Cpp
Thanks for suggestion. -
@8Observer8 I'vs complied Box2D from source and It works ;)
Online: https://przemekkkth.github.io/volleyball/index.html
Source code(branch webassembly): https://github.com/Przemekkkth/Volleyball_Qt-Cpp
Thanks for suggestion.wrote on 5 Feb 2023, 09:26 last edited by Bondrusiek 2 May 2023, 09:283D Simple Object Engine Qt/C++
App loads obj file and simulates 3D camera.
Source code: https://github.com/Przemekkkth/3DSimpleObjectEngine_Qt-Cpp -
3D Simple Object Engine Qt/C++
App loads obj file and simulates 3D camera.
Source code: https://github.com/Przemekkkth/3DSimpleObjectEngine_Qt-Cppwrote on 22 Feb 2023, 18:23 last edited by Bondrusiek@Bondrusiek
Polyomino
Source code:
https://github.com/Przemekkkth/Polyomino_Qt-Cpp
Play online: https://przemekkkth.github.io/assets/games/polyomino/
Gameplay: https://youtu.be/5MFxjR8c9yU -
@Bondrusiek
Polyomino
Source code:
https://github.com/Przemekkkth/Polyomino_Qt-Cpp
Play online: https://przemekkkth.github.io/assets/games/polyomino/
Gameplay: https://youtu.be/5MFxjR8c9yUwrote on 11 Mar 2023, 16:58 last edited by BondrusiekTwiniGolf
Source code: https://przemekkkth.github.io/twinigolf/index.html
Play online: https://przemekkkth.github.io/assets/games/twinigolf/index.html
Gameplay: https://youtu.be/PZIHDSWqmo8 -
TwiniGolf
Source code: https://przemekkkth.github.io/twinigolf/index.html
Play online: https://przemekkkth.github.io/assets/games/twinigolf/index.html
Gameplay: https://youtu.be/PZIHDSWqmo8wrote on 4 Apr 2023, 08:21 last edited by Bondrusiek 5 Aug 2023, 08:08 -
LookAtCursor
Source code: https://github.com/Przemekkkth/LookAtCursor_Qt-Cpp
See online: https://przemekkkth.github.io/assets/games/lookatcursor/index.htmlwrote on 8 May 2023, 08:28 last edited byTicTacToe in FelgoSDK
Source code: https://github.com/Przemekkkth/TicTacToe_FelgoSDK
-
wrote on 9 Jun 2023, 16:07 last edited by
Source code: https://github.com/Przemekkkth/Sudoku_Qt-Cpp
Gameplay: https://youtu.be/RFya-TYYSXc
Play online: https://przemekkkth.github.io/assets/games/sudoku/index.html -
Sudoku
Source code: https://github.com/Przemekkkth/Sudoku_Qt-Cpp
Gameplay: https://youtu.be/RFya-TYYSXc
Play online: https://przemekkkth.github.io/assets/games/sudoku/index.htmlwrote on 24 Jun 2023, 17:57 last edited by BondrusiekSource code: https://github.com/Przemekkkth/2048_Qt-Cpp
Play online: https://przemekkkth.github.io/assets/games/2048/index.html
Gameplay: https://youtu.be/ogU4IfCn394 -
2048
Source code: https://github.com/Przemekkkth/2048_Qt-Cpp
Play online: https://przemekkkth.github.io/assets/games/2048/index.html
Gameplay: https://youtu.be/ogU4IfCn394wrote on 28 Jun 2023, 11:58 last edited by -
wrote on 16 Jul 2023, 12:04 last edited by
Analog Clock
Source code: https://github.com/Przemekkkth/AnalogClock_Qt-Cpp
Video: https://youtu.be/ISnqJ1qrJ2g
-
Analog Clock
Source code: https://github.com/Przemekkkth/AnalogClock_Qt-Cpp
Video: https://youtu.be/ISnqJ1qrJ2g
wrote on 21 Jul 2023, 03:03 last edited by@Bondrusiek you are excellent!
-
@Bondrusiek you are excellent!
wrote on 21 Jul 2023, 06:23 last edited byHi @quan-wei-jun, thanks for kind words
-
S SGaist referenced this topic on 28 Jul 2023, 19:07
-
wrote on 12 Aug 2023, 14:06 last edited by
Matrix Rain Code
Source code: https://github.com/Przemekkkth/MatrixCodeRain_Qt-Cpp
Video: https://youtu.be/x-mWpZXXI-c -
Matrix Rain Code
Source code: https://github.com/Przemekkkth/MatrixCodeRain_Qt-Cpp
Video: https://youtu.be/x-mWpZXXI-cwrote on 28 Sept 2023, 19:25 last edited byImage to ASCII
source code: https://github.com/Przemekkkth/image_to_ascii-qt-cpp