2D Toolkit Forum
2D Toolkit => Support => Topic started by: FarzanZand on August 13, 2013, 09:53:39 am
-
Hi again, I am working on creating a parallax background where different layers move in different speeds. At first, I figured I'd just use two cameras, one orthographic and one perspective but I can't get the game view to show both. It either only shows one or the other.
Checking around these forums I saw you recommend to people to check this link that shows how parallax scrolling in 2dTk can be done, but I can't access it and I get the error message "The topic or board you are looking for appears to be either missing or off limits to you."
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,87.0.html
Can you point to the right direction so I can get the parallax background up and running? It is a 2d platformer game, and main camera is the orthographic 2dtk camera.
Best regards
Farzan
-
At first, I figured I'd just use two cameras, one orthographic and one perspective but I can't get the game view to show both. It either only shows one or the other.
You need to set up clear flags and depth properly on the cameras. Check sample #6 (button and 3D sprites) - that example uses 2 cameras.
Get this working first before trying the parallax cameras, as it relies on you understanding how this works.
Link to parallax demo:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,87.0.html
-
Thanks Unikron, I'll check it out right away.
The link you placed did not work though. I get this message ""The topic or board you are looking for appears to be either missing or off limits to you.".
-
Its in the private support forum. You need to register following the instructions here:
http://unikronsoftware.com/2dtoolkit/forum/index.php?index.php/topic,34.0.html
-
Cheers! :)
I sent in my request.