Skip to reading
Shaders, Effects & Layered Scenery

58. Test the parallax as a moving composition

Edition 0.86.4.0

Revised 0.86.4.0 edition with new supplements; earlier 0.86.3.4 lessons and screenshot labels are retained within the supplied PDF.

Download PDFView illustrations

Figure 33. The painted workshop and transparent foreground plane after a horizontal stage-camera move.

1. Start with the camera centered. Confirm which artwork is the main room and which is a separate cutout.

2. Pan or walk toward the left side. Watch a near edge against a recognizable object in the main background.

3. Move right. The relative change should be smooth and predictable.

4. Check each plane’s visibility and image coverage at the limits.

5. Test a dialogue or inventory GUI over the scene. The GUI should not drift with a world layer unless you deliberately built it that way.

6. Save, build and repeat the route in the intended output size.

The guide’s stage example has a main background and a transparent foreground plane with factor [1.25,1]. A camera move of +4 world units moves that plane’s world origin by -1 along X, producing faster apparent travel relative to the main picture.

The screenshot is a real stage-camera view. It is not proof that a fixed camera will scroll on its own. Choose a follow mode and give the player enough navigation range for the finished game.

Page 62 of 93Permalink
Go to page