![]() |
Changing players shadow image
Hey there. I got one quick question. First off: I wasn´t sure if I should place it here or in the Scripting Forums
How can I change the shadows image of the player? I know there is the setspritesimage() command but what I want is something like this: As example I want to remake the walk.gani and add a shadow of the player which got 4 directions, it should also change in the gani (so far so good, just by removing the shadow and placing my shadow images). But how can I make it when I change the players.z that the shadow image will stay down? So my new 4 images will get counted as the default shadow. Or would that need to be scripted like: PHP Code:
|
This isn't possible to do the simple way because only sprite index 0 will stay in position once Z is adjusted.
It would be somewhat of a hack but you could try having 4 different ganis for each direction. |
Ok thanks. So it should look like this:
PHP Code:
PHP Code:
|
Quote:
|
Ok thanks
|
| All times are GMT +2. The time now is 02:15 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.