nclud / 2013.beercamp.com

MIT License
0 stars 1 forks source link

Background offset (to achieve parallax effect) #111

Closed round closed 11 years ago

round commented 11 years ago

Add some logic to pass a background-position: offset (with coefficient) to the HTML background based on the player's position in the level to simulate a subtle parallax effect as they jump/go up the level.