walk behind hill

Started by Da_Elf, Fri 24/11/2006 02:29:28

Previous topic - Next topic

SSH

I set the baseline of the walkbehinds to the top of the hill, then whenever the character is behind the hill, I set the character baseline to be 1 less than the top of the hill, or to the actual y of the character, whichever is the smaller.
12

Da_Elf

great module since it allows the use of multiple characters to follow eachother down the hill and not have the mess up with the baseline. however the problem your having with scaling being inversed is the reson i linked my characters y possition to my scale in my equation of player.Scaling = ((((299-player.y)-34)*2)+30); this equation inverts the scaling for me. if you watch your characters just as they go over the top of your 1st hill you see they get smaller imediately. then walk them down the bottom of the hill and you see they get bigger then poof, get smaller

SSH

#22
Ooops, I think was was due to a last minute change in the way I calculated the scaling. I've uploaded the fixed module as v1.01
12

SMF spam blocked by CleanTalk