Author Topic: [Fixed][Bug][Player/Editor] Flipped/Face Left hatches have a different behavior  (Read 4813 times)

0 Members and 1 Guest are viewing this topic.

Offline IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
This is probably a sideeffect from the intended change to merge "face left" and "flip".

I strangely noticed more and more replays failing out of nowhere not changing the converted level and the old replays even passed several times before.
After more investigations I found the cause: I usually set my left facing hatches to "face left" in the old format  -- they kept their original apperance but spawned to the other side. Now this option seem to be replaced with "flip graphic" entirely. So far so good. This causes levels to fail because some of the now flipped hatches have different spawn points now as it's not in the same spot anymore after the flip.

So far still acceptable -- a few failing replays but managable.

BUT: This is extra devious here as those breaking levels are not detected naturally by the checker! No, the cases will only fail (as with the pick-up stuff: https://www.lemmingsforums.net/index.php?topic=3711.0) after you manually load the level into the editor after the conversion and then save it again --- the hatch is now flipped, the spawn has changed and the replay fails.

So I would advice to bring back the "face left" behavior at least for hatches. Or we simply have to manually check and save all of our levels one at a time to identify errors making mass conversion mostly pointless and increase the conversion workload dramatically.

EDIT:
Idea: "Flip" only does the old "face left" for hatches.
To clarify again -- the main problem I would still call is that the automatic replay check doesn't cover this. With that working fixing replays won't be much of an issue. I just figured that my idea is easier to do than getting the checker to cover this.
« Last Edit: February 07, 2018, 10:58:41 AM by IchoTolot »

Offline Nepster

  • Posts: 1829
    • View Profile
Again the problem is not the merge of "flip" and "face left", it is that the NL player still allows only "face left" without a "flip". For the next update I plan to add this to the player, so that this breacking change will already be detected by the mass replay checker.

Offline IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
That would be nice, thanks! :thumbsup:

Redoing a few replays if you know exactly where you need to act won't be much of a problem then. Also I think not every hatch seems to be affected as some flipped ones still have the same physics as the non flipped version.

Offline GigaLem

  • The Dog That Brought Lemmings to Avalice
  • Posts: 1415
    • View Profile
Again the problem is not the merge of "flip" and "face left", it is that the NL player still allows only "face left" without a "flip". For the next update I plan to add this to the player, so that this breacking change will already be detected by the mass replay checker.
Thinking about this now, it might help in the long run. They both mean the same thing so I say go for it

Offline Proxima

  • Posts: 4562
    • View Profile
One issue I can see is that it's possible there may be hatches -- currently existing or in the future -- in shapes, for instance a house with a door at the side, where you would want to flip the graphic as well as the spawning direction; but with the hatches from the L1 sets, you'd want the graphic to remain unflipped. So I think it's worth keeping "flip" and "face left" separate. Simon correctly points out: in my "house with door" example, it would be better to make two objects, so that you can have both a left-hatch and a right-hatch with correct shading. So I prefer hatch graphics to never be flipped, and can't see any major downside to that solution.
« Last Edit: February 08, 2018, 03:16:11 AM by Proxima »

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
Interesting issue.

What is the exact history here? 2016 NL allowed all 4 possible combinations of face-left and mirror-image, then 2017 NL pruned it to 2 of the 4, no-flags and face-left-and-mirror-image? Do level designers accept that face-left then breaks the shading/lighting of the tile?

-- Simon

Offline IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
Interesting issue.

What is the exact history here? 2016 NL allowed all 4 possible combinations of face-left and mirror-image, then 2017 NL pruned it to 2 of the 4, no-flags and face-left-and-mirror-image? Do level designers accept that face-left then breaks the shading/lighting of the tile?

-- Simon

It breaks the shading/lighting of the tile yes, therefore I always used the old "face left" option  ---> I now have the trigger area issues. I still prefer the old way as you had total control over this matter. But I now just assumed here that Nepsters implementation and decision was final and I didn't want to cause another controversy. :-[
« Last Edit: February 08, 2018, 09:13:32 AM by IchoTolot »

Offline Nepster

  • Posts: 1829
    • View Profile
First of all: I want to restrict the designer's options to one flipping option and not have two options "flip" and "face left" that may confuse level designers (at least it has confused me). There have to be a lot more important issues than the shading of hatches (which is only one type of objects!), before I will even consider going back to the old options.

Regarding the hatch issue: While we have the arrows that appear when hovering over the hatches, I prefer to have an always visible way to distinguish them. And the easiest way of doing so is to tightly couple the lemming direction with the flipping of the graphics.

Moreover if you have all hatches facing left in your level, then just mark everything in the new editor and click "flip". This will flip the whole level (not just each piece separately!) and you will get correctly shaded hatches (though you might have to slightly adapt some other object positions). So the hatch shading is only an issue, when there are both left-facing and right-facing hatches. And especially in such cases a direct visual clue to this fact is important in my opinion. 

Offline Proxima

  • Posts: 4562
    • View Profile
Regarding the hatch issue: While we have the arrows that appear when hovering over the hatches, I prefer to have an always visible way to distinguish them.

We discussed that point in the chat last night. The shading being wrong is too minute a difference to be a good distinguisher; most players won't notice it, and for those that do, we don't want to be teaching players that paying attention to minute details of graphics is a big part of the game.

Offline Nepster

  • Posts: 1829
    • View Profile
We discussed that point in the chat last night.
Sorry, but I could only find your discussion with Nessy, who is indifferent about this.

The shading being wrong is too minute a difference to be a good distinguisher; most players won't notice it, and for those that do, we don't want to be teaching players that paying attention to minute details of graphics is a big part of the game.
If most players won't notice the shading, then flipping the graphics won't hurt them, so we can keep the current behavior. :P

Offline IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
Re: [Bug][Player/Editor] Flipped/Face Left hatches have a different behavior
« Reply #10 on: February 09, 2018, 09:35:56 PM »
I think they will notice the wrong shading, but won't connect it with left-spawing hatches, leaving just an odd sight.

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
Re: [Bug][Player/Editor] Flipped/Face Left hatches have a different behavior
« Reply #11 on: February 11, 2018, 08:59:39 PM »
I wouldn't mirror the sprite and let the flag change only the spawn direction. If hatch direction must be visible even during the first 3 seconds of a map, consider extra markers. Reason:
  • If players don't see the difference in shading, then mirroring the sprite has no effect at all, and both mirror-sprite and never-mirror are equally good solutions.
  • If the shading is subtly wrong, then some players will notice, and it won't shine well on the level designer -- did they really not catch such a visual error during design? And the marking is still unclear for other players, thus doesn't tell apart left-facing hatches from right-facing hatches. I assume most hatches will have such subtly wrong shading if mirrored. The discussion should focus on this case.
  • If the tile is clearly mirrored, then it might reflect weirdly on the level designer, but not in every case. Direction will be easily apparent. Some hatches have this: The medieval dragon and the highland barrel. This is the best possible case for merge-mirror-and-face-left.
-- Simon
« Last Edit: February 11, 2018, 09:16:31 PM by Simon »

Offline IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
Re: [Bug][Player/Editor] Flipped/Face Left hatches have a different behavior
« Reply #12 on: February 11, 2018, 09:04:04 PM »
If hatch direction must be visible even during the first 3 seconds of a map, consider extra markers.

Maybe do a sort of like solution related to: https://www.lemmingsforums.net/index.php?topic=3711.msg69356#msg69356

Display the direction with an arrow directly in the first 3 seconds of a map. After that let the arrow disappear again as the lem flow will show the info after that.

So basically the old "face left" behavior combined with these temporal arrow markers I would call a solution that solves all problems -- visual correctness, stable physics and info displaying.

Right now the forced flip for those hatches seems like a "Verschlimmbesserung" (improvement in one part, downgrade in another).
« Last Edit: February 11, 2018, 09:12:20 PM by IchoTolot »

Offline IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
Re: [Bug][Player/Editor] Flipped/Face Left hatches have a different behavior
« Reply #13 on: February 12, 2018, 09:34:54 AM »
Thinking more about my solution: I found another thing were this temporal arrow display method (preferably a few pixels under the hatch's trigger area) is vastly superior than the graphic flip.

Hatches on top of each other that spawn in different directions! With the arrow display a <--> should be appearing (combination of <-- and -->), giving a correct display of the situation even before the level starts. The graphic flip doesn't cover this.

Offline Ryemanni

  • Posts: 326
  • Indeed.
    • View Profile
Re: [Bug][Player/Editor] Flipped/Face Left hatches have a different behavior
« Reply #14 on: February 12, 2018, 01:03:47 PM »
I was going to post a rant inspired by yesterdays Lix session, but now anymore since the arrow idea has been presented. I highly suppor the arrow instead of flipping the entire hatch graphics.

Offline IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
Re: [Bug][Player/Editor] Flipped/Face Left hatches have a different behavior
« Reply #15 on: February 16, 2018, 11:10:23 PM »
So what's the plan now ??? I really want to know what's going to happen with this matter, so we can go on and clean up the conversions to the new format and finally move on creating new stuff.

I still think my suggestion is vastly superior in every matter over the current implementation.

So for now (next update) that would mean:


- Change the action of the "flip" button to the old "face left" for hatches.

As soon as it's ready to be implemented:

- Hatches display their spawn direction in arrow form ~ a few pixels under the trigger point for the levels's starting phase.

Again this way we ensure:

- Stable physics to the previous version and therefore easier conversions with no broken levels/replays.

- Correct shading of the hatches at all time, so it doesn't confuse players and doesn't look like a game/designer error.

- An instant + as clear as it can gets display of the hatches spawn direction. Way more precise than the current odd shading.

- Covering of instances like stacked hatches which spawn in different directions, which the current behavior doesn't.

 
Also a lot of forum members approve of this solution and prefer it over the current behavior and it was stated here: https://www.lemmingsforums.net/index.php?topic=3711.msg69356#msg69356
that temporal displayings can be possible to implerment.

So a quick clarification about the plans here would be appreciated (even if I am running in danger to be annoying in this matter). ;P

Offline Nepster

  • Posts: 1829
    • View Profile
Re: [Bug][Player/Editor] Flipped/Face Left hatches have a different behavior
« Reply #16 on: February 18, 2018, 12:04:42 PM »
I implemented now, that hatches display the spawning direction for the first two seconds.

Regarding the editor: I will keep the flipping of the hatch there, as the editor (currently) has no directional arrows for hatches. However this is purely for the display in the editor - when play(test)ing the level, the hatch will have the normal sprite.

- Stable physics to the previous version and therefore easier conversions with no broken levels/replays.
Well, only in the cases where face left was used with non-flipped hatches. With the changes above, we will now have the very same problem with levels that have flipped hatches: When loading them in the editor and saving again, the flipping will be removed which may break the level.