Shadow parallax

Discuss game development design and post your game ideas

Post » Sat Aug 06, 2016 2:28 am

Trying to do a shadow for an object that is flying.
I want the shadow to be higher than the object at the top of the layout, then below it at the bottom.
Does this formula sound about right?
Caster.X-(((LayoutWidth/2)-Caster.X)*0.25)
Caster.Y-(((LayoutHeight/2)-Caster.Y)*0.25)
Image ImageImage
B
169
S
50
G
170
Posts: 8,292
Reputation: 108,728

Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 4 guests