MSS - Correct Sprite Display

Logo.png



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:

Spoiler
Changes this:
Messed%2520up%2520Display.png


To this:

Correct%2520Sprite%2520Display.png
Script:

Demo not necessary.

Script Download

Credits:

  • mobychan

FAQ:

n/a

Want to request something?

Please look here
Just tested this on my project, which is kind of script heavy. Works like a charm, thanks!
No problem ^^
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.

faqz0.png
I'll look at it as soon as I get home this evening and post a new version ^^
Awesome script~ Lol, saves me a lil' extra time. 🙂
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.
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?
ah okay, I'll send it to you via PM.
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.

3467tk4.png


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 
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.

Spoiler
faqz0.png
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: 🤔 😎

Please let me know if this works for you.
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).
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.
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?
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
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
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.
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.
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.
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.
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
You are using victor scripts, expect that it'd never work with 95% of the scripts released without modification.
You are using victor scripts, expect that it'd never work with 95% of the scripts released without modification.
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 🙁

Original thread: https://forums.rpgmakerweb.com/threads/mss-correct-sprite-display.2803/