An open API service indexing awesome lists of open source software.

https://github.com/k-nrd/odin-sdl-starter

With hot-reloading
https://github.com/k-nrd/odin-sdl-starter

Last synced: 3 months ago
JSON representation

With hot-reloading

Awesome Lists containing this project

README

        

# Odin SDL2 Starter

Based on @karl-zylinski's [template](https://github.com/karl-zylinski/odin-raylib-hot-reload-game-template).
Uses [task](https://github.com/go-task/task) for automation.

## Usage

### Development

```bash
# Creates a `build/dev` folder for executable and libraries,
# and copies vendor libraries to that folder too.
# With `-w`, it watches for changes in `lib/**/*.odin` files,
# and recompiles the game library on detection.
task dev:lib -w
```

Then, in another terminal:

```bash
# Runs the development executable
task dev:run
```

Modify game library code and watch the changes show up once recompilation is done.

### Release

To build and run:

```bash
task release:build && task release:run
```

### To-do

- [ ] Include some assets and watch for changes there as well