Compare commits
10 Commits
c420fec3c6
...
0dadbd55de
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | 0dadbd55de | |
Rekai Nyangadzayi Musuka | a0d4f8c40d | |
Rekai Nyangadzayi Musuka | 1d96f0b136 | |
Rekai Nyangadzayi Musuka | 14c9f72d88 | |
Rekai Nyangadzayi Musuka | 77530c1b09 | |
Rekai Nyangadzayi Musuka | 45655233cf | |
Rekai Nyangadzayi Musuka | 620abd784f | |
Rekai Nyangadzayi Musuka | a5fd7f5f5d | |
Rekai Nyangadzayi Musuka | 545bcb8bbc | |
Rekai Nyangadzayi Musuka | 462121153e |
14
README.md
14
README.md
|
@ -13,7 +13,7 @@ This is a simple (read: incomplete) for-fun long-term project. I hope to get "mo
|
||||||
- [x] Affine Sprites
|
- [x] Affine Sprites
|
||||||
- [ ] Windowing (see [this branch](https://git.musuka.dev/paoda/zba/src/branch/window))
|
- [ ] Windowing (see [this branch](https://git.musuka.dev/paoda/zba/src/branch/window))
|
||||||
- [ ] Audio Resampler (Having issues with SDL2's)
|
- [ ] Audio Resampler (Having issues with SDL2's)
|
||||||
- [x] Immediate Mode GUI (see [this branch](https://git.musuka.dev/paoda/zba/src/branch/imgui))
|
- [ ] Immediate Mode GUI
|
||||||
- [ ] Refactoring for easy-ish perf boosts
|
- [ ] Refactoring for easy-ish perf boosts
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
@ -84,26 +84,24 @@ Most recently built on Zig [v0.11.0-dev.1557+03cdb4fb5](https://github.com/zigla
|
||||||
Dependency | Source
|
Dependency | Source
|
||||||
--- | ---
|
--- | ---
|
||||||
SDL.zig | <https://github.com/MasterQ32/SDL.zig>
|
SDL.zig | <https://github.com/MasterQ32/SDL.zig>
|
||||||
known-folders | <https://github.com/ziglibs/known-folders>
|
|
||||||
nfd-zig | <https://github.com/fabioarnold/nfd-zig>
|
|
||||||
zgui | <https://github.com/michal-z/zig-gamedev/tree/main/libs/zgui>
|
|
||||||
zig-clap | <https://github.com/Hejsil/zig-clap>
|
zig-clap | <https://github.com/Hejsil/zig-clap>
|
||||||
zig-datetime | <https://github.com/frmdstryr/zig-datetime>
|
known-folders | <https://github.com/ziglibs/known-folders>
|
||||||
zig-toml | <https://github.com/aeronavery/zig-toml>
|
zig-toml | <https://github.com/aeronavery/zig-toml>
|
||||||
|
zig-datetime | <https://github.com/frmdstryr/zig-datetime>
|
||||||
`bitfields.zig` | [https://github.com/FlorenceOS/Florence](https://github.com/FlorenceOS/Florence/blob/aaa5a9e568/lib/util/bitfields.zig)
|
`bitfields.zig` | [https://github.com/FlorenceOS/Florence](https://github.com/FlorenceOS/Florence/blob/aaa5a9e568/lib/util/bitfields.zig)
|
||||||
`gl.zig` | <https://github.com/MasterQ32/zig-opengl>
|
`gl.zig` | <https://github.com/MasterQ32/zig-opengl>
|
||||||
|
|
||||||
Use `git submodule update --init` from the project root to pull the git relevant git submodules
|
Use `git submodule update --init` from the project root to pull the git submodules `SDL.zig`, `zig-clap`, `known-folders`, `zig-toml` and `zig-datetime`
|
||||||
|
|
||||||
Be sure to provide SDL2 using:
|
Be sure to provide SDL2 using:
|
||||||
|
|
||||||
- Linux: Your distro's package manager
|
- Linux: Your distro's package manager
|
||||||
- MacOS: `brew` (install [this formula](https://formulae.brew.sh/formula/sdl2))
|
- MacOS: ¯\\\_(ツ)_/¯
|
||||||
- Windows: [`vcpkg`](https://github.com/Microsoft/vcpkg) (install `sdl2:x64-windows`)
|
- Windows: [`vcpkg`](https://github.com/Microsoft/vcpkg) (install `sdl2:x64-windows`)
|
||||||
|
|
||||||
`SDL.zig` will provide a helpful compile error if the zig compiler is unable to find SDL2.
|
`SDL.zig` will provide a helpful compile error if the zig compiler is unable to find SDL2.
|
||||||
|
|
||||||
Once you've got all the dependencies, execute `zig build -Doptimize=ReleaseSafe`. The executable is located at `zig-out/bin/`.
|
Once you've got all the dependencies, execute `zig build -Drelease-fast`. The executable is located at `zig-out/bin/`.
|
||||||
|
|
||||||
## Controls
|
## Controls
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue