A 2D car driving game that uses OpenGL & freeglut library.
- Download Mingw64.rar & freeglut folder. (If you have mingw64 already, you download freeglut folder directly instead.)
- Preferrably create the following directory
C:/Compiler/and paste the Mingw64 folder insideCompilerfolder. - Copy
include&libfolders fromfreeglut/MingGW/freeglutfolder that you downloaded and paste it intoC:/Compiler/mingw64/x86_64-w64-mingw32 - Copy freeglut.dll file from
freeglut/MingGW/freeglut/binfolder that you downloaded and paste it directly to System32 and SysWOW64 folders. - Download or clone the repo. via
git clone https://github.com/Carbowix/Driverino.git
Note: This project only works on VSCode and have not been experimented on any other compiling IDE.
- When all the installation steps are done, Open the downloaded repo as a folder in VSCode.
- It is recommended to download the CPP extensions recommended by VSCode.
- Open
main.cppand press F5 to start debugging instantly if you followed the directory steps in installation guide.
- Head to
.vscode/launch.jsonand make sure to edit the directory path for "windows" -> "miDebuggerPath" directory path to your custom path. - Head to
RunOpenGL.batand change the directory also to your custom path.
Note: Do not delete .output because your application gets compiled on debugging there.
If you want a final compiled version of the project. It is recommended to run RunOpenGL.bat which compiles it into a final runnable main.exe
- Main menu
- Gameplay
- Lose screen
- Thanks to
Rath Measfor his freeglut workspace. I don't have his git link anymore for his workspace. - This project was heavily inspired by Car 2D Racing freeglut by Zunaidm