Simple Qt/C++ games
-
@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?
-
@Bondrusiek try including Box2D in your project using Box2D source code directly.
-
@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. -
3D Simple Object Engine Qt/C++
App loads obj file and simulates 3D camera.
Source code: https://github.com/Przemekkkth/3DSimpleObjectEngine_Qt-Cpp -
@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 -
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/PZIHDSWqmo8 -
LookAtCursor
Source code: https://github.com/Przemekkkth/LookAtCursor_Qt-Cpp
See online: https://przemekkkth.github.io/assets/games/lookatcursor/index.html -
TicTacToe in FelgoSDK
Source code: https://github.com/Przemekkkth/TicTacToe_FelgoSDK
-
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.html -
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/ogU4IfCn394 -
-
Analog Clock
Source code: https://github.com/Przemekkkth/AnalogClock_Qt-Cpp
Video: https://youtu.be/ISnqJ1qrJ2g
-
@Bondrusiek you are excellent!
-
Hi @quan-wei-jun, thanks for kind words
-
-
Matrix Rain Code
Source code: https://github.com/Przemekkkth/MatrixCodeRain_Qt-Cpp
Video: https://youtu.be/x-mWpZXXI-c -
Image to ASCII
source code: https://github.com/Przemekkkth/image_to_ascii-qt-cpp
-
Qt/Box2D integration example
source code: https://github.com/Przemekkkth/qt_box2d_integration_example
gameplay: https://youtu.be/JfVkSZZezOk
-
Gravity Tetris
Source code: https://github.com/Przemekkkth/gravity-tetris
Gameplay: https://youtu.be/CqleQv0-L5Y -
Isometric tiles
Source code: https://github.com/Przemekkkth/isometric_tiles_qt -
Balloon Pop
Source code: https://github.com/Przemekkkth/balloon_pop_qt
Gameplay: https://youtu.be/mClrskccUG8