Scene
Set scene backgrounds and view perspective. Handle interactions between tiles and sprites.
Screen Settings
scene.screenWidth()
scene.screenHeight()
scene.setBackgroundColor(0)
scene.setBackgroundImage(null)
scene.backgroundColor()
scene.backgroundImage()
Tiles and Tilemaps
tiles.setTilemap(null)
tiles.setTileAt(tiles.getTileLocation(0, 0), null)
tiles.setWallAt(tiles.getTileLocation(0, 0), false)
tiles.getTileLocation(0, 0)
tiles.getTilesByType(null)
tiles.placeOnTile(null, tiles.getTileLocation(0, 0))
tiles.placeOnRandomTile(null, null)
scene.onOverlapTile(SpriteKind.Player, null, function (sprite, location) {})
scene.onHitWall(SpriteKind.Player, function (sprite, location) { })
tiles.tileAtLocationEquals(tiles.getTileLocation(0, 0), null)
sprites.create(null).isHittingTile(CollisionDirection.Right)
sprites.create(null).tileKindAt(TileDirection.Right, null)
Screen Effects
effects.confetti.startScreenEffect()
effects.confetti.endScreenEffect()
Camera View
scene.cameraFollowSprite(null)
scene.centerCameraAt(0, 0)
scene.cameraShake(4,500)
See also
screen width, screen height, set background color, set background image, background color, background image, set tilemap, set tile at, set wall at, get tile location, get tiles by type, place on tile place on random tile, on overlap tile, on hit wall, tile at location equals, is hitting tile, tile kind at, start screen effect, end screen effect, camera follow sprite, center camera at, camera shake