Namespace in reactor_vehicles_feel.js

Feel

8 public functions in 3 groups · show internal (_) functions

Rideable vehicles from the Prop Builder.

Quick Reference

Setup & Creation 1

prepare() The engine buffer of every vehicle type standing on this map, made now so the first ride starts with its soun…

Actions 2

reset() Every eased value dropped and the engine silent: a new game, a test.
stop() The engine silent at once.

Other 5

advance() One logic tick of the ride: every eased value of the view and the engine's rate and volume.
kick() A short push of the camera, gone in kickTicks ticks: straight down (a landing), or with along along the headi…
engineRate() The engine's playback rate: range[0] standing to range[1] at top speed, and a tenth more under throttle.
engineVolume() The engine's loudness by speed: half standing, whole at top speed.
sound() One of the type's punctuation sounds: "start", "stop", "bump", "scrape", "skid", "land".

Setup & Creation

prepare

static source
Feel.prepare()

The engine buffer of every vehicle type standing on this map, made now so the first ride starts with its sound.

Actions

reset

static source
Feel.reset()

Every eased value dropped and the engine silent: a new game, a test.

stop

static source
Feel.stop()

The engine silent at once.

Details

The engine silent at once. Aboard it stays out until the party is on foot or "start" is asked.

Other

advance

static source
Feel.advance(drive, type, input)

One logic tick of the ride: every eased value of the view and the engine's rate and volume.

Details

One logic tick of the ride: every eased value of the view and the engine's rate and volume. drive is $gamePlayer._rrDrive (or null in a hop), type the filled type record (or null: found from the ridden event), input the { gas, brake } the tick applied (or absent: the throttle is held on a tick the speed rose).

kick

static source
Feel.kick(tiles, along)

A short push of the camera, gone in kickTicks ticks: straight down (a landing), or with along along the heading (a square hit).

engineRate

static source
Feel.engineRate(share, gas, range)

The engine's playback rate: range[0] standing to range[1] at top speed, and a tenth more under throttle.

engineVolume

static source
Feel.engineVolume(share)

The engine's loudness by speed: half standing, whole at top speed.

sound

static source
Feel.sound(name, type)

One of the type's punctuation sounds: "start", "stop", "bump", "scrape", "skid", "land".

Details

One of the type's punctuation sounds: "start", "stop", "bump", "scrape", "skid", "land". Answers whether a sound was asked for. "stop" also fades the engine out, and it stays out until the party is on foot or "start" is asked.