Lemmings Forums

Lix => Lix Main => Topic started by: Forestidia86 on May 09, 2020, 11:25:54 PM

Title: Allow rotation and mirroring of gadgets like traps
Post by: Forestidia86 on May 09, 2020, 11:25:54 PM
Currently traps can't be (visually) mirrored or rotated. Hatches can be mirrored for different orientation.
There can be a usecase for such operations on traps, especially if they are not symmetrical. Furthermore it can probably avoid special cases for these objects.

As a sidenote there is an issue (#273) (https://github.com/SimonN/LixD/issues/273) that mirroring of gadgets can lead to them moving if they have certain meassures.
Title: Re: Allow rotation and mirroring of gadgets like traps
Post by: Forestidia86 on May 10, 2020, 11:37:13 AM
After thinking about it a while, I see that it could lead to problems animations- as well as physicswise.
One problem talked about were the flinging gadgets which should behave according to their orientation but that would need defintions for all orientations.

I still plead for having mirrored versions of the asymetric traps like the porcupine.
Title: Re: Allow rotation and mirroring of gadgets like traps
Post by: Simon on May 10, 2020, 02:34:02 PM
Right, this is a complex topic. It touches level format issues and thus backwards compatibility. I'll have to elaborate here, these days.

-- Simon