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 Arantor

I'm just curious about this. I've just been working on a crude little game just to experiment on a few things, and I just noticed that the editor always seems to default to using 2x the resolution that the images themselves use.

So in this game, I'm using a level of 20x15 tiles, 32px square, which means I have a nice 640x480 layout, but of course that consumes basically my 1280x1024 screen. I don't mind - it can make entity placement easier. It just struck me as weird is all.


Edit, scratch all that. I just found it in config.js that zoom is set to 2 by default. Is there any chance we could get some documentation for what's in the config.js file? (Or, even, some kind of configuration GUI for these items, doesn't have to be persistent, just enough to configure them on the fly?)

Specifically I'm thinking mostly the zoom option and the snap-to-grid size for entities on this one...

1 decade ago by fugufish

no docs on config.js unfortunately, but they're pretty straightforward guessing

you can always modify the file, or use an inject plugin to impose your own settings

1 decade ago by Arantor

That's the thing, it wasn't until I actually went looking that I discovered these things. I don't use the editor much, though, I generally have things spawned/generated programmatically, so I never really noticed before.

I think I'd just modify the file to be honest if I wanted to set it on a permanent basis, but it just seems like it'd be a good thing to have as a quickly changeable option that didn't involve browser scaling.
Page 1 of 1
« first « previous next › last »