View Single Post
  #3  
Old 06-14-2011, 10:24 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Quote:
Originally Posted by 0PiX0 View Post
Also, please add support for parallax scrolling.
http://en.wikipedia.org/wiki/Parallax_scrolling
Perhaps something like this:

level.tilelayers[i].parallaxscrolling = true;

Then the layers could be scrolled by simply adjusting the x and y of each tilelayer:

level.tilelayers[i].x++;
level.tilelayers[i].y++;

This would allow me to create effects such as repeated scrolling backgrounds, moving clouds, etc. without using multiple npcs.
Zero(zokemon) already accomplished this on Atexia somehow. I think it was a mixture of tilelayers and an image behind them. it was pretty sweet.
Reply With Quote