https://github.com/jrob774/game-template
Simple template repository used for generating game repos.
https://github.com/jrob774/game-template
cpp engine framework game game-jam game-template personal project repository-template template
Last synced: 9 months ago
JSON representation
Simple template repository used for generating game repos.
- Host: GitHub
- URL: https://github.com/jrob774/game-template
- Owner: JROB774
- License: mit
- Created: 2023-01-24T19:27:20.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-25T11:03:37.000Z (almost 3 years ago)
- Last Synced: 2025-04-13T12:08:14.884Z (12 months ago)
- Topics: cpp, engine, framework, game, game-jam, game-template, personal, project, repository-template, template
- Language: C++
- Homepage:
- Size: 9.91 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Game Template
This is a simple repository template I use for starting new game projects. It has the basic outline of a project structure
already setup as well as a few systems implemented, such as a basic platform layer, renderer, asset management system, etc.
Currently the system supports building for Windows and Web Assembly. It can also build to MacOS but no work has
been done to *officially* support the platform, so the generated .app bundles are missing things like an info plist.
The back-end of the engine uses SDL2 so it should be easy to also port to other systems e.g. Linux, Android, iOS, etc.
## Building
After cloning the repository you will need to run `git submodule update --init --recursive` to setup submodules.
The project can then be built by running either the `build\win32\build.bat` or `build\macos\build.sh` script with a build
profile as the first argument. The following build profiles are available:
- `win32` which builds the Windows version of the project.
- `macos` which builds the MacOS version of the project.
- `web` which builds the Web Assembly version of the project.
- `tools` which builds auxiliary tools used for development.
You can also specify an extra `release` argument to build an optimized executable with debug information stripped.
## License
The project's code is available under the **[MIT License](https://github.com/JROB774/game-template/blob/master/LICENSE)**.