7636698ed0 | ||
---|---|---|
screenshots | ||
textures | ||
util | ||
LICENSE | ||
README.md | ||
VERSION | ||
config.lua | ||
depends.txt | ||
description.txt | ||
init.api.lua | ||
init.config.lua | ||
init.core.lua | ||
init.hudbars.lua | ||
init.legacy.lua | ||
init.lua | ||
init.set_sprinting_physics.lua | ||
lib.eventemitter.lua | ||
lib.file_exists.lua | ||
lib.file_get_contents.lua | ||
lib.file_put_contents.lua | ||
lib.round.lua | ||
lib.savetable.lua | ||
mod.conf | ||
screenshot.png | ||
settingtypes.txt |
README.md
Wadsprint [] [minetest_wadsprint]
Minetest mod for sprinting with W, A and D buttons.
How to use
- Press A and D simultaneously to trigger the
ready_to_sprint
state. - Then press W to start sprinting.
- Release A and D (keep W pressed) and continue sprinting until the stamina runs out.
How to download
https://github.com/aa6/minetest_wadsprint/archive/master.zip
How to install
http://wiki.minetest.com/wiki/Installing_mods
How to configure
Edit config.lua
at the mod directory.
Copy config.lua
to worlds/<worldname>/mod_minetest_wadsprint_config.lua
to create a per-world config.
Dependencies
All mod dependencies are optional.
Dependents
Development
- Run
git clone https://github.com/aa6/minetest_wadsprint.git; cd minetest_wadsprint
to clone the repository. - Run
bash util/git_hook_pre_commit.bash install
after repository cloning../VERSION
and./util/version.png
then will be updated automatically on every commit. To increment minor version append " 2" to./VERSION
file contents. - http://dev.minetest.net/Category:Methods
Changelog
https://github.com/aa6/minetest_wadsprint/commits/master
Links
Credits
Thanks to GunshipPenguin and his sprint mod for showing a good example of how sprint mod for minetest can be done.