A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/voxel/voxel-flight below:

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

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4