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 sourceL.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 sourceL.remove(side)
Take a level's world out of the scene and let it go.
drop
static sourceL.drop()
Drop.
add
static sourceL.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 sourceL.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 sourceL.cutUniforms()
Cut uniforms.
offsetOf
static sourceL.offsetOf(side, level, rise)
Where a level's first tile lies from this map's: across, up and down the map.
unfresh
static sourceL.unfresh()
Unfresh.
lighten
static sourceL.lighten(main, mapData, side, level, record, played, key)
Lighten.
ready
static sourceL.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 sourceL.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 sourceL.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 sourceL.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 sourceL.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 sourceL.unline(side)
Unline.
line
static sourceL.line(main, mapData, side, level, other, body)
Line.