Change Tile Size

pasunna

Veteran
Veteran
Joined
Feb 3, 2019
Messages
529
Reaction score
275
First Language
thai
Primarily Uses
RMMV
hi anyone try the size bigger than 48x48
I try 96x96 and 72x72
it is very buggy and some layer(I mean tile A/B/C/D) go transparent
A.jpg
and when use parallax it got tile line over it
with blank map
 
Last edited:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,078
Reaction score
13,695
First Language
English
Primarily Uses
RMMV
Yes, people have tried larger tile sizes and had issues. It is not the plugin, but PIXI, that limits the size of images you can load. That's why someone wrote a patch, which you can find if you look through the thread.
 

YeashaStone

Villager
Member
Joined
Apr 17, 2020
Messages
12
Reaction score
1
First Language
English
Primarily Uses
Other
Hey, so I am fairly new to RPG maker but found your plug in and think it helps solve a problem ive been having for a bit making higher res tiles, however I can't seem to get it to work correctly. I downloaded the plugin the the plugin folder, made a new folder for the high res (X2 sized tilesets) documents and got it to work, for a little bit. I wanted to see if i could get even larger tiles just to see if it would work and when i tried to go back to my X2 sized files and it couldn't do it. It just shows blackness when i launch the game.
To try to solve the issue i reset the size on the plug in back to 48 and put a regular sized tileset in the referenced folder and it can show that, but when I scale up the tileset and change the plug in size to 96 it gives me nothing.

can you please help me figure out what I am doing wrong?
Annotation 2020-04-16 153447.pngAnnotation 2020-04-16 153801.pngAnnotation 2020-04-16 153801a.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,307
Reaction score
7,643
First Language
German
Primarily Uses
RMMV
can you please help me figure out what I am doing wrong?
you're not doing anything wrong, there is a size limit imposed by pixi.js
if you go back some pages of this topic, you'll find a descriptioon of someone how to increase that limit - but be carefull as larger tiles require a lot more RAM and if you go too large yor game will lag to hell.
 

YeashaStone

Villager
Member
Joined
Apr 17, 2020
Messages
12
Reaction score
1
First Language
English
Primarily Uses
Other
you're not doing anything wrong, there is a size limit imposed by pixi.js
if you go back some pages of this topic, you'll find a descriptioon of someone how to increase that limit - but be carefull as larger tiles require a lot more RAM and if you go too large yor game will lag to hell.
oh i must have missed that when i was reading threw everything. Thank you!
 

YeashaStone

Villager
Member
Joined
Apr 17, 2020
Messages
12
Reaction score
1
First Language
English
Primarily Uses
Other
oh i must have missed that when i was reading threw everything. Thank you!
alright, so i gave that a try, updating all the numbers on the JS file it said to do and Im still having the same issue. Im attempting to make a tile set that is 96X96 and when i run the game my player is put in a black abyss with no background tiles. Any suggestions on what I am doing wrong?
 

Attachments

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,307
Reaction score
7,643
First Language
German
Primarily Uses
RMMV
please attach both the ingame tilesheet and the editor tilesheet you're using for mapping, as well as screenshots of both the map in the editor and the map ingame.
additionally, please give the full filepath of your project, from drive letter to index.html - there are a few things that have nothing to do with the plugin that can prevent the project from loading resources, mostly using the wrong letters or symbols in the file- and foldernames.
 

YeashaStone

Villager
Member
Joined
Apr 17, 2020
Messages
12
Reaction score
1
First Language
English
Primarily Uses
Other
please attach both the ingame tilesheet and the editor tilesheet you're using for mapping, as well as screenshots of both the map in the editor and the map ingame.
additionally, please give the full filepath of your project, from drive letter to index.html - there are a few things that have nothing to do with the plugin that can prevent the project from loading resources, mostly using the wrong letters or symbols in the file- and foldernames.
So a strange thing happened, I had to restart my computer due to an update for windows and when i got back on RPG maker the 'background' tiles started working, however i tried to make some 'table' tiles as well to see if the update fixed it and now they won't spawn it. Im not sure why this is happening but I thought it would be good to point out.
I tried restarting my computer again to see if that would push the table files in but it did not work.
I can also upload the game on my website if that would be helpful as well.
 

Attachments

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,307
Reaction score
7,643
First Language
German
Primarily Uses
RMMV
@YeashaStone
several mistakes from you, that have nothing to do with the plugin

1) incomplete tilesheets
It is known that the engine has problems with incomplete tilesheets. You'll need a full tilesheet or it will cause graphical problems.
If you don't have such a tilesheet in your own style, resize a default tilesheet to the new grid-size and only replace what you have with your own tiles on that tilesheet. NEVER use incomplete tilesheets as you have above.

2) wrong folderpath
I specifically asked you to have the filepath start at the drive letter, not at "documents" or "my computer". There is a good reason for this, because on screenshots like the ones above part of the path is masked away by windows.
That said, even that partial path shows problems:
There must NEVER be spaces in the foldernames of an HTML5-based game, and you have several spaces there ("What's going on" contains two spaces). You can see that in any browser message where the spaces are replaced by %20 exactly because the browser can't handle them in filepaths, and that can prevent the engine from loading files (tilesheet not loaded = remains invisible).

There might be more such wrong cases because you didn't show the filepath above "documents", or other forbidden symbols etc.
 

YeashaStone

Villager
Member
Joined
Apr 17, 2020
Messages
12
Reaction score
1
First Language
English
Primarily Uses
Other
@YeashaStone
several mistakes from you, that have nothing to do with the plugin

1) incomplete tilesheets
It is known that the engine has problems with incomplete tilesheets. You'll need a full tilesheet or it will cause graphical problems.
If you don't have such a tilesheet in your own style, resize a default tilesheet to the new grid-size and only replace what you have with your own tiles on that tilesheet. NEVER use incomplete tilesheets as you have above.

2) wrong folderpath
I specifically asked you to have the filepath start at the drive letter, not at "documents" or "my computer". There is a good reason for this, because on screenshots like the ones above part of the path is masked away by windows.
That said, even that partial path shows problems:
There must NEVER be spaces in the foldernames of an HTML5-based game, and you have several spaces there ("What's going on" contains two spaces). You can see that in any browser message where the spaces are replaced by %20 exactly because the browser can't handle them in filepaths, and that can prevent the engine from loading files (tilesheet not loaded = remains invisible).

There might be more such wrong cases because you didn't show the filepath above "documents", or other forbidden symbols etc.
oh, i didn't know the tile sheet issue, i had them working just fine before the plugin but as im new to the program i could see how that would be an issue.
The full file path is 'D:\Documents\Games\Whatsgoingon'

i have updated the style sheets and file paths to what you stated above and the issue is still there. (file names have remained the same)
 

Attachments

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,078
Reaction score
13,695
First Language
English
Primarily Uses
RMMV
You can upload the project if you like and I'll take a look at it (the project itself, not the deployed game). Let's see if I remember how this thing works ...
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,078
Reaction score
13,695
First Language
English
Primarily Uses
RMMV
"This shared file or folder link has been removed or is unavailable to you".

I don't have to create an account there to download it, do I?
 

YeashaStone

Villager
Member
Joined
Apr 17, 2020
Messages
12
Reaction score
1
First Language
English
Primarily Uses
Other

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,078
Reaction score
13,695
First Language
English
Primarily Uses
RMMV
Okay, I can access it now. I'll have a look after the download is finished and see what I can find.

There is no difference at all between the B, C, D and E tiles.

Alright ...

first, you didn't give your plugin the right name:
Add to your plugins folder (file name should be ChangeTileSize.js).
I don't like the way pastebin names the files by default, so I'm going to be moving all my plugins and scripts away from pastebin at some point. In this case though, it's not what caused your problem.

You didn't change all the values in the pixi_tilemap.js file that you needed to. There are still 4 instances of 1024 in there. When I changed them to 2048 as stated here it worked fine.
 
Last edited:

YeashaStone

Villager
Member
Joined
Apr 17, 2020
Messages
12
Reaction score
1
First Language
English
Primarily Uses
Other
Okay, I can access it now. I'll have a look after the download is finished and see what I can find.

There is no difference at all between the B, C, D and E tiles.

Alright ...

first, you didn't give your plugin the right name:


I don't like the way pastebin names the files by default, so I'm going to be moving all my plugins and scripts away from pastebin at some point. In this case though, it's not what caused your problem.

You didn't change all the values in the pixi_tilemap.js file that you needed to. There are still 4 instances of 1024 in there. When I changed them to 2048 as stated here it worked fine.
oh my goodness it works! I thought i followed the previous post but must have missed a few of them. You are amazing, TYSM!
 

fizzly

Veteran
Veteran
Joined
Mar 23, 2012
Messages
742
Reaction score
470
First Language
Polish
Primarily Uses
RMMV
Thank you for that plugin @Shaz, one of the most useful script for me, honestly. This should be default feature in MV. Anyway, I wanted to ask, is there a way to increase default player speed (normal) while changed to 32x32 tile-graphic? Would be nice as a plugin parameter, because after changing tile size main hero speed decrease a little.
 

Reivi

Warper
Member
Joined
Oct 16, 2017
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
@Shaz Will this plugin be ported to MZ someday?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,078
Reaction score
13,695
First Language
English
Primarily Uses
RMMV
I was planning to, but two other people have already released MZ plugins that do the same thing. Please check theirs out (@Fomar0153 and @Hudell) - there isn't much point in my porting this if theirs do exactly the same thing. I believe Hudell's is a part of a larger system that has some very nice-looking stuff, and Fomar's is standalone.

Of course, if theirs don't do exactly the same thing, and you really need this, then yes I'll port it. But please check them out first, because it doesn't make sense for 3 people to release similar plugins unless they have different features that people want.
 
Last edited:

MiscellaneousWorker

Always assume I don't know what I'm talking about.
Member
Joined
Dec 4, 2019
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
This functions perfectly with regular tiles, but my autotiles aren't working properly. With just one autotile sheet resized, it doesn't map to the correct tiles ingame, and with them all resized to the set size, which is 96x96, they no longer appear in game. My folder paths are correct, with one for in the engine being the normal size and the other being an exact copy but everything resized to double the 48x48 tile sheet size.

I assume it's an issue relating to how RPG Maker separates auto tiles into smaller ones. Am I doing something wrong? I've looked through this thread and nobody's discussed this issue, it looks like. Thanks in advanced.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Having randomized space below my maps is like cheating, every map instantly starts out interesting. See? I just started on this one, and boom interesting!. :LZSexcite:

Moderators, you must have so much patience to be able to deal with everything. I mod in a server of sorts and today we just got a message, which, despite it's helpful constructive criticism, basically stated that all of the mods were jerks and that was the only reason our server was unlikeable. So, thank you, for having patience. You are appreciated! :kaoluv:
Haired slime? Trying some different styles of art. Maybe I can make some resources with this new kind of painting.......
i love my game very much
Uh, I'm probably overthinking this, but I think that some of my music sounds kinda...bad?
The melodies are just sort of awkward, and don't flow.
I'm really not sure what to do. Why am I even worrying about this? I don't even have a battle system yet!

Forum statistics

Threads
105,727
Messages
1,015,935
Members
137,410
Latest member
judicasino88
Top