All examples · Sprites and 2D

Formation

What this example shows

A 10×4 grid of sprites sharing one texture, each offset on a wave by its place in the grid, so the block ripples like an arcade enemy formation.

One object owns the whole grid and one useUpdate drives every unit. And since they share a texture, the engine draws them in one go.

Starting