Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by dkollmann

I have a rather big tileset which occupies the whole screen so I was wondering if there is the possibility to to have a zoom factor only for the tile selection screen?

Dan

1 decade ago by Hareesun

I’ll take a crack at throwing something together that’ll make that easier for you.

1 decade ago by davidx

Are you talking about in the level editor? If so: http://impactjs.com/forums/help/weltmeister-how-to-deal-with-huge-tilesets
change the zoom.

1 decade ago by dkollmann

I would prefer to see the level in its actual resolution so it is easier to see if tiles match or if they are misaligned. As I am mostly coding right now I am fine with the way things are for the moment but of course you are right that would be a solution for the time being.

1 decade ago by Hareesun

It looks as if my idea isn’t as possible as I thought.

But you could try being more limited with your sprite sheets. Having a sheet per-level and then possibly having multiple layers for different types of tiles.

1 decade ago by fugufish

hmm, having one huge tileset might help with the loading , since it's only 1 GET call.

1 decade ago by Hareesun

Yeah, but if you actually have a loading bar then it’s not like they’re going to have to load while playing or going to slow the game down.

1 decade ago by davidx

Sorry, I did not read the question correctly...

1 decade ago by dkollmann

The only real drawback from having level specific tilesets is that you cannot copy level parts between levels and splitting the tileset has the problem that you when you copy a part you always have to copy both layers.

Would it be hard to add scrollbars to the selection menu? Or maybe you can use space to cycle through pages of the tileset.

1 decade ago by wachunga

+1 to handling this in Weltmeister. The tileset doesn't even have to be that large before this becomes an issue.

1 decade ago by Hareesun

Technically you can’t just add scrollbars to the tile-pallete within Weltmeister as it’s drawn to the canvas using javascript. It’s not an element, so system scrolling isn’t possible.

One solution would be to write a custom scrolling function that would be a ton of work and be very inconsistent across different browsers.

Or a setting to disable the Weltmeister’s zoom level for the tile-pallete within the config.js.

Or you could temporarily lower the regular zoom in the config.js file to show more of your map and in turn more of your tile-pallete.

1 decade ago by Xander

I thought of a work around for this issue. Use your browser's zoom feature, "ctrl -" to zoom out and you will be able to fit more on your screen. hit "ctrl 0" to go back to the default size.
Page 1 of 1
« first « previous next › last »