Skip to reading
Shaders, Effects & Layered Scenery

77. Diagnose parallax and overlay problems

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 PDF page
Source table from 77. Diagnose parallax and overlay problems, page 81
SymptomCheck
Parallax is stillMove the camera; confirm the factor differs from 1 where appropriate; identify stage versus legacy layer system.
A Stage plane is missingImage reference, visible state, size, position, stacking and opaque art covering it.
The character stops before the painted edgeNavigation/collider limits. Enlarging the picture or overlay is not a navigation change.
The camera stops too earlyStage camera bounds and visible view size.
Overlay does not move horizontallyParallax enabled; X axis selected; excess image width; camera target X travel; valid navigation bounds.
Overlay looks stretchedStatic overlays stretch to the overlay design area. Match the artwork aspect ratio or use a suitable GUI image fit.
Overlay covers the whole gameCheck image alpha. An opaque center covers the scene.
Overlay ignores room effectsRead Overlay Shader Source. No Shaders is an explicit choice.
Runtime overlay property changes appear laterThe configuration does not rebuild every current overlay instantly. Test after room presentation reload, or use a GUI for immediate event-driven visuals.

Compare the final game resolution with the editor view. Camera size, render viewport size, GUI design size and overlay size can be related without being identical. Always test the mode that the player will actually use.

Changing a layer’s visual position should not be your first attempt to fix an unrelated interaction or collision problem. Keep the image, navigation and collider jobs separate.

Page 81 of 93Permalink
Go to page