Skip to content

latebit/latebit-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latebit Template

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.

Quick Start

Dependencies

Option 1: Using Latebit Studio (Recommended)

  1. Install Visual Studio Code
  2. Install the Latebit Studio extension
  3. (Optional) Install the CMake Tools extension
  4. Clone and open the template:
    git clone https://github.com/latebit/latebit-template.git
    code latebit-template
  5. Open the command palette and select latebit: Run current game command palette example

Option 2: Command Line

  1. Clone the repository:

    git clone https://github.com/latebit/latebit-template.git
    cd latebit-template
  2. 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

What's Included

  • Latebit engine integration
  • CMake setup for native and WASM builds
  • Example assets (sprites, audio) and configurations
  • Basic project structure to kickstart your game

Next Steps

  1. Head over to src/main.cpp and follow the in-code instructions
  2. Check out the Latebit documentation for detailed guides

Happy game development with Latebit!

About

A template to create your first latebit game

Topics

Resources

License

Stars

Watchers

Forks