An illusion technique for scrolling backgrounds which allows for a finer simulation of depth in 2D graphics.
1
vote
1answer
79 views
Gap in parallaxing background loop
The bug here is that my background kind of offset a bit itself from where it should draw and so I have this line. I have some troubles understanding why I get this bug when I set a speed that is ...
2
votes
2answers
276 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
492 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
246 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 ...
8
votes
2answers
395 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 ...
1
vote
1answer
195 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 ...
5
votes
3answers
486 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
221 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
238 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
149 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
544 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
935 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
488 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
209 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
486 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
...
2
votes
3answers
1k 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
4answers
492 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 ...
1
vote
1answer
519 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. ...
2
votes
2answers
1k 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
1answer
514 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
3answers
979 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
1answer
4k 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 ...
11
votes
5answers
2k views
How can I implement parallax scrolling into my 2D game?
Let's say I have three layers: a foreground, an intermediate-ground and a background. What is involved in using these three layers to create parallax scrolling?