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 photex

Hi all,

I started a game on OSX and worked on it a bit in Linux. When I opened levels in weltmeister on the linux side I had layers being duplicated when I saved, so now when I use weltmeister back on the OSX, I have extra layers with negative IDs. Selecting one of these layers will select a real layer so I cant delete them in weltmeister. If the JSON was pretty printed then it would be a hell of a lot easier to clean this up. At the moment its a huge mess.
Just wanted to mention this.

Cheers,
Chip

1 decade ago by dominic

That's really odd. It sounds more like a browser related bug though. The PHP script just takes a JSON string and saves it to disk; it shouldn't modify this JSON string in any way. Which browser did you use?

Btw.: Weltmeister can save pretty-printed JSON. Just set project.prettyPrint in your lib/weltmeister/config.js to true.

1 decade ago by photex

Oh hey, that's good to know. I'm using Chrome on both platforms. (Not chromium, like the actualy chrome from the google repo).
Page 1 of 1
« first « previous next › last »