Illusion of depth using actors as layers
Toby
Member Posts: 478
Trying to find the best solution to achieve the Illusion of depth using 2 actors as layers.
- I have two identical actor images in the background overlaid on each other
- I would like to put a delay/drag on the lowest one so when the player actor moves it gives the illusion of dimension by being slightly offset from the background above depending on the direction moved.
- When the player stops moving the two backgrounds merge together again.
Get it?
- I have two identical actor images in the background overlaid on each other
- I would like to put a delay/drag on the lowest one so when the player actor moves it gives the illusion of dimension by being slightly offset from the background above depending on the direction moved.
- When the player stops moving the two backgrounds merge together again.
Get it?
Comments
Try just using an "Accelerate Toward" behavior, and tweak with the numbers and drag. Hopefully that'll work, because the other solution I have in my head'll take up easily a paragraph. Maybe two
@MillerEP: if you give the second actor a slightly slower speed, the distance between the two actor will slowly grow. My other solution does involve an offset, but it'd take a bunch of rules to gauge if he's moving to the left, to the right, up, down...