Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: Wafflem on June 05, 2016, 04:49:57 PM

Title: Windowing order issues [BUG] [EDITOR]
Post by: Wafflem on June 05, 2016, 04:49:57 PM
BitBucket: https://bitbucket.org/namida42/neolemmixplayer/issues/35/window-order-editing-is-practically-broken

The windowing order function in the NeoLemmix editor has been very buggy for some time, but I haven't used it.

However, someone is using it right now and they have had a problem with it. So I had to test it through and noticed some things:

1. When Adding, you will always get Object #0. Even when highlighting a trapdoor of a different index number, when clicking on Add it says Object #0.
2. When playing a level with more than one trapdoor, only the trapdoor with the lowest index number is where the lemming comes out.
3. Sometimes, when testing a level, it ends up with another List index out of bounds error (e.g. when I delete one of the trapdoors in a level).

This is all I can dig out for now.
Title: Re: Windowing order issues [BUG] [EDITOR]
Post by: namida on June 18, 2016, 10:54:15 PM
Okay...

1. It's normal for "Add" to give Object 0; that's basically the filler until you change it. The "From Selection" button actually sets the selected entry to the window you have selected. Nonetheless, I made a couple of improvements here - firstly, when clicking "Add" the new addition is automatically selected, and secondly, if the user has a single window selected, it'll set the new entry to that.

2. I have no idea what you mean by this, could you explain please?

3. This will occur if any entry in the window order list refers to an object beyond the last object in the level. I'll make a change to the editor so it won't save such entries.
Title: Re: Windowing order issues [BUG] [EDITOR]
Post by: Wafflem on June 19, 2016, 01:36:11 AM
I think I was in a rush when I wrote all those issues down, so number 2 isn't as clear. :-[ :-[ :-[

Looking more into the window ordering thing, when only Object #0 (the lowest index number of an object) is on the list, only the lemmings comes out of the trapdoor I've highlighted in the screenshot below (and as you can see in the game screenshot).

Please disregard #2 now.

However, I found another error: This happens when I click on the "Selected" button. See the third picture.
Title: Re: Windowing order issues [BUG] [EDITOR]
Post by: namida on June 19, 2016, 04:00:35 AM
I'll take a look at that. I have a rough idea of what might be happening.