Namespace in reactor_3d_surround.js

L

16 public functions in 4 groups · show internal (_) functions

The open road.

Quick Reference

Checks (True / False) 1

within() Whether an opening (in this map's tiles) lies wholly over the other map.

Actions 3

remove() Take a level's world out of the scene and let it go.
drop() Drop.
add() Stand the world of the map over or under this one in its place.

Updating & Drawing 1

update() Once a frame: the levels of the map played are read, built a part a frame, and their openings cut.

Other 11

cutUniforms() Cut uniforms.
offsetOf() Where a level's first tile lies from this map's: across, up and down the map.
unfresh() Unfresh.
lighten() Lighten.
ready() Whether the map on side can be passed into without a break now: its world stands built and its files are read.
adopt() The scene of the map passed into through an opening, for its spriteset: the world that stood under (or over)…
sky() A level's sky: the map under shows none; the map over shows its own through the openings up to it and nowhere…
under() The map under this one, for what must leave it alone (this map's water): its tiles and its top.
cutFor() The boxes and heights the opening of a level cuts this frame, added to what is cut.
unline() Unline.
line() Line.

Checks (True / False)

within

static source
L.within(o, below, other, above)

Whether an opening (in this map's tiles) lies wholly over the other map.

Details

Whether an opening (in this map's tiles) lies wholly over the other map. From above the other map's first tile lies at the level's x, y of this one; from below this map's first tile lies at -x, -y of the other.

Actions

remove

static source
L.remove(side)

Take a level's world out of the scene and let it go.

drop

static source
L.drop()

Drop.

add

static source
L.add(main, mapData, side, level, record, bitmaps, host)

Stand the world of the map over or under this one in its place.

Details

Stand the world of the map over or under this one in its place. bitmaps and host are a view's with no game behind it (the editor's), as N.addBody takes them.

Updating & Drawing

update

static source
L.update(live)

Once a frame: the levels of the map played are read, built a part a frame, and their openings cut.

Other

cutUniforms

static source
L.cutUniforms()

Cut uniforms.

offsetOf

static source
L.offsetOf(side, level, rise)

Where a level's first tile lies from this map's: across, up and down the map.

unfresh

static source
L.unfresh()

Unfresh.

lighten

static source
L.lighten(main, mapData, side, level, record, played, key)

Lighten.

ready

static source
L.ready(side)

Whether the map on side can be passed into without a break now: its world stands built and its files are read.

adopt

static source
L.adopt(mapId, cross, old)

The scene of the map passed into through an opening, for its spriteset: the world that stood under (or over) the map left, as it stands, with the map left standing over it (or under) in its turn.

Details

The scene of the map passed into through an opening, for its spriteset: the world that stood under (or over) the map left, as it stands, with the map left standing over it (or under) in its turn. Null when there is none (the map is then built as any map is).

sky

static source
L.sky(body, eye)

A level's sky: the map under shows none; the map over shows its own through the openings up to it and nowhere else (the sky's own shader: rrSkyWindow, addSkyImage), stood round the eye that draws.

under

static source
L.under(cut, body, lower)

The map under this one, for what must leave it alone (this map's water): its tiles and its top.

cutFor

static source
L.cutFor(cut, mapData, side, level, other)

The boxes and heights the opening of a level cuts this frame, added to what is cut.

unline

static source
L.unline(side)

Unline.

line

static source
L.line(main, mapData, side, level, other, body)

Line.