Questions tagged [parallax-scrolling]
An illusion technique for scrolling backgrounds which allows for a finer simulation of depth in 2D graphics.
63 questions
0
votes
1
answer
325
views
Scrolling background stops after awhile? [closed]
Can anyone tell me where my maths is wrong please, it stops scrolling after awhile.
...
2
votes
1
answer
2k
views
Parallax Background Size
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?
...
-2
votes
2
answers
2k
views
Road parallax background
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 ...
4
votes
1
answer
917
views
Parallax Scrolling - Layers not preserving their relational positions
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 ...
1
vote
1
answer
731
views
How can I scroll sprites when swiping using Cocos2D?
I'm adding 3 sprites (layers) to CCParallaxNode:
...
4
votes
3
answers
3k
views
Question About An Implementation Of Parallax Scrolling In C++/SDL/OpenGL
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 ...
1
vote
4
answers
647
views
How can I support scrolling when using batched rendering for my tiles?
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*...
1
vote
1
answer
660
views
Dynamic bodies with Parallax Scrolling
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'...
3
votes
1
answer
2k
views
Best method for 2 layer tile based map scrolling
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 ...
3
votes
1
answer
651
views
Creating the “game space” for a 2D game
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 ...
3
votes
3
answers
1k
views
Generating background tiles for a side-scroller with variable player speed
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 ...
4
votes
1
answer
5k
views
How to create endless scrolling landscape using coco2d's CCParallaxNode
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 ...
21
votes
5
answers
11k
views
How do I implement parallax scrolling in 2D?
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?