Welcome to Latebit!
Latebit is a game engine for pixel-based 2D games with a focus on developer experience.
This template provides a quick start for creating games with Latebit. It show examples of the fundamental capabilities of the engine and includes everything you need to begin your game development journey.
- C++20 compatible compiler (e.g., LLVM/Clang >=14)
- CMake >=3.28.1
- (for WASM builds) emscripten >=3.1.51
- Install Visual Studio Code
- Install the Latebit Studio extension
- (Optional) Install the CMake Tools extension
- Clone and open the template:
git clone https://github.com/latebit/latebit-template.git code latebit-template
- Open the command palette and select
latebit: Run current game
-
Clone the repository:
git clone https://github.com/latebit/latebit-template.git cd latebit-template -
Build and run the game:
# Native build cmake -B build && cmake --build build && ./build/latebit_template # WASM build emcmake cmake -B build && emmake cmake --build build && emrun build/public
- Latebit engine integration
- CMake setup for native and WASM builds
- Example assets (sprites, audio) and configurations
- Basic project structure to kickstart your game
- Head over to
src/main.cppand follow the in-code instructions - Check out the Latebit documentation for detailed guides
Happy game development with Latebit!