MSS - Correct Sprite Display

mobychan

CodeMaster
Veteran
Joined
Mar 23, 2012
Messages
297
Reaction score
44
First Language
German
Primarily Uses



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:


To this:

Script:

Demo not necessary.

Script Download

Credits:

  • mobychan

FAQ:

n/a

Want to request something?

Please look here
 
Last edited by a moderator:

Rapu

One foot in grave, the other in hell.
Member
Joined
Mar 13, 2012
Messages
46
Reaction score
6
First Language
Finnish
Primarily Uses
Just tested this on my project, which is kind of script heavy. Works like a charm, thanks!
 

mobychan

CodeMaster
Veteran
Joined
Mar 23, 2012
Messages
297
Reaction score
44
First Language
German
Primarily Uses
No problem ^^
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
14,730
Reaction score
14,575
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.

 
Last edited by a moderator:

mobychan

CodeMaster
Veteran
Joined
Mar 23, 2012
Messages
297
Reaction score
44
First Language
German
Primarily Uses
I'll look at it as soon as I get home this evening and post a new version ^^
 

SanaBoRSoD

Warper
Member
Joined
Jul 3, 2012
Messages
1
Reaction score
0
First Language
English
Primarily Uses
Awesome script~ Lol, saves me a lil' extra time. :)
 

mobychan

CodeMaster
Veteran
Joined
Mar 23, 2012
Messages
297
Reaction score
44
First Language
German
Primarily Uses
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?
 

BMoz

Veteran
Veteran
Joined
Aug 24, 2012
Messages
37
Reaction score
3
First Language
English
Primarily Uses
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.



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:

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
707
Reaction score
240
First Language
Javascript
Primarily Uses
RMMV
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.

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:

alextriad

The Last Namekian Warrior
Member
Joined
Oct 12, 2012
Messages
6
Reaction score
0
First Language
English
Primarily Uses
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).
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
14,730
Reaction score
14,575
First Language
Filipino
Primarily Uses
VNM
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?
 

BMoz

Veteran
Veteran
Joined
Aug 24, 2012
Messages
37
Reaction score
3
First Language
English
Primarily Uses
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
 

Sales_Kital

Digidestand
Veteran
Joined
Dec 20, 2012
Messages
30
Reaction score
2
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
 

Dylstew

Villager
Member
Joined
Dec 8, 2013
Messages
19
Reaction score
0
First Language
Dutch
Primarily Uses
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:

Dylstew

Villager
Member
Joined
Dec 8, 2013
Messages
19
Reaction score
0
First Language
Dutch
Primarily Uses
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:

Celianna

Tileset artist
Global Mod
Joined
Mar 1, 2012
Messages
10,543
Reaction score
5,551
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.
 

Dylstew

Villager
Member
Joined
Dec 8, 2013
Messages
19
Reaction score
0
First Language
Dutch
Primarily Uses
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
 
Last edited by a moderator:

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
14,730
Reaction score
14,575
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.
 

Dylstew

Villager
Member
Joined
Dec 8, 2013
Messages
19
Reaction score
0
First Language
Dutch
Primarily Uses
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 :(
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts


Spending the day reworking my maps, especially the first "biome". This time it's not even in the dark. :LZSwink:
Activity on the forums has increased lately, probably because of people staying home. The amount of work for moderators has increased lol.
At this point I've gotten so tired of April Fools on the internet that last year I just refused to even post anything on the RMW Social Media on April Fools in protest. Considering doing it again.
I posted a funny gag reel of Drifty's video's here, but realized it was probably too riskay, so I deleted it, oops, lol.
Another room (actually other half of previous room)

Forum statistics

Threads
95,519
Messages
929,756
Members
125,783
Latest member
vashx
Top