Correct Character Sprite Display
#6
You misunderstand how to use that script. You use terrain tiles to mark which tiles you want to be in front of the character when its Y is the same as the sprite, and behind if the character is lower than the tile. The author did this so that you could use star tiles for ceilings as well.

If you want to make it so that all star tiles are treated as trees, just replace the check for a terrain tile with THIS script's check for a star tile.

( "## Creates the upper sprite that's a copy of the current sprite." That was the first way I tried to solve this problem! Unfortunately doing this way, correctly, means a sprite for every 32px you are tall, and that is a lot of sprites. Since this script doesn't do that, they'll be situations where you are in front of tiles that you should be behind.)
Reply }


Messages In This Thread
RE: Correct Character Sprite Display - by Taylor - 02-05-2014, 05:53 AM
RE: Correct Character Sprite Display - by Taylor - 02-05-2014, 10:17 PM
RE: Correct Character Sprite Display - by Taylor - 02-10-2014, 09:11 AM
RE: Correct Character Sprite Display - by MechanicalPen - 02-10-2014, 05:21 PM
RE: Correct Character Sprite Display - by Taylor - 02-10-2014, 11:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Character's Dash Animation kyonides 0 772 04-08-2024, 03:50 AM
Last Post: kyonides
   Set Map's Display Name ACE kyonides 0 1,195 12-16-2022, 09:44 PM
Last Post: kyonides
   New Character Properties with Calls 2.2 PK8 9 21,986 06-11-2012, 10:46 PM
Last Post: PK8
   Victor Engine - Character Control Victor Sant 0 5,112 01-04-2012, 09:54 AM
Last Post: Victor Sant
   Victor Engine - Character Effects Victor Sant 0 4,686 01-01-2012, 02:08 PM
Last Post: Victor Sant
   Sprite Mover woratana 0 4,814 01-22-2009, 01:19 PM
Last Post: woratana
   Sprite Sun syvkal 0 5,442 03-08-2008, 04:36 AM
Last Post: syvkal
   Sprite Shadow syvkal 0 6,055 03-08-2008, 04:31 AM
Last Post: syvkal
   8-Directional Movement with Sprite Support Kylock 0 8,909 03-07-2008, 07:06 PM
Last Post: Kylock



Users browsing this thread: 2 Guest(s)