Skip to main content

Questions tagged [parallax-scrolling]

An illusion technique for scrolling backgrounds which allows for a finer simulation of depth in 2D graphics.

Filter by
Sorted by
Tagged with
0 votes
1 answer
325 views

Can anyone tell me where my maths is wrong please, it stops scrolling after awhile. ...
Lewis's user avatar
  • 511
2 votes
1 answer
2k views

If I have three scrolling/continuous parallax backgrounds, what should be the ideal size (width/height) of the background images assuming I am going to support all devices including the new iPad? ...
Saj's user avatar
  • 192
-2 votes
2 answers
2k views

I am a beginner in game development. I want to create a parallax background that merges at the front and expands at the bottom. I'm sure there is a way to do this, but I'm missing something. My ...
sheraz amin's user avatar
4 votes
1 answer
917 views

I've created a little 2D game engine with parallax scrolling and something has been bugging me for some time. Layers / objects set at a different depths / z orders don't preserve their position ...
Daniel Carvalho's user avatar
1 vote
1 answer
731 views

I'm adding 3 sprites (layers) to CCParallaxNode: ...
el.severo's user avatar
  • 111
4 votes
3 answers
3k views

I been working in a project with a team for a Software Engineering class and we think that using the parallax scrolling will help our game to look really nice but we are not really sure if our idea ...
oscar.rpr's user avatar
  • 338
1 vote
4 answers
647 views

I have tiled map 100*75 and tiles are 32*32 pixel.I want to use batching for performance .I don't figure it out , because of my game needs scrolling and every frame i draw 22*16 tiles (my screen is 20*...
dardanel's user avatar
1 vote
1 answer
660 views

I have an object that has a dynamic body. Currently, I'm setting it's position to follow the sprite when the parallax layer move. After a certain event, the object suppose to fall to the ground. That'...
Marcell's user avatar
  • 21
3 votes
1 answer
2k views

What is the best general approach to implement scrolling for a 2D tile based game? I need to scroll the map with a constant speed, lets say 2 pixels every frame (like in a top down shooter). The ...
Alois Schweitzer's user avatar
3 votes
1 answer
651 views

How does one setup the game space for a game so that obstacles can be spawned? Examples would be ice climber or the iphone doodle jump. Tile maps are limited in size and would need to change often if ...
some_id's user avatar
  • 167
3 votes
3 answers
1k views

I'm currently working on a side-scroller which lets the player alter their speed and I wondered how should I properly generate and control background tiles for such a kind o game. I'm using Flixel but ...
goshki's user avatar
  • 135
4 votes
1 answer
5k views

I created a horizontally scrolling landscape using CCParallaxNode. However it does not seem to support endless scrolling in one direction. As soon as the first image "ends" the background shines ...
CodeSmile's user avatar
  • 1,734
21 votes
5 answers
11k views

Suppose I have three layers: a foreground, an intermediate-ground and a background. What is involved in using these three layers to create parallax scrolling?
Bryan Denny's user avatar
  • 5,113