Neon Black's Large Sprite Fix

Discussion in 'JS Plugin Releases (RMMV)' started by Shaz, Nov 12, 2015.

  1. Shaz

    Shaz Veteran Veteran

    Messages:
    37,718
    Likes Received:
    11,428
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Neon Black's Large Sprite Fix

    2015.08.11

    by Neon Black

    Introduction

    This is Neon Black's Large Sprite Fix ported from Ace.  The MV script was written by Neon Black - I just made a fix to it while he was unavailable.

    How to use

    Please read plugin instructions.

    Script MUST be saved as CP_Large_Sprite_Fix.js in your js/plugins folder.

    Plugin

    Download from pastebin

    Credit

    - Neon Black

    Terms

     
    Last edited by a moderator: Nov 13, 2015
    #1
    RitualTeeth, SpacemanFive and djDarkX like this.
  2. Candacis

    Candacis Pixel Pusher Restaff

    Messages:
    1,446
    Likes Received:
    1,933
    Location:
    Vienna
    First Language:
    German
    Thanks! I really need this script for my bigger sprites :) Very useful.
     
    #2
  3. djDarkX

    djDarkX Retro & Remastered Music Guru Veteran

    Messages:
    2,699
    Likes Received:
    1,887
    Location:
    Currently unsure...
    First Language:
    Music
    Primarily Uses:
    RMMV
    Not to sound ungrateful or anything, but didn't he include this in the plugin pack already?  Cuz, it's in there, unless this has extra fixes the original one he provided doesn't. Mostly, I'm just confused. o.o

    Oh, nevermind.  I need to really read everything in the OP sometimes. lol

    I see that you said you made a fix while he was unavailable.  Kudos!
     
    Last edited by a moderator: Nov 12, 2015
    #3
  4. Shaz

    Shaz Veteran Veteran

    Messages:
    37,718
    Likes Received:
    11,428
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Yes, the dlc has the original, buggy version.  This is the fixed version, which I expected to be in the update, but wasn't.  So the fixed version was not available anywhere, until now.

    Also, a lot of the plugins shipped with the engine have had threads made here.  People need somewhere to go for support ;)
     
    Last edited by a moderator: Nov 13, 2015
    #4
    djDarkX likes this.
  5. MikeMakes

    MikeMakes Veteran Veteran

    Messages:
    160
    Likes Received:
    41
    First Language:
    English
    I'm using the one that came with the engine. My character appears in front of a star tile when the y position is greater than and appears in the back when the y is less than. However, when my character appears in the middle of two star tiles, he stands behind both tiles.

    With this version, my character is always behind any star tiles no matter what. So now my character can't be in the front when his y position is greater than the tile's y position.

    Is there supposed be that difference?
     
    #5
  6. Shaz

    Shaz Veteran Veteran

    Messages:
    37,718
    Likes Received:
    11,428
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    There is still an issue with the script.  I'm looking at it today.
     
    #6
  7. Cinnamon

    Cinnamon Veteran Veteran

    Messages:
    605
    Likes Received:
    209
    First Language:
    English
    Hey!

    I just switched to this script from the one that came with the engine, but it doesn't work? I add a <large sprite> in a comment box in the event, but it still disappears behind star tiles. :/ The player has the same problem. The old script didn't work either btw.

    snippet2.png
     
    Last edited by a moderator: Nov 25, 2015
    #7
    MikeMakes likes this.
  8. MikeMakes

    MikeMakes Veteran Veteran

    Messages:
    160
    Likes Received:
    41
    First Language:
    English
    Yeah, I'm wondering is this still being worked on and who might be working on it or is it put on hold for now.
     
    #8
  9. Cinnamon

    Cinnamon Veteran Veteran

    Messages:
    605
    Likes Received:
    209
    First Language:
    English
    I just removed all custom plugins etc. and as you can see it really does not work.

    The portal is just disappearing below the upper tile of the bench, which uses a star? Same goes for the top of the player. I'm confused as to how this is not working at all. o_O

    snippet3.png
     
    #9
  10. Cinnamon

    Cinnamon Veteran Veteran

    Messages:
    605
    Likes Received:
    209
    First Language:
    English
    No one else interested in having this script? O___o

    Come on, it's a pretty HUGE bug. Someone must have a fix?
     
    Last edited by a moderator: Nov 27, 2015
    #10
  11. Shaz

    Shaz Veteran Veteran

    Messages:
    37,718
    Likes Received:
    11,428
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    I have a task to fix it, but I'm struggling.


    It is not stopping you from making your game. As long as it's fixed by the time you're ready for release ...


    Otherwise, work within the limits of the engine and don't use huge sprites.
     
    #11
  12. MikeMakes

    MikeMakes Veteran Veteran

    Messages:
    160
    Likes Received:
    41
    First Language:
    English
    I hear you, Shaz. I was developing something like this for my own rpg engine framework, and the hard part was getting each individual tiles and actor Y reference to sort correctly from the player's position. I got it down but decided to move to MV anyway.

    Hopefully you can figure things out, especially for those of us that do custom graphics.
     
    Last edited by a moderator: Nov 27, 2015
    #12
  13. Shaz

    Shaz Veteran Veteran

    Messages:
    37,718
    Likes Received:
    11,428
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    If you got it in Ace, I wouldn't mind seeing it if you don't mind sharing.
     
    #13
  14. MikeMakes

    MikeMakes Veteran Veteran

    Messages:
    160
    Likes Received:
    41
    First Language:
    English
    I wish I did it in Ace, so I can get it to you. However, it was for a custom framework.
     
    Last edited by a moderator: Nov 27, 2015
    #14
    Cinnamon likes this.
  15. Cinnamon

    Cinnamon Veteran Veteran

    Messages:
    605
    Likes Received:
    209
    First Language:
    English
    We're releasing on Steam in 2 weeks though. :)

    [edit nevermind see 2 posts down]
     
    Last edited by a moderator: Nov 28, 2015
    #15
  16. Cinnamon

    Cinnamon Veteran Veteran

    Messages:
    605
    Likes Received:
    209
    First Language:
    English
    Does this script have basic functionality for you?

    i.e. a star tile 1 y position above the player, does the player's head show above or below this tile?
     
    #16
  17. MikeMakes

    MikeMakes Veteran Veteran

    Messages:
    160
    Likes Received:
    41
    First Language:
    English
    Do you mean by Neon's plugin? I do plan to use it, but currently the player's head always shows below the star tile no matter what after the terrain tag setting of 7.
     
    Last edited by a moderator: Nov 28, 2015
    #17
  18. Cinnamon

    Cinnamon Veteran Veteran

    Messages:
    605
    Likes Received:
    209
    First Language:
    English
    Yeah or Shaz's edit. :)

    Edit: Oh, hey, I accidentally located the source of the bug.

    If the <large sprite> is on a star-tile, then it won't show above the star tile y-1 above it.

    If it's NOT on a star tile, then it actually works. Cool.

    Edit 2: OH, Mike, are we talking about the same bug? I didn't realize that before. I thought you were talking about having 2 star tiles on the same spot.

    bugpriority.png
     
    Last edited by a moderator: Nov 28, 2015
    #18
  19. Shaz

    Shaz Veteran Veteran

    Messages:
    37,718
    Likes Received:
    11,428
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Yes, we've already established that the bug is due to two star tiles, with the player between them.
     
    #19
  20. MikeMakes

    MikeMakes Veteran Veteran

    Messages:
    160
    Likes Received:
    41
    First Language:
    English
    Yes, to give a visual representation:

    [​IMG]
     
    Last edited by a moderator: Nov 28, 2015
    #20

Share This Page