Bug with the interface? Issue with option to use items on own person

  • #1, z shin-megamiTuesday, 25. October 2022, 17:46 hodinky 2 years ago
    Hi everyone!

    I have following issue: when I turn on the interface-function to be able to use items on the own character (picture 1), the character seems to get a "ghost" of himself in front of him. It seems to be a line at the edge of the character frame.
    You can't see it, but when you scroll with the mouse over it, it changes to the name of the main character (look at picture 2 and 3).
     
    Any idea how I could solve this issue?

    Thanks for the help!

    Bažant

    11 Posts


  • #2, z esmeraldaTuesday, 25. October 2022, 18:29 hodinky 2 years ago
    Is this position by any chance the edge of the sprite?
    I had this problem with the edge of a sprite becoming active for characters several times (in my case with npcs) when I converted the png file to webp.

    Zabiják klíčů

    525 Posts

  • #3, z shin-megamiWednesday, 26. October 2022, 09:40 hodinky 2 years ago
    Is this position by any chance the edge of the sprite?
    I had this problem with the edge of a sprite becoming active for characters several times (in my case with npcs) when I converted the png file to webp.

    Yes, I would say it's exactly the edge of the sprite (look at picture).
    Is there any workaround?

    Bažant

    11 Posts

  • #4, z afrlmeWednesday, 26. October 2022, 13:09 hodinky 2 years ago
    Did you convert it to webp or is it the png file? Also check there's no loose pixels in the image. VS automatically creates the polygons for characters based on the alpha mask/transpareny in the images.

    You could also try exporting the image again from whatever you used or trying different settings. I don't know what settings you used to begin with. In photoshop for example the correct settings for png is 8bit rgb.

    Imperátor

    7285 Posts

  • #5, z shin-megamiWednesday, 26. October 2022, 17:22 hodinky 2 years ago
    Did you convert it to webp or is it the png file? Also check there's no loose pixels in the image. VS automatically creates the polygons for characters based on the alpha mask/transpareny in the images.

    You could also try exporting the image again from whatever you used or trying different settings. I don't know what settings you used to begin with. In photoshop for example the correct settings for png is 8bit rgb.
    Thanks for replying and helping out!
    The files are png and probably no loose pixels.
    I'll look at it, try different settings and webp instead of png and will report if the issue is solved.

    Bažant

    11 Posts

  • #6, z shin-megamiThursday, 27. October 2022, 20:11 hodinky 2 years ago
    I've tried:
    1. to change the file from png to webp >> same issue
    2. to create a simple new 8bit rgb sprite, with nothing else than a dot in the middle>> the issue remains, the border of the sprite reacts.

    What I found out:
    - The borderline is always in the direction where the character is looking, so it's not the whole frame
    - NPCs have also this issue

    Any idea how to solve it?

    Bažant

    11 Posts