Jump to content
  • 0
Hatsuya

is this a bug or is it intentional?

Question

 

I was doing the collisions when I noticed something strange, where it was supposed to be blocked, the player could pass, but where he was not he couldn't, is this a bug or is it to work like this?ba98f42047e19783f3ff6714f78fbc23.png650c55fe384fc99ef841f38051b1eb97.png

Share this post


Link to post
Share on other sites

12 answers to this question

Recommended Posts

  • 1
16 minutes ago, Hatsuya said:

986a0638f8ba7c62208fd7be61bd1210.png

This is my sprite, all surroundings of him have 32 pixels.

7c8287708e6f251b0890f2ab9d2ded0b.png
51b6c0ab48cfc91d055d530ab7e4aeea.png

Side blocks works perfectly, only the blocks under it go through, even though the entire sprite is 32 pixels around it, so this is why i think this is a bug.

Lower your sprite to the bottom so there is not 32 pixels below him, that should fix it. Maybe a space of 2-3 pixels to allow for robe sprites or anything that goes lower than the feet.

Edit: It works horizontally because it calculated 8 pixel out from the center line, while it calculates from the bottom of the sprite vertically. Hope this explains why it works sideways and not vertically.

Share this post


Link to post
Share on other sites
  • 2

You'd have to trim the transparency off the bottom of the sprites, it creates an offset and renders the entire sprite frame. The height difference from the sprites feet to the end of frame would be rendered as well which makes it look like the player is standing on blocked tiles.

Share this post


Link to post
Share on other sites
  • 1

The events can be ran by using the option (player collide). Setting the event to 'passable' will allow the player to walk onto a tile to trigger the event.

But the Map Block attribute will overpower the event options, so don't use the block attribute on events.

If you want to block an event, you would have to use a 2 page event and a variable to determine if a player should pass or not (triggered by variable).

 

Share this post


Link to post
Share on other sites
  • 1

That's because your actual character sprite height is offset.

If you look at your sprite sheet, if there's a wide amount of transparency between the sprites feet and the end of image, it renders that transparency as space as well.

2e42b3381e8440a2bdfdbd17bd33029e.png

So you would have to trim the transparency off the actual sprite sheet for your character to look aligned correctly.

 

Share this post


Link to post
Share on other sites
  • 1

I thought Paperdoll just renders over the base sprites? So it shouldn't effect the base sprite sizes at all.

Share this post


Link to post
Share on other sites
  • 1

So your wings, you make just the wings and cut out the sprite, then it'll just render the wings over your original base.

Share this post


Link to post
Share on other sites
  • 0
17 minutes ago, Richy said:

You'd have to trim the transparency off the bottom of the sprites, it creates an offset and renders the entire sprite frame. The height difference from the sprites feet to the end of frame would be rendered as well which makes it look like the player is standing on blocked tiles.

 

But there is no transparency, it looks like an Attributes bug, because even the events I can only interact 1 block above where I put the event, there is anyway to solve this bug ?

Share this post


Link to post
Share on other sites
  • 0
8 minutes ago, Richy said:

The events can be ran by using the option (player collide). Setting the event to 'passable' will allow the player to walk onto a tile to trigger the event.

But the Map Block attribute will overpower the event options, so don't use the block attribute on events.

If you want to block an event, you would have to use a 2 page event and a variable to determine if a player should pass or not (triggered by variable).

 

 

You didn't understand, I'll send a print for you to understand better

909a096f7963bec99bb9df2c8dc2c5c4.png

This is where i placed the event

7c748a68cc36ecfc98ace9fc86578921.png

This is where i can interact with the event

 

All things seem to be 1 block above where I put. Events, Blocks, etc

 

This is normal or it's a bug ? if it's a bug there is anyway to solve it ? 

Share this post


Link to post
Share on other sites
  • 0
Just now, Richy said:

That's because your actual character sprite height is offset.

If you look at your sprite sheet, if there's a wide amount of transparency between the sprites feet and the end of image, it renders that transparency as space as well.

2e42b3381e8440a2bdfdbd17bd33029e.png

 

 

But if i cut this transparency i will cannot make elabored paperdolls like big wings, or there is anyway to make paperdolls do not cut each other ? 

Share this post


Link to post
Share on other sites
  • 0

But this still doesn't make sense, because around my sprites is 32 empty pixels around by all sides, so why side Blocks aren't affected too ? just blocks are below he

Share this post


Link to post
Share on other sites
  • 0

986a0638f8ba7c62208fd7be61bd1210.png

This is my sprite, all surroundings of him have 32 pixels.

7c8287708e6f251b0890f2ab9d2ded0b.png
51b6c0ab48cfc91d055d530ab7e4aeea.png

Side blocks works perfectly, only the blocks under it go through, even though the entire sprite is 32 pixels around it, so this is why i think this is a bug.

Share this post


Link to post
Share on other sites
  • 0
1 minute ago, WereAlpaca said:

Lower your sprite to the bottom so there is not 32 pixels below him, that should fix it. Maybe a space of 2-3 pixels to allow for robe sprites or anything that goes lower than the feet.

ooooo thanks !! It really works :D 

Share this post


Link to post
Share on other sites

×
×
  • Create New...