Hi,
I was trying to make shadow for the main character somehow through Visionaire, i know it could be done simply if all the animations had shadow inside, but it would be too much work to change it now...
this is what i've done
function setCharacterShadow()
local position
position = game:getLink(VGameCurrentCharacter):getPoint(VCharacterPosition)
getObject("Characters[shadow]"):setValue(VCharacterPosition, position)
end
registerEventHandler("mainLoop", "setCharacterShadow")
It works, but the problem is that the shadow is over the main character ( instead of under ) can i edit the position what i got to i could set a bit different Y position to get the align right?
Next thing is that i have to set in every scene "if shadow is on scene" action part, which doesn't look much as a good solution..
Do you have experience with using shadow?
PS: It's ok to have a bouch of loops in the game, won't be that slowing down the game?
Thanks for help.