seen = scrCamSees(objPlayer.x, objPlayer.y);
    if (seen) {
        with (objPlayer) {
            var wallpaper = instance_position(x, y, objWallpaper);
            if (instance_exists(wallpaper)
                    && wallpaper.image_blend == image_blend) {
                other.seen = false;
            } else {
                scrShapeshift(false);
            }
        }
    }

Go play!


2 Responses to “Can you guess the game mechanics from this code snippet?”

  1. cynicalmonkey says:

    Camouflage?

  2. KodingNights says:

    Blending with environment to avoid detection.

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]