Skip to content
Brent Frymire edited this page Jun 4, 2024 · 2 revisions

STANNcam Example Project Hallway Zones

You can place zones within your level. When your player (or whatever instance a stanncam is following) enters into one of these zones, the camera will be constrained within it.

There's different zones with different sides active. So you can for example place a zone in a hallway to ensure that the camera stays between the floor and ceiling. Or at the end of a corridor to stop the camera from traveling far into the wall.

The opaque parts of the zone's sprite are the sides in which the camera will actively constrain to.

GameMaker Asset Resource Zones

The zones can be rotated by a factor of 90 degrees. Any other amount will throw an error message.

Clone this wiki locally