Allow camera to turn off level bounding if the player is moved out of bounds by a doodad #87

Chiuso
aperto 2023-02-19 06:13:09 +00:00 da kirsle · 1 comment
Proprietario

Allow camera to turn off level bounding if the player is moved out of bounds by a doodad.

Example: you have a bounded level with a bottom edge, and you want to draw shop interiors or something below the ground of the level. You can switch your page type to Unbounded and draw out there, but in-game the camera won't scroll out of bounds even if the player is out there.

Logic can be like:

  • Catch it whenever an actor (like the warp door) calls MoveTo() and puts the player out of bounds.
  • When the followed actor is out of bounds on a Bounded level, temporary toggle the NoLimitScroll on the canvas to let it freely center on the player.
  • When they are back in bounds, toggle it off.
Allow camera to turn off level bounding if the player is moved out of bounds by a doodad. Example: you have a bounded level with a bottom edge, and you want to draw shop interiors or something below the ground of the level. You can switch your page type to Unbounded and draw out there, but in-game the camera won't scroll out of bounds even if the player is out there. Logic can be like: * Catch it whenever an actor (like the warp door) calls MoveTo() and puts the player out of bounds. * When the followed actor is out of bounds on a Bounded level, temporary toggle the NoLimitScroll on the canvas to let it freely center on the player. * When they are back in bounds, toggle it off.
Autore
Proprietario

Implemented in cf1bc81f25

Implemented in cf1bc81f2544bc8ec693bdafb777b2a3b6590113
kirsle chiuso questo probleam 2023-03-08 06:11:34 +00:00
kirsle ha aggiunto l'etichetta
enhancement
2023-03-08 06:11:41 +00:00
Effettua l'accesso per partecipare alla conversazione.
Nessuna milestone
Nessuna assegnatario
1 Partecipanti
Notifiche
Data di scadenza
La data di scadenza non è valida o fuori intervallo. Si prega di utilizzare il formato 'aaaa-mm-dd'.

Nessuna data di scadenza impostata.

Dipendenze

Nessuna dipendenza impostata.

Riferimento: SketchyMaze/doodle#87
No description provided.