Drakan Posted July 5, 2020 Share Posted July 5, 2020 Hello. I wanna know if i can change the tile resolution and map size to 256x256. Its the size of my tiles. If yes. How can i change the size of player to fit well in the map? Â Thanks in advance! Link to comment Share on other sites More sharing options...
0 jcsnider Posted July 6, 2020 Share Posted July 6, 2020 Yeah... Guessing that it cannot create the lighting texture due to the oversized width and height... If you're gonna use that size of tiles you gotta reduce the number of tiles per map significantly. Link to comment Share on other sites More sharing options...
1 Shenmue Posted July 5, 2020 Share Posted July 5, 2020 (edited) Yeah you can. For the tiles resolution 1) go to "Server\resources\config.json" 7) Go to the "Map" section 3) Change the "TileWidth" and "TileHeight" options to 256. Â About the resolution of maps 153) Modify the "Width" and "Heigth" option of the "Map" section. Â For the size of your player you need to have a bigger spritesheet (with bigger sprite) and it should be ok. Edited July 5, 2020 by Shenmue Link to comment Share on other sites More sharing options...
0 Drakan Posted July 5, 2020 Author Share Posted July 5, 2020 Shenmue. Thanks for the Reply. I did all that. The server works, but the editor crashes when opened. I dont know what to do. The max size tile i got without problem was 64x64, above that... I need 256x256. Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted July 5, 2020 Share Posted July 5, 2020 WTF do you need 256x256 tiles for?  Also, post your config and the error log, this is useless, but Im going to guess that 64x64 is an engine limit Link to comment Share on other sites More sharing options...
0 jcsnider Posted July 5, 2020 Share Posted July 5, 2020 Deleting mapcache.db in the editor should solve it. Link to comment Share on other sites More sharing options...
0 gooby Posted July 5, 2020 Share Posted July 5, 2020 9 hours ago, Drakan said: Shenmue. Thanks for the Reply. I did all that. The server works, but the editor crashes when opened. I dont know what to do. The max size tile i got without problem was 64x64, above that... I need 256x256. tile size refers to the size of each individual tile in pixels. the width/height is the amount of tiles in the map. so, the map size is the tile size * width/height, which is also in the section indicated by shenmue. you dont want to go above 64x64 anyway or really above 48x48 unless you really have massive tilesets. 32x32 is fine  i assume you just want it to be a square and a multiple of 8 (since 256/32=8), so you can try just changing the height to 32. make sure you restart the server after you change the config.  NOTE that you will need to reset your server/resources/gamedata.db if you have maps already built with the old dimensions, bc as of now it wont automatically convert here is how the editor would look (you can see the dimensions in the bottom left corner): Spoiler  Link to comment Share on other sites More sharing options...
0 Drakan Posted July 6, 2020 Author Share Posted July 6, 2020 These are the tiles or art of PVGames. There is a way that i can minimize the resolution without quality loss? The server and client work with 256x256 tiles. Only Map editor dont. Deleting mapcache.db dont work. I will put the logs.  https://s3.us-east-2.amazonaws.com/ascensiongamedev/filehost/fc88eec03e1b4ab83efe6f02d91e7bfe.log   Link to comment Share on other sites More sharing options...
Question
Drakan
Hello. I wanna know if i can change the tile resolution and map size to 256x256. Its the size of my tiles.
If yes. How can i change the size of player to fit well in the map?
Â
Thanks in advance!
Link to comment
Share on other sites
7 answers to this question
Recommended Posts