Game features - enenflash/anti-gravity GitHub Wiki

Movables

Movables are tiles that the player can move. They come in 5 colours: green, purple, yellow, blue and red. They are not animated tiles.

Features

  • Movables can be pushed by other movables.
  • Movables are a type of tile that can crush stars if they are moved by the player onto the star.
  • Movables can stop non-static tiles from spawning if they interrupt a line between two spawners.
  • Movables can get teleported by portals.
  • Movables have their own sound effect which is played when the movables are stopped by a wall.

Spawners

Spawners are tiles that can spawn other tiles (called non-static tiles). At the moment, the only spawner that exists is the electricity node. Electricity nodes spawn animated electric tiles that can kill the player.

Features

  • Non-static tiles are only spawned if spawners are aligned and facing each other.
  • Non-static tiles are de-spawned the moment its spawners' line of sight is interrupted.
  • Electric tiles have their own sound effect which is played indefinitely until all electric tiles are de-spawned.
  • Electric tiles also have a sound effect that is played when they are despawned.

Portals

Portals are animated intangible tiles that the player can go through to teleport to its linked portal.

Features

  • Portals can teleport any entity (including movables).
  • A portal can only have one linked portal. However, its link does not have to teleport the player back to the original portal.
  • Portals, like movables, come in 5 colours: green, purple, yellow, blue and red.
  • Linked portals do not have to be the same colour (however, in maps they are often the same colour for convenience).
  • Portals have their own sound effect that is played when the player is teleported.