|
Post by infinitedesign on Sept 8, 2020 22:00:23 GMT
in lvl 0 the player falls through clouds..how to set the x parallax to be -1 (to go other way)??
|
|
|
Post by infinitedesign on Oct 15, 2020 4:26:16 GMT
Hey luis, how do i flip the x parallax?? ::currently the foreground layer goes the wrong way
|
|
|
Post by Luís Pedro Fonseca on Oct 20, 2020 8:08:31 GMT
Hi infinitedesign, there's no concept of negative speed on parallax. Parallax is a very specific camera effect where we get the illusion of perspective based on the different elements speed. Objects can't move in negative directions to the camera, otherwise it wouldn't be the parallax effect. What are you trying to achieve? Maybe there's some other way to do it.
|
|
|
Post by infinitedesign on Oct 21, 2020 23:49:32 GMT
i want a layer in the the foreground with say a pillar sprite (seemingly super close to the camera) to move from right to the left as the character walks left
|
|
|
Post by Luís Pedro Fonseca on Oct 22, 2020 10:03:45 GMT
infinitedesign That behaviour would be incorrect from a Parallax perspective. A static object would never move on the opposite direction of the camera. Objects closer to the camera simply move faster than objects further away. If you want that behaviour you'll have to adjust the code or create your own camera extension. Cheers
|
|