Skip to main content
Tweeted twitter.com/#!/StackGameDev/status/445831574232518656
Clearer title. Condensed by deduplication. Code formatting and grammar.
Source Link
Anko
  • 13.5k
  • 10
  • 56
  • 82

ParallaxLayer with multiple images/entities How do I make a scrolling in Sequential mannerbackground out of a sequence of images?

Hi I am new to andengineAndEngine and trying to code a basic sidescroller game using the ParallaxLayerParallaxLayer class witch I got from the following example :http://www.andengine.org/forums/features/parallaxlayer-t5390.htmlthis example I. (I followed the example and it works.)

My question is howHow would I display formultiple images sequentially? For example, I'd like 3 images  (Sun_Stage.pngSun_Stage.png, Moon_Stage.png Dark_stage.png) in sequential manner as a scrollable background... First scroll until Sun_stage.png is finnishedMoon_Stage.png and then scrollDark_stage.png) to form the next stage witch is Moon_Stagescrolling background.png?

The Player would start in the Sun_Stage while he walks the parallaxlayer would scroll (First the image....background scrolls through Sun_stage.png then when the Sun_Stage isit's finished(reached its end width) then the next Stage Moon_Stage should be visible and scroll? through Moon_Stage.png, et cetera.)

Hope I make sense? I don't know if there's another way of doing this... I basically just want to code a sidescroller game that's never ending-ending sidescroller with scrollablea changing scrolling background that changes.

Any help would be appreciated.

ParallaxLayer with multiple images/entities scrolling in Sequential manner

Hi I am new to andengine and trying to code a basic sidescroller game using the ParallaxLayer class witch I got from the following example :http://www.andengine.org/forums/features/parallaxlayer-t5390.html I followed the example and it works.

My question is how would I display for example 3 images(Sun_Stage.png, Moon_Stage.png Dark_stage.png) in sequential manner as a scrollable background... First scroll until Sun_stage.png is finnished and then scroll the next stage witch is Moon_Stage.png?

The Player would start in the Sun_Stage while he walks the parallaxlayer would scroll the image.... when the Sun_Stage is finished(reached its end width) then the next Stage Moon_Stage should be visible and scroll?

Hope I make sense? I don't know if there's another way of doing this... I basically just want to code a sidescroller game that's never ending with scrollable background that changes.

Any help would be appreciated.

How do I make a scrolling background out of a sequence of images?

I am new to AndEngine and trying to code a basic sidescroller game using the ParallaxLayer class from this example. (I followed the example and it works.)

How would I display multiple images sequentially? For example, I'd like 3 images  (Sun_Stage.png, Moon_Stage.png and Dark_stage.png) to form the scrolling background. (First the background scrolls through Sun_stage.png then when it's finished scroll through Moon_Stage.png, et cetera.)

I basically just want to code a never-ending sidescroller with a changing scrolling background.

Source Link
Renier
  • 175
  • 4

ParallaxLayer with multiple images/entities scrolling in Sequential manner

Hi I am new to andengine and trying to code a basic sidescroller game using the ParallaxLayer class witch I got from the following example :http://www.andengine.org/forums/features/parallaxlayer-t5390.html I followed the example and it works.

My question is how would I display for example 3 images(Sun_Stage.png, Moon_Stage.png Dark_stage.png) in sequential manner as a scrollable background... First scroll until Sun_stage.png is finnished and then scroll the next stage witch is Moon_Stage.png?

The Player would start in the Sun_Stage while he walks the parallaxlayer would scroll the image.... when the Sun_Stage is finished(reached its end width) then the next Stage Moon_Stage should be visible and scroll?

Hope I make sense? I don't know if there's another way of doing this... I basically just want to code a sidescroller game that's never ending with scrollable background that changes.

Any help would be appreciated.