Skip to content

Devon7925/slang-voxels

Repository files navigation

Slang Voxels

This is a simple example of using slang-native-playground. See that repo for more information. The voxel engine for this originally comes from my voxel-game project.

Running

This app can be run by cloning the repository and then executing cargo run from the root folder.

Web Build

This app supports building for web. To do so run:

cargo build --target wasm32-unknown-unknown
wasm-bindgen --out-dir target/generated/ --web target/wasm32-unknown-unknown/debug/slang-voxels.wasm 

The web build should then be accessible from index.html. To see the current web deploy see the Github Pages Deploy.

An example render of the voxel engine

Missing things compared to original

  • Healthbar
  • Cooldown display
  • Cooldown implementation
  • Projectiles
  • Player rendering
  • Multiplayer
  • GameSettings
    • delta_time
    • render_size
    • game_mode
    • max_loaded_chunks
    • max_worldgen_rate
    • max_update_rate
    • world_gen
  • Deck picker

About

A voxel engine built with slang-native-playground

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors