top of page

Parallax Effect

For Ill-Fated

Banner.gif

Old Art    ||    New Art

A small effect done to create a slightly more immersive feel to the rooms.

​

It includes multiple layered sprites, where closer objects are effected more by the Parallax effect. This gives the effect shown above.

​

It calculates the position of the mouse, and inverts it, then moving the sprites to that location. For closer sprites, the range is increased.

Layer Sprite Examples

Fortune_Teller.png
SwordInStone_Background.png
Stars.png
SwordInStone_Midground_SingleSprite.png
bottom of page