Questions tagged [parallax-scrolling]
An illusion technique for scrolling backgrounds which allows for a finer simulation of depth in 2D graphics.
63 questions
2
votes
2
answers
141
views
Pseudo-3D Parallax Shifting
everyone. I am working on a game that relies pretty substantially on "faking" 3D by using different parallaxing and polygonal transform techniques. In a current example, I am working on a ...
0
votes
1
answer
253
views
Parallax-Scrolling Effect Adding Offset in X-Axis
What I am trying to accomplish:
I want to add a parallax effect to the background of my game.
I am working in 3D space with a perspective camera.
Why:
The reason that I want to add a parallax ...
0
votes
2
answers
535
views
How do I determine parallax scroll factor?
Implementing parallax scrolling is easy enough. This question is about improving its presentation.
Hand-tuning some parallax scroll factors on multiple layers works, but parallax scrolling is meant to ...
1
vote
0
answers
96
views
Odd behaviour from parallax
First of all I'm going to say that I'm not trying to blow my own trumpet or anything but usually I'm able to figure this stuff out on my own. But as for now I'm fully stumped. Maybe I'm having a mind ...
0
votes
1
answer
597
views
How can I implement an infinite parallax background like in Slither.io?
I am trying to replicate the endless scrolling of slither.io but, I can't figure out how to implement it. Since the players can move to any direction and the background needs to be available during ...
0
votes
2
answers
452
views
Move Camera is an order so that the background doesn't move fast
I have created a game where I am moving my player on a platform. The car moves fine on the platform and the camera follows the car as well. My problem is that I wanted my background to move slowly. I ...
2
votes
2
answers
981
views
2D Parallax scrolling through GLSL shader
I currently switched from LWJGL to LibGDX. In LWJGL I had a shader to do parallax scrolling by simply adding an offset to the texture coordinates and it worked fine, the texture repeated itself when ...
1
vote
0
answers
1k
views
How to reproduce this (parallax?) effect?
I'm wondering how to imitate the camera movement like in the gif below. It´s from a Android game.
This game for example (via GIPHY)
Actually, I am not sure if this can be called a parallax effect, ...
2
votes
1
answer
398
views
How to get smooth parallax in a wrap-around world
I'm working on a multiplayer space shooter a-la Star Control melee. The background of the game consists of several layers of tiles sprites making up a parallax effect of clouds and stars. The player ...
0
votes
1
answer
425
views
What is differential scrolling?
I have seen the term a few times (e.g. here). I tried looking it up but did not find much information. I thought it would be something like parallax-scrolling, but I have seen suggestions otherwise (e....
0
votes
0
answers
116
views
Scrolling Background - smoothest way
I am trying to find the best solution for drawing a scrolling background in my app in Java. For now, I have two images and I move them by 1x and put it's thread to sleep for hmm, 5ms.
The problem is ...
1
vote
3
answers
5k
views
2D Infinite Runner : how to manage background layers?
First of all, sorry for this post, I guess this already has been discussed. I browsed stackexchange and the web but I couldn't seem to find a clear information for my case, with always mixed results.
...
1
vote
1
answer
324
views
2d parallax edges
I'm writing a mini 2d game, the scene background is based on two images with parallax effect.
I want the right edge of both images, finish at the same time matching the right edge of the canvas. But ...
3
votes
1
answer
1k
views
Parallax effect for layers in Unity2D
I have a simple game scene where i have put a number of images. I combined these images into layers (SortinLayer, to be specific). So now I have 3 layers. I have read a few tutorials, but in them was ...
1
vote
1
answer
917
views
Pause on scrolling backgrounds
I have a typical parallax backgrounds. They are scrolling by
...
6
votes
1
answer
2k
views
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 ...
0
votes
0
answers
33
views
libgdx : Scrolling background from spritesheet causes lag when sprite is repositioned... am I doing something wrong? [duplicate]
So, I use a sprite from a spritesheet to draw the background and repeat it. (I am drawing it twice) However, the moment that the background is re-positioned to make it look infinite, it causes a lag.
...
2
votes
0
answers
207
views
Unproject considering parallax depth
How can I take screen coordinates (or alternatively world coordinates on the 'primary' parallax plane) and find out what world coordinates they translate into when taking parallax depth into account?
...
0
votes
1
answer
606
views
Trouble with a modified parallax scrolling concept
I have a set of layers (each of them being a list of items) moving with different speeds as I mentioned here: https://stackoverflow.com/a/18962019/270197. Layers back in the scene move with slower ...
1
vote
0
answers
2k
views
Parallax Scrolling Road-2D [duplicate]
I'm working on a racing game which will have a top view from the back camera. The image below displays a similar example. I am confused about how to achieve the movement of the road if parallax ...
0
votes
1
answer
659
views
How to get position of CCSprite added to CCParallaxNode?
I have a CCparallaxNodeExtras that scrolls infinite (following the space game tutorial). I added as a child a CCSprite made of other CCSprite, like this:
...
2
votes
2
answers
1k
views
Parallax background positions when jumping
I am currently building my first Mobile game. The concept is pretty simple, it's a sideways scroller.
I have implemented 5 layers to act as parallax scrolling, these are working quite well for ...
2
votes
0
answers
32
views
How do I create a scrollableparallax background in AndEngine GLES1 [duplicate]
In my game I want my background to move side by side as the player moves on screen in AndEngine. I moved my sprite using analogScreenControl. I am using AndEngine GLES1. i don't want to move my ...
9
votes
2
answers
1k
views
How do I visualize parallax layers in a level editor?
I'm making a 2D game in Unity, but this would apply to any 2D game engine.
If I implement multiplane parallax with orthographic cameras, it is difficult to lay out the background layer's sprites and ...
5
votes
3
answers
2k
views
How should I implement parallax scrolling with pan and zoom in HTML5?
I'm writing a planetary motion simulator with the HTML5 canvas element and I want to put one or more layers of stars in the background. The user can click and drag the screen to navigate around the ...