View Single Post
  #1  
Old 08-30-2011, 02:19 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
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:
findimg(index).rotation 6.25 player.dir//think 6.25 is a 360° turn. 
__________________
MEEP!
Reply With Quote