Projetos
Ver no GitHub
jsoulier/blocks
Sobre
Tiny Minecraft clone in C and HLSL using the new SDL3 GPU API
Jogos e emulaçãoO que você pode fazer
- Desktop, Web, and Android support
- Keyboard and mouse, gamepad, and touch controls
- Procedural world generation
- Asynchronous chunk loading
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +2
- em 15 dias
- +1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalBlocks
Tiny Minecraft clone in C and HLSL using the new SDL3 GPU API
Running on Desktop
Running on a Samsung Galaxy A17
Features
- Desktop, Web, and Android support
- Keyboard and mouse, gamepad, and touch controls
- Procedural world generation
- Asynchronous chunk loading
- Persistent worlds
- Physics
- Blocks and sprites
- Basic lighting
- Day and night cycle
Building
Windows
git clone https://github.com/jsoulier/blocks --recurse-submodules
cd blocks
mkdir build
cd build
cmake ..
cmake --build . --parallel 8 --config Release
cd bin
./blocks.exe
Linux
git clone https://github.com/jsoulier/blocks --recurse-submodules
cd blocks
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel 8
cd bin
./blocks
Web
Get emsdk
git clone https://github.com/jsoulier/blocks --recurse-submodules
cd blocks
mkdir build
cd build
emcmake cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel 8
cd ..
python server.py
Android
Open android/ in Android Studio and press Run
Shaders
Shaders are precompiled. To build everything, add SDL_shadercross and naga-cli to your path
Controls
Keyboard and Mouse
WASDEQto moveSpaceto jumpF5to toggle flyEscapeto unfocusLeft Clickto break a blockMiddle Clickto select a blockRight Clickto place a blockScrollto change blocksF11to toggle fullscreenLControlto sprintTto reset the time of day
Touch
- Left side of the screen to move
- Right side of the screen to look
Gamepad
Left Stickto moveRight Stickto lookXto jump or fly upCircleto fly downTriangleto toggle flyR2to break a blockR3to select a blockL2to place a blockL1/R1to change blocksL3to sprintSquareto reset the time of day
Explore projetos relacionados
Carregando…