Re: [Super-tux-devel] TODO 0.0.7
Brought to you by:
wkendrick
From: Ingo R. <gr...@gm...> - 2004-03-18 18:45:26
|
Ricardo Cruz <ri...@ae...> writes: > I would go with the following layers: > > - slower speed background (moving in a slower speed than the games one); > - normal speed background (moving in normal speed); > - normal tiles - the ones that Tux has interaction with; > - normal speed foreground; > - slower speed foreground. We only need two basic layers: background and foreground, both scroll the same speed, Tux and objects are draw inbetween them most of the time: [more paralax layers] [Foreground] [Tux] [Background] [more paralax layers] Above and below these basic layers you can add as much paralax scrolling backgrounds as you like, no need to limit them. Only question is if foreground or background or both become the layer that is used for collision detection. -- WWW: http://pingus.seul.org/~grumbel/ JabberID: gr...@ja... ICQ: 59461927 |