Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ add_executable(blocks WIN32
src/camera.c
src/main.c
src/map.c
src/player.c
src/rand.c
src/save.c
src/shader.c
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Tiny Minecraft clone in C and HLSL using the new SDL3 GPU API

- Procedural world generation
- Asynchronous chunk loading
- Blocks and sprites
- Persistent worlds
- Physics
- Directional shadows
- Clustered dynamic lighting
- Basic transparency
- Blocks and sprites

### Building

Expand Down Expand Up @@ -49,14 +49,17 @@ To build locally, add [SDL_shadercross](https://github.com/libsdl-org/SDL_shader

### Controls

- `WASDEQ` to move
- `WASD` to move
- `Space` to jump
- `F5` to toggle fly
- `Escape` to unfocus
- `Left Click` to break a block
- `Middle Click` to select a block
- `Right Click` to place a block
- `Scroll` to change blocks
- `F11` to toggle fullscreen
- `LControl` to move quickly
- `LControl` to sprint
- `EQ` to move up and down (fly only)

### Passes

Expand Down
Loading