Graphical glitch help, can't figure out what is wrong.

I was doing a simple monster kill/fetch variable quest and such and even though I used the correct sprites, a different sprite comes up when I go through the event and I have no clue why.


Look to below images. Bare with me because there is 8 images in the variable test.


Images 1-6(page 1,2,2.1,3,4,5) are all the coding for the event which you can see. This is just in case people would like to see the actual event pages to see what the problem is.


Images 7-8 (prob 1 and 2) are the sprite problem that shows up when playtesting the game.


The sprite problem shown in images 7 and 8 only show up when I choose the option to kill the old man(shown in image: Page 2 p2). This option takes the page to event page 4 where it first shows up and after I choose to search his dead body(as shown in page 4), it takes me to page 5 where it shows up again.


Unfortunately, even though I cropped the images, they are still big and I don't know how to resize them. 2. In images 2 and 2.1 there is 2 lines of text that can't be seen where text asks if i want to give slime cores to the old man or kill them and keep them for myself. Sorry for the profanity


page 1.png


page 2 p1.png


page 2 p2.png


page 3.png


page 4.png


page 5.png


prob 2.png


problem 1.png
Click on "Direction Fix" in the eventwindow.


its under the old man graphic.


Edit:


Normally when you talk to him from one side, he turns to you. but the spritesheet doesnt have a graphic, or more it has a graphic that looks like a different character.


so you get this result.


i guess you should also click away the "walking anim.", just to be safe with it.


(don't know if thats nessesary though)


2Edit:


By the way, i like your writingstyle.


its fun to read your dialogues 😀
Click on "Direction Fix" in the eventwindow.


its under the old man graphic.

This doesn't actually fix the problem but makes is worse believe it or not. After clicking direction fix on the pages associated with the kill him option, the glitch sprite that shows up when you talk to him is now permanent and there from the moment you kill him. Without direction fix, the glitch sprite shows up only when i interact with the body and is the correct sprite when i don't interact with it.


Image without direction fix is what I had before your answer.


Image with direction fix is the result of your answer.


Both images are currently at page 4 and when searching his body and advancing to page 5, they are the same. In page 4, the glitch sprite will show up if i interact with it, as shown in image 7-8 of the previous post.

without direction fix.png

with direction fix.png
then you really need to deselect the "walking anim."


hope that fixes it
then you really need to deselect the "walking anim."


hope that fixes it

Just re did the quest for the old man without walking animation but now its slightly better but also wierd. I would show images but i honestly can't be bothered pasting 8 new images in so you will have to take my word on it.


After choosing the kill option without any options selected on the event(no walking animation selected), the results are slightly different. The page four result is the same as in the image withdirectionfix, aka it shows the wrong sprite. However, after searching the body it shows the correct sprite for the start of the event as in prob 2(the one with the black ingame textbox in the first post). Again however, when interacting with the sprite, it shows the incorrect sprite again as shown in the same prob 2 image.
Mhm, this is wierd. i tried to recreate your problem, but for me it works fine, even with direction fix + walking anim.


because there shouldn't be a problem in the event itself.


it's just text from what i see. (plus the +25 gold), but that shouldn't affect the graphic itself.


one question:


did you deselected the walking animation and selected the direction fix on both pages?


(4 + 5) ?
Mhm, this is wierd. i tried to recreate your problem, but for me it works fine, even with direction fix + walking anim.


because there shouldn't be a problem in the event itself.


it's just text from what i see. (plus the +25 gold), but that shouldn't affect the graphic itself.


one question:


did you deselected the walking animation and selected the direction fix on both pages?


(4 + 5) ?

At the start of the problem(my first post), walking animation was on all pages 1-5


After your first answer, I added direction fix to pages 2,4,5. 2 being the transition page to 4 and 5. 4 and 5 being the problem pages.


After your second answer, I removed direction fix altogether and then removed walking animation from all the event pages 1-5 so there was no options(walking,stepping,direction and thorough) selected on any event page.
Ah ok i see,


so, you need direction fix on both pages. 4 + 5


Direction fix blocks all other directions the character could go, so if you use a standing character, that character would always look into one direction, no matter what happens.


evertime you use a "dead" or "Unconsius" body, select "direction fix"


if that doesn't help, then someone else has to answer this question. ^^°


Hopefully this problem will be fixed.
Ah ok i see,


so, you need direction fix on both pages. 4 + 5


Direction fix blocks all other directions the character could go, so if you use a standing character, that character would always look into one direction, no matter what happens.


evertime you use a "dead" or "Unconsius" body, select "direction fix"


if that doesn't help, then someone else has to answer this question. ^^°


Hopefully this problem will be fixed.

Unfortunately it didn't fix it. Before you said this, no options were selected. Now I gave direction fix to only pages 4+5. There is no other options selected on anything. Only direction fix on 4+5. And the problem is back to stage 2 where it shows the wrong sprite from the start of the page 4(after killing him) and stays the same through to page 5 after searching him.


Edit: if you should know, since you recreated the problem. Page 1+2 of the event use the insane 2 middle top priest sprite, page 3 uses people 2 middle top priest sprite and page 4+5 use damage 2 top left priest sprite. Incase this is vital info.
This doesn't actually fix the problem but makes is worse believe it or not. After clicking direction fix on the pages associated with the kill him option, the glitch sprite that shows up when you talk to him is now permanent and there from the moment you kill him.

That means the event received a turn command before it was direction fixed. Please check which direction contains the correct sprite, then add a move route turning into that direction after the battle processing but before the control self switch on your page 2. If you do this, you can keep the walking animation if you wish.


Additionally, I suggest you make your screenshots with [alt}-[prtscrn] in the future instead of the simple prtscrn - that will limit them to the active window, we don't need the entire background.
That means the event received a turn command before it was direction fixed. Please check which direction contains the correct sprite, then add a move route turning into that direction after the battle processing but before the control self switch on your page 2. If you do this, you can keep the walking animation if you wish.


Additionally, I suggest you make your screenshots with [alt}-[prtscrn] in the future instead of the simple prtscrn - that will limit them to the active window, we don't need the entire background.

Wtf is going on. This is seriously fking wierd. Please take my word on this and don't think I am lying here.


When I choose to kill the priest, for me he turns twice to the correct direction and turns into the nun sprite on my screen that I am showing in prob 3 2.png. However, during the play test, when I use alt or fn + printscreen and paste it into ms.paint which is what i use to save these images, it shows the correct sprite in place of the nun.


Basically the image is showing one thing but the game is showing something different.


Edit: The third image shows the turn commands I added which is doing this.


Edit2: If you add a third 90* rotation right to the editted event, the nun image turns into the fat merchant image to down from the nun shown in image 2.


problem 3.png


prob 3 2.png


changes made to event..png
That's because turn right is going down to the next sprite in line. The image you picked only exists in one direction, and any command to turn it will change it to the other images in the line. For reference, remember that all images are in the order:


Row one: Down direction


Row two: Left direction


Row three: Right direction


Row four: Up direction.


The merchant sprite you selected on page 1 is in row 1, so it is considered facing down. When you tell it to turn right, it is now facing left, and another turn right will have it facing up. This means it is going to go from merchant (row 1) to the image on row 2, then to the image on row 4, as that is what you are telling it to do.


What you need to be doing is using an image that exists in all 4 directions if you intend to turn it. Otherwise, you will always get this kind of behavior.
That's because turn right is going down to the next sprite in line. The image you picked only exists in one direction, and any command to turn it will change it to the other images in the line. For reference, remember that all images are in the order:


Row one: Down direction


Row two: Left direction


Row three: Right direction


Row four: Up direction.


The merchant sprite you selected on page 1 is in row 1, so it is considered facing down. When you tell it to turn right, it is now facing left, and another turn right will have it facing up. This means it is going to go from merchant (row 1) to the image on row 2, then to the image on row 4, as that is what you are telling it to do.


What you need to be doing is using an image that exists in all 4 directions if you intend to turn it. Otherwise, you will always get this kind of behavior.

I don't exactly understand what you mean but ill roll with what I do understand.


In the image below, I am trying to use the row 1 column 1 sprite of the priest. The initial problem without a move route brought up the Row 3 column 1 sprite of the old man. After telling it to turn right 90* twice, it brought up the nun sprite in row 2 column 1. After telling it to turn 3 times 90* right it brought up the merchant sprite in row 4 column 1.


What am I doing wrong?


Edit: I think I have understood what you said after some contemplation. After reducing the turn 90* down to 1, it brought up the correct sprite although I don't know why. Could anybody explain to me why rpgmaker vx ace needs me to use a move route in order to use the correct sprite and not just use it from the get go?


prob 4.png
You can't bring up row 1 column 1, at all. Any attempts to bring up the image will always bring up column 2, as columns 1 and 3 are for in motion only (all images standing still always use column 2). The only way to use column 1 or column 3 is to set it that way at the beginning and never change it (or get really lucky and catch it at just the right second in motion). Or, use GIMP to make an image with the row 1 column 1 image as one entire row.


Now, if you are getting row 3 every time, that means the image is facing right before you tell it to change the graphic, as row 3 = image is facing right. Look at how all the images are set up for the Actor images (Actor 1 - 4) that will tell you what the default directions are. If the system thinks the image is facing right, it will always go to row 3. The only way to force it to go to row 1 is to add a turn down command (as row 1 = image is facing down) before the image change command.
You can't bring up row 1 column 1, at all. Any attempts to bring up the image will always bring up column 2, as columns 1 and 3 are for in motion only (all images standing still always use column 2). The only way to use column 1 or column 3 is to set it that way at the beginning and never change it (or get really lucky and catch it at just the right second in motion). Or, use GIMP to make an image with the row 1 column 1 image as one entire row.


Now, if you are getting row 3 every time, that means the image is facing right before you tell it to change the graphic, as row 3 = image is facing right. Look at how all the images are set up for the Actor images (Actor 1 - 4) that will tell you what the default directions are. If the system thinks the image is facing right, it will always go to row 3. The only way to force it to go to row 1 is to add a turn down command (as row 1 = image is facing down) before the image change command.



Im an idiot. Since the image that came up without a movement route was r3 c1 aka facing right after telling it to turn right 90* it changes to r1c1 aka facing down, twice changes it to r2 c1 aka facing left and right again makes it face up or r4 c1.


Edit:


The real question on my mind is why my image saver made me think i was hallucinating. When play testing before I knew about the directions for the graphics, it came up as the nun but when i pressed fn+home(to prnt screen, yes my pc is wierd like that) and pasted it into paint, the nun magically changed to the priest in r1c1.
After telling it to turn right 90* twice, it brought up the nun sprite in row 2 column 1. After telling it to turn 3 times 90* right it brought up the merchant sprite in row 4 column 1.


What am I doing wrong?

What you're doing wrong is that you use the turn 90° commands. Those should never be used when selecting animation rows.


You should only use a single command, either "Turn down", "turn left", "turn right" OR "turn up" in such a case.


"Turn 90° right" and "turn right" are two different commands with different results in the move route list.


The turn 90° commands have different results depending on where the event was turned to at the beginning. using one of the direct turn commands will turn the event into the correct direction no matter from where it was accessed before.

Original thread: https://forums.rpgmakerweb.com/threads/graphical-glitch-help-cant-figure-out-what-is-wrong.62412/