tiled-pico8 icon indicating copy to clipboard operation
tiled-pico8 copied to clipboard

Map size is hard-coded in several places - want to be able to change it globally

Open gvivster opened this issue 1 year ago • 1 comments

I'm trying to make my Pico-8 map 128 tiles vertical x 64 tiles horizontal - the same space used as the normal aspect ratio, but tall instead of wide. I can get Pico-8 to have that map size using a poke, but in this extension there's a lot of places where the default map size is hard-coded.

I'd like to be able to either set the map size globally inside the extension with x and y variables, or be to be able to set the map size in Tiled (a more advanced ask that's not as crucial, but would be very helpful for switching between working on .p8 levels of different shapes and sizes).

Here's my forum post in the Pico-8 server where, farther down) we figured out this issue.

I've already figured out a few places to change the hard-codes and will do my best to make the edits I need, although I'm also in the middle of a game jam and using Pico-8 for the first time. If you can, I'd be grateful for any help.

gvivster avatar Mar 30 '23 19:03 gvivster

Hi! I have changed the script in c2233ef so that you can quickly change the map size. I will make it more configurable but hopefully it’s a good start for you.

samhocevar avatar Mar 31 '23 14:03 samhocevar