Auto-scrolling Levels #75

Open
opened 2022-02-10 20:05:52 +00:00 by kirsle · 0 comments

Feature idea for auto-scrolling levels.

May be set as a Level Property or controlled by doodads. For doodads it may be a function like SetAutoscroll(Vector, speed int)

When the level has an auto-scroll active:

  • Disable the camera-follow to the player, letting the player move freely anywhere on the current screen.
  • Player movement will be capped to screen edges: can't run ahead or fall behind the scroll.
  • If the player is forced off the screen, e.g. by a solid wall, it triggers a Fail condition.

Some ideas how doodads can control the auto-scroll easily:

  • Implement an OnVisible handler that gets run when a doodad appears on the screen.
  • Have a set of doodads to control the autoscroll (change it to a certain direction, speedup or slowdown)

So an auto-scroll level can adjust the direction and speed easily by scattering these control doodads around, e.g. level scrolls to the right until a downward scroll doodad comes on screen that changes the scroll direction downward.

Feature idea for auto-scrolling levels. May be set as a Level Property or controlled by doodads. For doodads it may be a function like `SetAutoscroll(Vector, speed int)` When the level has an auto-scroll active: * Disable the camera-follow to the player, letting the player move freely anywhere on the current screen. * Player movement will be capped to screen edges: can't run ahead or fall behind the scroll. * If the player is forced off the screen, e.g. by a solid wall, it triggers a Fail condition. Some ideas how doodads can control the auto-scroll easily: * Implement an `OnVisible` handler that gets run when a doodad appears on the screen. * Have a set of doodads to control the autoscroll (change it to a certain direction, speedup or slowdown) So an auto-scroll level can adjust the direction and speed easily by scattering these control doodads around, e.g. level scrolls to the right until a downward scroll doodad comes on screen that changes the scroll direction downward.
kirsle added the
enhancement
label 2022-02-10 20:05:52 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SketchyMaze/doodle#75
There is no content yet.