Driftwood2D / Driftwood

Driftwood 2D Tiling Game Engine and Development Suite
http://tileengine.org/
MIT License
24 stars 1 forks source link

Underlays #184

Open seisatsu opened 7 years ago

seisatsu commented 7 years ago

Put an easy method in the API for placing an image underneath everything else. This can make for some cool effects or special effects, and a slowly moving underlay was a hallmark of many areas in Yume Nikki.

seisatsu commented 7 years ago

Actually, the easiest way to do this would be to put an entity the size of the window on a layer beneath everything else. Then it could be animated. So, I'll set this as blocking on window-sized (or arbitrary-sized) entities, and then implement it into Stageshow.

pmer commented 7 years ago

Are underlays supposed to stay in place when the map scrolls?

Or any other interesting properties that overlays have?

seisatsu commented 7 years ago

Hm, that could be hard with entities after all.

Ideally then underlays will be exactly like overlays except drawn first.