Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Resolved] Tall Sprite Layer Issues


Soryn
 Share

Recommended Posts

I'm using 64x32 sized sprites… They look and work great until I stand below another NPC. When I do, it looks like the other NPC is standing/walking on my character's face. Not really sure how to handle this. I'm sorry if this has been brought up before. I did search but I didn't come up with a solution.

Anyway, it looks like its fine for NPCs walking, just not players using the same sprite. Any idea why the top half of my player sprite is being treated differently than the top half of a npc?

Thanks in advance for the assist.
Link to comment
Share on other sites

What version are you using?

I was going to make tutorial of that but have no time.

Look here at my post, I described a concept in simplest way.

[http://www.touchofde…n/page__st__220](http://www.touchofdeathforums.com/community/index.php?/topic/130284-eclipse-reborn/page__st__220)

If you still dont understand it, PM me ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
Link to comment
Share on other sites

@iraasta thanks for the fix. Worked like a charm.

@death Ya I'm using your ER instead of using EO as you guys suggested to me… I honestly can't stand the new layout Eclipse is going with these days. So much wasted space and I really didn't want to reinvent the wheel by redoing it to look more like yours. Big clunky menus that take away from the game screen are such a turn off as both a dev and a player. I'm sure I'll be changing yours too but it won't require as much editing.
Link to comment
Share on other sites

Well, I did something I wanted to do anyway. The fix from what I could see requires 1 additional layer - I mixed it up a bit. I changed my sprites to be 2 parts… lower and upper. This allows players to have different heads and bodies which is something I wanted anyway. I use the different heads kind of like how you do different hair.

Anyway, the player head layer is put on top of the NPC lower layer and the player body layer stays below the NPC lower layer. This also works with 64x NPCs without having to add an additional layer for their top 1/2\. I haven't tested this with anything over 64x. But I doubt it would work without some more modifications.

Here is the basic rendering order (bottom to top)

Ground

Mask Layers

Player Lower

NPC

Player Upper

Fringe Layers

There are other things drawn in, but for the sake of simplicity, I just didn't add them in. Sorry I didn't clarify his solution just gave me an idea on how to handle things.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...