An illusion technique for scrolling backgrounds which allows for a finer simulation of depth in 2D graphics.
2
votes
1answer
173 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 ...
3
votes
1answer
217 views
How do I implement an AutoParallax Background in AndEngine GLES1?
I'm using AndEngine GLES1. In my game, I use AnalogOnScreenControl to move a sprite and when it moves vertically, the background image also moves vertically. I want to do something like this: that is ...
2
votes
0answers
27 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 ...
2
votes
1answer
142 views
Showing Parallax entity and AutoParallax entity on same scene in AndEngine
How do I create both a parallax background and an autoparallax background in the same scene using andengine?
The problem is, I want one entity to move at a constant speed regardless of the camera's ...
6
votes
1answer
248 views
How to best visualize parallax layers in a level editor?
I'm working out a 2d game in Unity, but this would apply to any game engine when making a 2d game.
If I implement multiplane parallax with orthographic cameras, it is difficult to lay out the ...
1
vote
1answer
169 views
How do I make camera follow the player within some bounds?
I am creating a simple ambient/explorer platformer. Because I want the player to only be able to see a new area once they have reached it, I decided to split up the world in rooms.
To not make things ...
4
votes
2answers
388 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 ...
0
votes
1answer
178 views
To stop Spite animation scrolling along the background in openGL ES
After using the endless road algorithm as described here, I also implemented the scrolling of walls along with it.
I have the walk animation of the person which is stationed at the center of the ...
0
votes
0answers
224 views
Making a Background Scrolling in Stacking Game
Hmmm...Is it a good idea to use a LibGDX parallax background for making a stacking game (i.e. PAPA STACKer Lite)? For example, I'm starting to use the blocks to drag-n-drop it. Next, when the next ...
0
votes
1answer
123 views
Scrolling background stops after awhile? [closed]
Can anyone tell me where my maths is wrong please, it stops scrolling after awhile.
if (background.position.y < background2.position.y)
{
background.position = ccp(background.contentSize.width ...
1
vote
1answer
499 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?
...
-3
votes
1answer
869 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 ...
2
votes
1answer
458 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 ...
0
votes
0answers
204 views
detect sprites by tag in parallax
I've created 3 layers and added to a parallax node in my game play scene;
I don't know why it crashes when I'm enabling touch, self.isTouchEnabled = YES; on one of my layers; I want that touch to be ...
1
vote
1answer
457 views
How can I scroll sprites when swiping using Cocos2D?
I'm adding 3 sprites (layers) to CCParallaxNode:
BGLayer = [CCSprite spriteWithFile:@"Layer.png"];
[_backgroundNode
addChild:BGLayer
z:2
parallaxRatio:layer1Speed
...