2 releases

0.1.1 May 8, 2024
0.1.0 May 8, 2024

#527 in Procedural macros

Download history 214/week @ 2024-05-06

214 downloads per month
Used in smve

MIT/Apache

4KB


smve

SunnyMonster's Voxel Engine

SEM-vay /ˈsɛmvej/


Stars Issues PRs
Crates.io Version
License Line of Code CI

➜ Plans

This project is still in its infancy so there are very little features, and I mean it. As of now, there is only a pipelined renderer drawing a blue window.

The core engine will be an executable. You will be able to extend the engine with "mods" (they stand for modules, not modifications as in Minecraft). Mods will be written in a scripting language like lua or rhai (haven't decided yet) and they will subscribe to engine events such as on_initialise or on_register_block and they can call engine functions and interact with the ECS.

You can provide resources that a module uses (such as textures, audio, etc.) with asset packs which are .zip files with a specific directory structure.

The engine will provide default modules and asset packs for a minimal infinitely generating sandbox world and a menu screen. You can select and enable mods and asset packs from the menu screen, and mods can also modify or completely rewrite the menu screen.

Modules hopefully also will be able to be written in normal Rust and compiled into a library.

➜ Contributing

See CONTRIBUTING.md for contributing guides.

➜ License

Unless specifically stated, all code in this repository is dual-licensed under either

at your option. This means you can select the license you prefer.

➜ Your contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~315–770KB
~18K SLoC