</>
Wanna-be Minecraft-like in Rust using Wgpu, very early stage.
Progress is now being done in a private repository, safer for a project that is intended to be paid for at some point.
</>
</>
</>
</>
</>
</>
Install Rust first (via rustup, Rust's official toolchain manager, which will also install tools such as cargo which manages Rust projects and dependencies). Then clone/download this repo and run one of the example cargo commands below (or just cargo build --release to build without running the project).
Examples:
- cargo run --release -- --gen-dist 210 --gen structures-links-smooth
- cargo run --release -- --gen-dist 300 --gen default --seed 3 --chunk-edge 50
- cargo run --release -- --gen structures-generated-blocks --save hello
Note:
The --save <SAVE_NAME> or -s <SAVE_NAME> option creates or opens the save of the specified name and will save/load the game state (seed, player position, chunks, etc.) to/from the disk. Not specifying a save means that nothing will be saved and all that is unloaded is lost (chunks and entities that get too far from the player).
Advice:
- Experiment with the --chunk-edge parameter to see how it impacts the performance while allowing to load larger areas by upping --gen-dist.
- Try out the various world generators available (--gen-names to display the list).
- Be ready to press P (default key) to disable falling when using world generators that lack a ground, or be ready to fall for some time.
- Read controls.qwy3_controls to get a list of controls and see what can be done once the game run.
- Some useful default controls: WASD to move, P to toggle physics (fly) and mouse wheel to go up and down, U to toggle the interface, K to let the mouse escape, left/right click to remove/place blocks.
- Adding --mode play will disable some controls for the sake of (work-in-progress) gameplay.
- Adding --only-modified when there is a save will make the chunk blocks only save themselves to the disk if they were modified, which makes the save smaller.
Default controls make sense for QWERTY keyboards. Most controls are configurable by editing the controls.qwy3_controls file (created by the game in the current directory when it doesn't exist yet).
The syntax is intuitive, key names are letters, numbers, or up, down, left, right, space, left_shift, right_shift, tab, return/enter; mouse button names are left, right, middle, or numbers.
Copyright 2024 Jeanne DEMOUSSEL
All rights reserved.