Game development

Scrolling shooter: the playfield and camera

A vertically scrolling background communicates travel while game objects keep their own world positions. Keep the camera offset separate so collision does not depend on the background draw position.

Build the scene from a repeating tile, a clamped player and a scheduled enemy. The linked tutorial develops those rules step by step.

This page is a readable game-design exercise. It provides study notes and related tutorials; an interactive game is not embedded.