Help! Sprites aren't lined up with the map grid???

Guys! I need help!

Okay, so I'm working on a new project where I'm having to create my own map tilesets and my own sprites. Nothing too fancy, as I really have very little talent in this field. I am aware that the grids are 48x48 pixels and I created everything to line up with that grid. The tilesets work perfectly, if a little janky because of their simplistic design (you'll see what I mean here in a second) and the sprites work great for what they are. They're just... images in a set.

1650772352647.png

So... what did I do wrong? Why do they look like this when I load up the game?

The sprites noticeably don't match the map grid.

1650772403173.png


Is there anything I can do to fix this? I haven't tried editing the sprites themselves because I'm worried that will cut off the bottom of the images. They were created to match the grid perfectly.

Can this be fixed at all?

~ D.C.
If you're going to create your own assets, you should make sure to read through the documentation on the asset standards in the help file 😉

Near the beginning of that section, under Characters, it says:
Including a "!" at the beginning of the file name will prevent the image from being shifted 6 pixels and will no longer appear half transparent by bush elements.

So rename those sprites with an "!" at the beginning, reassign them in your events, and it should look the way you want.
Wait, seriously? So this entire time I've been an idiot?

Okay, I'll give it a try! Thank you!

~ D.C.
Ninja'd while I was looking for the link, but I'll post it anyways. Avery has a great tutorial here about structuring and naming character sets to avoid pitfalls like these!
I'm so confused... I did the ! thing and put that in front of all three images. But... the weird thing is... it fixed the NPC sprite set... and only a few of the Misc. sprites. It didn't fix the Player sprite and it didn't fix the rest of the Misc. sprites that are in the same image file.

1650775463793.png

The chest and the arrow are on the same image file as the sleeping heart...

And another weird thing is when I renamed the files, it wouldn't load my game because the previous files didn't exist, even though I changed every file in the game itself before loading the game. So I had to copy the renamed files and rename them back to what I originally had, even though they now technically don't exist in the game file. *sighs*

~ D.C.
And another weird thing is when I renamed the files, it wouldn't load my game because the previous files didn't exist, even though I changed every file in the game itself before loading the game. So I had to copy the renamed files and rename them back to what I originally had, even though they now technically don't exist in the game file.
Your other problems are probably related to this - any time you change anything in your game, you have to start a new playtest. The exception is maps, technically you'll see changes to those when you leave and reload the area, but anything that touches your files or database requires a new game.
That's the thing. I save my game, close out of it completely, and then restart RPG Maker MV itself. It doesn't change anything. It's doing it with the original KADOKAWA files too. I have no trace of these images in my game or system file and it won't let me do anything unless I have those character sets in the file. I've tested and retested this several times.

I don't know what else to do...

~ D.C.
That's the thing. I save my game, close out of it completely, and then restart RPG Maker MV itself.
I'm confused. Please make sure you're clear between "saving your game" (you're playing it, you go into the menu, save into a slot) and "saving your project" (you're in the editor and hit the save button).

The former means you're doing something wrong, because as I said above you can't load a save game after you make changes. The latter is correct, and there's zero reason to close and restart MV.
It doesn't change anything. It's doing it with the original KADOKAWA files too. I have no trace of these images in my game or system file and it won't let me do anything unless I have those character sets in the file.
You're mistaken somewhere. The file names are being referenced by something - an event, an animation or actor in the database, someplace. After you change the filename, you'll need to reset everything that used it - if that's an event, edit the event and select the image again.

Same thing for the "player sprite" (which I assume is the image for an actor in the database). You have to make it reference the new filename.
My project. And I'm going to assume that I have to restart my entire project. I'm going to show you everything in my database. Everything that would possibly connect to those images. You'll see what I mean...

Spoiler
This is the starting map. The middle event is the player sprite. As you can see, it is blank. So I can do my introductory event. That event is in the top corner.
1650777426060.png


In that event, this area here is the only spot that connects to the player sprite image.

1650777485335.png


1650778219308.png

Here is all possible image connections in my database:

Spoiler
1650777542286.png


1650777574708.png


Both are completely blank. They don't link to any image at all. I cleared out the ship, boat, and airship because I don't need them. They are no where else in the system file, except for the image itself.


These are every one of my sprite images.

Spoiler
There are three maps total at the moment. The Beginning, the Player's Room, and the Leaving Silverwater.

1650777859895.png


I already showed you the Player's Room. These are the sprites in that map.

1650777699395.png


1650777742249.png


1650777786453.png


This is 'Leaving Silverwater'.

1650777922527.png


These are the only events in that map. The bottom corner is the continuation of the story. It links to the empty event near the bottom. The empty event is the first NPC.

1650778010012.png


1650778037642.png


This was the NPC set that was fixed with the !. It is no different from the Player sprite set.

This arrow event was also fixed, like the sleeping heart.

1650778123056.png


The other arrow, I have no idea, because I closed out of the game immediately upon getting frustrated.

1650778171744.png

I would really like to know where the other image files are in my game, please. Because I honestly can't find them. I have never had this problem with any other project that I made. I was able to delete files or replace them without any consequence. This... is frustrating beyond measure. I'm sorry.

~ D.C.

Edit:// I have tried three different times to try and fix the spoiler buttons... Are you freaking kidding me? Please tell me the correct format so I can fix what the auto button failed to do?
I've never had any issues with the spoiler button, but you appear to have multiple closing tags and no open tag for it.

As far as your project goes...everything looks fine (what's the point of not setting Vyri's sprite in the database?). If you run a playtest and select new game and it crashes, press F8, go to the console tab, and post a screenshot of your errors.
Thank you. Anyway, the point of not setting Vyri's sprite in the database is so that the sprite doesn't show on the black map for the introductory scene. It allows me to set the sprite when I'm ready to transition from that one to the next map.

But that's exactly my point... everything looks fine. Until it isn't...

So if I delete all the unused file images... and leave just those three...

1650779428422.png


Close my project and then reopen it...

Start a new game...

1650779509700.png


1650779575090.png


I deleted the file... because it's not in my system... but it still says something is linking to it.

Be honest with me... am I going to have to recreate what I've done for my project? I guess... it wouldn't be too bad. It wouldn't take me as long as the first rendition, but it still sucks, you know?

~ D.C.
I'm not sure why you keep talking about recreating the project, it doesn't look like you have that much in there to troubleshoot.

Are you sure that Vyri's character image is set to none, and not to Player1.png?

The somewhat obvious solution to me is to simply copy !Player1.png as Player1.png and see where it shows up in the game.

You could also run a search on your JSON files for Player1.png to see where it shows up and replace the filename there.
so that the sprite doesn't show on the black map for the introductory scene.
There is a setting for that in the database, System tab.
Check the box for "start transparent" and the player will remain transparent and invisible until you change that setting with the event command.
but it still says something is linking to it.
when it gives the error message, it means that something is still referencing the old sprite somewhere.

my first guess is that you forgot to remove the actors from the starting party when removing them from the actor tab, which is often overlooked by new users.
and if they do not exist in the actor tab, they no longer have a name displayed in the starting party but are still there.

if that is not the case, search the json files with a multifile text editor to find the missing reference
"Are you sure that Vyri's character image is set to none, and not to Player1.png?"

Yes, I'm sure.

"The somewhat obvious solution to me is to simply copy !Player1.png as Player1.png and see where it shows up in the game."

My brain is so muddled right now, I have no idea what you mean by that. Deleting the original Player1 image didn't work, so I just left it alone in the folder after Ctrol-Z'ing the action.

"my first guess is that you forgot to remove the actors from the starting party when removing them from the actor tab, which is often overlooked by new users.
and if they do not exist in the actor tab, they no longer have a name displayed in the starting party but are still there."

If you look at the images I put in this thread, you'll see that isn't the case at all. I am not a new user and know very well to delete the 'party' members from the system in the database. But nevertheless, that's never given me an issue beforehand.

"if that is not the case, search the json files with a multifile text editor to find the missing reference"

I... am obviously not smart enough to know how to do that.

I'm sorry guys. Really. I appreciate the help, but my brain hurts, I'm tired... and I think I need a break from trying to figure this out. Good night. Maybe I'll figure it out tomorrow...

~ D.C.
"if that is not the case, search the json files with a multifile text editor to find the missing reference"

I... am obviously not smart enough to know how to do that.
there are a number of text editors capable of handling and searching text over multiple files.
I use textpad and you can try to use its trial, but there are others.

you start textpad and then go into your project's data folder that contains all json files.
you open all those files in the multifile text editor
and then you search for the filename over all files, that is one of the search options in those programs.

it will give you a list of all lines in all files that contain that name - due to the search function this will likely be for both !Player1 and Player1, so you have to be careful to find the ones without the !.

and that line will then tell you where that reference is used - most likely in one of the maps or in the actor tab or whatever. This will help you find the place and change the reference there.
So, my techy roommate took a look at everything today. He searched every file, like you said, but he couldn't figure out what was going on. We just uninstalled and reinstalled MV... and were trying to figure out what else to do.

I booted up my game and decided to test which sprites were fixed and which weren't.

...every single one of them was fixed. And I couldn't figure out how because I didn't do anything to the image files.

And then my roommate decided to try the image deletion thing again to see what else we could do there.

We deleted the unused image files... booted up the game... and everything is working fine. Like I didn't spend three hours last night making myself lose my mind over these stupid little details.

I did nothing to fix this. We just uninstalled RPGMaker and reinstalled it. Nothing was done to fix this.

I don't know whether to be relieved or mad because I wasted time trying to fix this when it magically fixed itself. I hate computers.

Thank you so much guys, for trying to help. I'll try to keep the game from breaking itself in the future as continue to work on it!

~ D.C.
one last question I forgot:
if you open your project directory, is there a www folder inside it?
hope not, because that would be the source of your problems - the www folder is deployment only, and you should never deploy into your project directory.
I'll explain if you find that www folder

Original thread: https://forums.rpgmakerweb.com/threads/help-sprites-arent-lined-up-with-the-map-grid.147032/