MSS - Correct Sprite Display

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by mobychan, Jun 27, 2012.

    Tags:
  1. mobychan

    mobychan CodeMaster Veteran

    Messages:
    297
    Likes Received:
    44
    Location:
    Baden-Würrtemberg - Germany
    First Language:
    German
    [​IMG]



    Correct Sprite Display - V1.0

    Last Update: 2012.06.26


    Updates:

    • 2012.06.26: Update to V1.0:
      Script made

    Script Description:

    This script corrects how sprites will be displayed, to prevent errors happening when the sprite is higher than 32px and the tile above it is set to star passability.

    This script is Plug'n'Play, just put it in it's own slot in Script Editor below Materials and above Main.

    Compatible Scripts:

    This Script is made for use with Anaryu's Particle Engine, however it will work without it too.

    Screenshots:

    Changes this:[​IMG]

    To this:

    [​IMG]
    Script:

    Demo not necessary.

    Script Download

    Credits:

    • mobychan

    FAQ:

    n/a

    Want to request something?

    Please look here
     
    Last edited by a moderator: Aug 1, 2012
    #1
    RocketKnight, alextriad, Ksi and 12 others like this.
  2. Rapu

    Rapu One foot in grave, the other in hell. Member

    Messages:
    46
    Likes Received:
    6
    Location:
    Finland
    First Language:
    Finnish
    Just tested this on my project, which is kind of script heavy. Works like a charm, thanks!
     
    #2
  3. mobychan

    mobychan CodeMaster Veteran

    Messages:
    297
    Likes Received:
    44
    Location:
    Baden-Würrtemberg - Germany
    First Language:
    German
    No problem ^^
     
    #3
  4. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,636
    Likes Received:
    14,384
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    Hello Mobychan, I found a bug with this script. Apparently if you use change event location and has below hero, the event appears above the hero?

    When I removed the script, the game works fine.

    [​IMG]
     
    Last edited by a moderator: Jun 30, 2012
    #4
  5. mobychan

    mobychan CodeMaster Veteran

    Messages:
    297
    Likes Received:
    44
    Location:
    Baden-Würrtemberg - Germany
    First Language:
    German
    I'll look at it as soon as I get home this evening and post a new version ^^
     
    #5
  6. SanaBoRSoD

    SanaBoRSoD Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    English
    Awesome script~ Lol, saves me a lil' extra time. :)
     
    #6
  7. mobychan

    mobychan CodeMaster Veteran

    Messages:
    297
    Likes Received:
    44
    Location:
    Baden-Würrtemberg - Germany
    First Language:
    German
    Hey Aracheia,

    I tried everything I could think of, but I can't really replicate what's happening.

    Did you try in a new project?

    maybe some other script is interfering...

    Could you upload a demo with you problem?
     
    #7
  8. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,636
    Likes Received:
    14,384
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    ah okay, I'll send it to you via PM.
     
    #8
  9. BMoz

    BMoz Veteran Veteran

    Messages:
    37
    Likes Received:
    3
    First Language:
    English
    I love the script but I seem to always have 1 problem that really is annoying (I get paranoid). It happens if the sprite moves in front of a stared tile onto a non starred one. The sprite goes behind the star tile when you move instead of still being on top.

    Kinda annoying the have the sprite be on top for a sec and then the head is behind the tile while it's moving.

    [​IMG]

    Here's an example of the issue, when the player is meant to be in front hes not, I can "sorta fix this with going to the side but not down 
     
    Last edited by a moderator: Feb 23, 2013
    #9
  10. ct_bolt

    ct_bolt Creator Veteran

    Messages:
    466
    Likes Received:
    94
    Location:
    Planet Earth
    First Language:
    Javascript
    Ok I was having this happen also, it is a very odd bug. I solved this issue by creating a new map and placing the same event on that map, running the game with the player on the map, then switching back and replacing the event... I'm still not sure how this worked but it did. Hope that helps... I'm also curious as to what the real problem is. :dizzy: :unsure: B)

    Please let me know if this works for you.
     
    Last edited by a moderator: Feb 23, 2013
    #10
  11. alextriad

    alextriad The Last Namekian Warrior Member

    Messages:
    6
    Likes Received:
    0
    Location:
    United States of America - NJ
    First Language:
    English
    Thank goodness for this script.  I originally wanted to make a game with the High Fantasy Resource bundles and I was looking forward to the High Fantasy Resource bundle 2 before it even came out.  The resource pack characters have already the default format for VX / VX Ace. It even came with a script to supposedly fix this problem you present here, however the script is failure and doesn't seem to work.  But,

    This script here works like a charm!!! 

    Furthermore, it is really annoying that the High Fantasy series of Resources Packs are accessed through www.rpgmakerweb.com and the format engine isn't even flexible to support all the human character sprites from the pack.  Even the children are taller than 32. 

    VX is frustrating but oh well.  If I make an anime themed game I'm going to use XP.  I also can't stand placing tiles tiles without using a layer system (I know you can put B-E tiles over A tiles but it doesn't seem like a true layer system since placing A tiles over B-E errasing the current B-E tile in place).
     
    #11
  12. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,636
    Likes Received:
    14,384
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    Wait, lemme see if I got this right. A star tile appears above all events and player. so if you move to from star-non-star, that happens?
     
    #12
  13. BMoz

    BMoz Veteran Veteran

    Messages:
    37
    Likes Received:
    3
    First Language:
    English
    yes, it seems to happen when the character moves from in front of the star tile (script in effect here), to somewhere else it goes behind the star tile for a sec while moving
     
    #13
  14. Sales_Kital

    Sales_Kital Digidestand Veteran

    Messages:
    30
    Likes Received:
    2
    Location:
    File Island
    First Language:
    English
    Primarily Uses:
    RMMV
    I keep getting an error when I try to start my game with this script.(see attached)  I included the list of scripts i currently have in the image.

    Error message.png

    Error message.png
     
    #14
  15. Dylstew

    Dylstew Villager Member

    Messages:
    19
    Likes Received:
    0
    First Language:
    Dutch
    Thank you so much  for this script, exactly what I needed. I hope this is compatible with Victor's Scripts http://victorscripts.wordpress.com/rpg-maker-vx-ace/, but I'll find that out later. the same goes for the script that makes me able to use RPGXP characters by just putting a symbol in the name of the image file.

    I did notice that if you walk down, it stops working.
     
    Last edited by a moderator: Dec 9, 2013
    #15
  16. Dylstew

    Dylstew Villager Member

    Messages:
    19
    Likes Received:
    0
    First Language:
    Dutch
    I'm sorry to bother you, but when I can walk outside of the screen to the right and downwards, and when I do so I get the error: ''Script 'Correct Sprite Display' Line 84: TypeError occured. No implicit conversion from nil to integer.

    edit: Turns out, it was just because I didn't set up my tileset correctly(the fact that it crashes however is pretty strange).

    However, the fact remains that the script doesn't fully work as intended.
     
    Last edited by a moderator: Dec 10, 2013
    #16
  17. Celianna

    Celianna Tileset artist Global Mod

    Messages:
    10,520
    Likes Received:
    5,531
    First Language:
    Dutch
    Primarily Uses:
    RMMV
    Dylstew, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


    Edit your previous post if you've got something to add.
     
    #17
  18. Dylstew

    Dylstew Villager Member

    Messages:
    19
    Likes Received:
    0
    First Language:
    Dutch
    Oops , sorry. I'm well aware of that, but I didn't pay attention. Didn't do it on purpose, I'll watch it next time.

    edit: The crash now happens when randomly walking around, I noticed now.

    The scripts I have are:

    MSX - XP Characters on VX/VXAce

    Mobychan's Script System - Correct Sprite Display V1.0

    Unlimited Graphically Layered Maps v1.0.1( Just put this in, still don't know how it works but it happened aswell before I put this one in)

    Victor Engine - Diagonal Movement

    Victor Engine - Pixel Movement

    Victor Engine - Fixed Parallax

    Victor Engine - Basic Module
     
    Last edited by a moderator: Dec 11, 2013
    #18
  19. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,636
    Likes Received:
    14,384
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    You are using victor scripts, expect that it'd never work with 95% of the scripts released without modification.
     
    #19
  20. Dylstew

    Dylstew Villager Member

    Messages:
    19
    Likes Received:
    0
    First Language:
    Dutch
    So I can't have RPG Maker XP Sprites and his battlesystem?

    I've always used his ''Atoa custom battle system'' in Rpg maker XP, The thing that made me buy Ace is that he stopped with those scripts and started scripting for VX Ace, only to find out the mapping was horrible. So I tried the whole XP thing with parallax, which seemed to work: Except for the sprites walking in front of sprites. So after all that work, this one little thing is going to render it pretty much useless? -_- Might've well just made an XP game :(
     
    #20

Share This Page