SlimePlatformer/docs/COMPONENTS.md

12 lines
1,020 B
Markdown
Raw Normal View History

# Components
- Player (`Characters/player.gd`): the slime: crawling on any surface, hops, bridges, edge wraps, going into tubes.
- Tubes (`Effects/`): tiles the slime squeezes through. Kinds: auto (`PixelStream`), manual (`TubeSteer`), one-way (`OneWayTube`, an auto tube with one entrance).
- Tube air (`Effects/tube_airflow.gd`, `Effects/tube_air_currents.gd`): air through one-way tubes: motes in and out, suction into entrances, blow away from exits.
- Room camera (`Levels/room_camera.gd`): screen-by-screen camera that cuts between 640x480 rooms.
- Maze generation (`Levels/Maze/`): builds, validates (slime movement model) and plays random tube labyrinths (see `docs/MAZE.md`).
- Screens and transitions (`Autoloads/pixel_screen.gd`, `Autoloads/transition.gd`): the 640x480 pixel screen and the dissolve between scenes.
- Settings (`Autoloads/settings.gd`): saved key bindings and volumes.
- Menus (`UI/`): main menu, options, pause, maze setup.
- Carry items (`Items/`): things the slime can pick up and carry.