Skip to content

voxel/voxel-flight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

voxel-flight

Double-tap jump to toggle flight mode, then use jump/crouch to adjust altitude, and land if you hit the ground

Based on voxel-fly by @maxogden, but for voxel-engine-stackgl, no longer controls or depends on voxel-player, and loads as a plugin.

install

npm install voxel-flight

usage

Load with voxel-plugins. Requires voxel-keys.

API

var fly = game.plugins.get('voxel-flight')

Get a reference to the plugin

fly.startFlying()

Start flight, as if the user double-tapped jump to enter flight mode

fly.stopFlying()

Stop flight

fly.toggleFlying()

Toggle flight

License

BSD

About

flight mode (voxel.js plugin) (based on voxel-fly)

Resources

Stars

Watchers

Forks

Packages

No packages published