Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I got one new requirement for iOS side scroll game with screen size : 8000xScreen_Height

For this, tileMap is best or normal texture based is best? I need to use parallax background too.

Help me to find right technique.

Thanks in advance.

share|improve this question
    
AFAIK max texture size is still 2048x2048 on newer, and 1024x1024 on older devices. So you have to split up your texture in any case. –  bummzack Nov 6 '12 at 15:57
    
@bummzack, yes that we know...our game screen size is arround 8000 with multiple texture.. –  Raj Nov 6 '12 at 17:17

1 Answer 1

up vote 4 down vote accepted
  • I will talk how I render those things in my game.

My background (parallax) is divided in four segments. The game starts with the three segments on the screen, but as the player moves forward, the forth start showing up and the first starts disappearing (in the left side). Once it completes disappear, I move that segment to the front, and keep doing it. Basically, an infinite loop with four segments. The smaller the segments, less draws you do offscreen and faster draw times.

For the platforms I just create a big circle around my character, and if the "tile" is in this circle, then I render it, otherwise, ignore. It's a very fast radius distance check ;)

Personal opinion: I used my own level design tool to create the game level, where I used normal texture with variant objects size. But, if I were to do it again, I would use tileMaps, just because its simplify a lot of math and implementations.

share|improve this answer
    
thanks a lot for this info Sir. –  Raj Nov 6 '12 at 15:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.