Post new topic    
Red Slime
Send private message
Question About Sprites and Map layers 
 PostSat Oct 16, 2010 7:29 am
Send private message Reply with quote
Is there possibly a way, through the coding of a sprite, to put it on the same layer as hero's or NPC's so that it can go under map layers over hero's and NPC's?

Or even not that but at least can go under a map layer?

If not is there a way to code it into the engine? Just adding the Z-depth of the sprite to also go under map layers?

Please help!
Liquid Metal King Slime
Send private message
 
 PostSat Oct 16, 2010 1:29 pm
Send private message Reply with quote
Can't you just use a dummy NPC as your sprite? They can be placed by the pixel, made to not move and even not effect the heroes movement.
Liquid Metal King Slime
Send private message
 
 PostSat Oct 16, 2010 2:56 pm
Send private message Reply with quote
Yes, there is a way to do this. If you want a sprite slice to go under map layer 2, you should get a handle for map layer 1 using the "lookup slice" command. Then you can attach your sprite slice to map layer 1 using the "set parent" command, and it will display underneath map layer 2
Display posts from previous: