Poll

How do you feel about wrap?

I have ideas for puzzles that use it and would like to see it implemented
3 (30%)
I don't have any particular ideas on how to use it, but think it would be cool
2 (20%)
I don't personally see it as useful but do not object to it existing
3 (30%)
I do not think NeoLemmix should support it
2 (20%)
No preference
0 (0%)

Total Members Voted: 10

Author Topic: Wrap? [DISCUSSION] [PLAYER]  (Read 10697 times)

0 Members and 1 Guest are viewing this topic.

Offline Wafflem

  • Posts: 943
    • View Profile
Wrap? [DISCUSSION] [PLAYER]
« on: September 30, 2016, 03:16:55 PM »
I remember a long time ago that you wanted to discuss implementing Wrap in more of a Lix manner than the NeoLemmix gimmick manner*. Should we still do this?

*For those who don't know, the NeoLemmix gimmick version involved merely lemmings walking past one side of the level to appear in the opposite side (i.e. if they walk through the left side, they appear on the right, vice versa, and ditto for up-down and down-up), while Lix is more of a scrolling thing - think of it as like as 2-D version of Lemmings Revolution.
YouTube: www.tinyurl.com/YTWafflem
Twitch: www.twitch.tv/Wafflem467

Have level designer's block right now? Have some of my incomplete levels for LOTS of ideas!

Offline ccexplore

  • Posts: 5311
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #1 on: September 30, 2016, 08:19:59 PM »
I would actually split the suggested feature into two parts:

Part 1: update the physics to be fully wrap-aware.  Note that it is more than just the gimmick of repositioning the lemming whenever its position gets updated past a wraparound boundary--other things that would need updating include making sure terrain additions (eg. builders) and removal (eg. bashers) are wrap-aware as well, that all terrain/trigger checks in game physics are likewise wrap-aware, and that any terrain pieces and object trigger areas straddling the wraparound boundary are correctly handled when loading the level, etc.

Part 2: update the UI to support wraparound scrolling.

It is possible that maybe part 2 is trivial enough to implement compared to part 1 that there's little point in splitting them out, but I rather suspect part 2 may be enough implementation work of its own, that it could make sense to have an interim version that only does part 1 without doing part 2 yet.  Since NeoLemmix does not support multiplayer, part 2 can be argued as a nice-to-have but not necessarily required, with "pause and scroll all the way to the other side" as a temporary workaround in the meantime.

Offline ccexplore

  • Posts: 5311
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #2 on: September 30, 2016, 08:25:58 PM »
Also, I would like to see some discussion as to how much people feel wrapping physics would add to the game.  I guess vertical wraparound is probably more interesting in terms of adding new puzzle ideas, but either way, how much do they truly add?

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #3 on: October 03, 2016, 07:51:33 AM »
Lix has wrap to balance the multiplayer.

ccexplore's part 1 (physics and terrain drawing is wrap-aware) need a topological abstraction of rectangles (x-length, y-length, has x-wrap? has y-wrap?) that sits deep in the game code. Torus bitmaps implement this abstraction. The torus bitmap class reads more like a mathematical proof than like regular code: Extremely hard to write self-documenting code, therefore lots of comments. Part 1 needs more heavy-lifting for a torus-shaped physics matrix.

ccexplore's part 2 (seamless scrolling) gets finnicky and math-y again. The class knows the camera position and pieces together a scene from the torus bitmap.

Wrap in singleplayer is a by-product. Some levels use it, and it's cute. It's disorienting when you see it only rarely. Hard to weigh the advantages against the elaborate implementation.

-- Simon
« Last Edit: October 03, 2016, 04:48:44 PM by Simon »

Offline Dullstar

  • Posts: 2092
    • View Profile
    • Leafwing Studios Website (EXTREMELY OUTDATED)
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #4 on: October 03, 2016, 06:58:17 PM »
I think it could be interesting, but only if it's fully and properly implemented so that it scrolls nicely.

Whether or not it's worth the effort is another question entirely.

Online IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #5 on: October 03, 2016, 08:44:12 PM »
Also if you can scroll over the wrap there should be a color-line like in lix to see where the next wrap begins.

Offline mobius

  • Posts: 2747
  • relax.
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #6 on: October 03, 2016, 09:02:04 PM »
Also if you can scroll over the wrap there should be a color-line like in lix to see where the next wrap begins.

I'm not sure I understand this. I I think I'd prefer not to have a line like that, it seems kind of tacky imo. Is that really all that helpful? If a level is so big and disorienting that you can't tell where the wrap; that's another matter entirely.
Actually what does this matter, because if the level is wrapping, fully scrolling like in Lix; there essentially is no boundaries on whatever axis it wraps and lemmings cannot die in that direction from walking/falling off the screen. The line could be just about anywhere and make the same sense.

I do not remember any such line in Lix. ???
everything by me: https://www.lemmingsforums.net/index.php?topic=5982.msg96035#msg96035

"Not knowing how near the truth is, we seek it far away."
-Hakuin Ekaku

"I have seen a heap of trouble in my life, and most of it has never come to pass" - Mark Twain


Online IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #7 on: October 03, 2016, 09:08:22 PM »
The line is essential at least for me in lix. Without it I became confused where the wrap started most of the time. The level did not matter that much.

If there is wrap, there should be at least an option for such a line!

Offline mobius

  • Posts: 2747
  • relax.
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #8 on: October 03, 2016, 09:18:30 PM »
I guess I could also comment on wrap in general;

I don't really care either way, but you can definitely do things with wrap that you cannot otherwise, so it wouldn't be a burden. It must be an option though [to have your level wrap or not]. I don't mind an over abundance of features.
everything by me: https://www.lemmingsforums.net/index.php?topic=5982.msg96035#msg96035

"Not knowing how near the truth is, we seek it far away."
-Hakuin Ekaku

"I have seen a heap of trouble in my life, and most of it has never come to pass" - Mark Twain


Offline ccexplore

  • Posts: 5311
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #9 on: October 03, 2016, 10:02:26 PM »
I do not remember any such line in Lix. ???

Neither do I, unless this is some sort of new addition in D-lix, as I don't think I've yet looked at a wraparound level in D-lix.  I'm pretty sure C++ lix has no such line, which on paper is how wraparound is meant to feel like--any line in the wraparound dimension(s) would work as just well as any other.  That being said, I suppose it's not unreasonable to maybe make it a user option to show such a line (pick one however the game wants) in the game, if somehow the presence of obvious landmarks like entrances, exits and changes you make to the terrain aren't enough.

Lix does have, in the level preview, indicators to let you know for each of the 2 dimensions whether wrapping is in effect.  But that's totally different from extraneous lines rendered in-game.

Anyway, I thought about it a little more, and at the moment it feels like builders and miners probably have the most compelling cases paired with wraparound.  It still feels like very significant amount of effort for comparatively little gain, compared to say, a new skill or new contraption (at least well-thought-out ones), or even new gimmicks that does not require re-examining multiple fundamental facets of the game's physics.

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #10 on: May 15, 2019, 11:00:09 AM »
Not saying this feature will be here any time soon but - when you talk about the line showing the wrap boundaries, do you feel these outlines should be in a fixed position, or relative to your current view? Or in other words - let's suppose the blue dot in this image marks the center of your visible play area. Would you prefer the outline be the yellow rectangle (ie: shows the level's width/height outwards from the center of the current viewport) or the red one (ie: shows the boundaries of the level as defined in the level file)?
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Online IchoTolot

  • Global Moderator
  • Posts: 3608
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #11 on: May 15, 2019, 11:34:03 AM »
As I tend to get easily confused with the yellow rectangle way and speed is not essential as in Lix multiplayer, I would tend to the red rectangle way.

Then we would need another way to tell the player that wrap is active though. ???

I would still say yellow is faster and you need to be fast in MP Lix, but it can get very confusing depending on the level (especially small levels can get confusing). Here in NL we don't need to be very fast and therefore I tend to red.

Offline Strato Incendus

  • The King of Shimmiers (crowned by Flopsy ;D )
  • Posts: 1747
  • #RIP Spearer/Grenader (2020 - 2021)
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #12 on: May 15, 2019, 01:25:46 PM »
I think the main upside of the gimmick was that it was optional. Lemmings Revolution basically had all levels wrapping in a Lix manner. If this got introduced into regular NeoLemmix as a default, it would distance it even further from regular Lemmings - while at the same time making it more similar to Lix, instead of having two different games for two different purposes.

I definitely enjoyed the gimmick with both the vertical and the horizontal wrap activated, so I'd be the first one to appreciate its reintroduction! :thumbsup:

Granted, in order to create Lemmings Revolution-style levels, you'd need to have the option to switch on horizontal wrap only without automatically having to activate vertical wrap as well.

So it would probably be best to make both independent, like back in the day, as long as it is clearly visible to the player whether the wrap feature is active or not - I clearly agree with IchoTolot here! ;) The main annoyance about gimmicks was their surprising nature, i.e. the level creator could activate them without the player's knowledge, thereby potentially wasting a lot of the player's time with guesswork.

Maybe present some arrows at the edges of a level at the beginning, together with the arrows below the hatches that show in which directions the lemmings are going to come out?

The main effort in re-implementing the wrap gimmick would probably affect the fencer and shimmier, since those skills didn't exist in NeoLemmix back when gimmicks were a thing.
My packs so far:
Lemmings World Tour (New & Old Formats), my music-themed flagship pack, 320 levels - Let's Played by Colorful Arty
Lemmings Open Air, my newest release and follow-up to World Tour, 120 levels
Paralems (Old Formats), a more flavour-driven one, 150 levels
Pit Lems (Old Formats), a more puzzly one, 100 levels - Let's Played by nin10doadict
Lemmicks, a pack for (very old) NeoLemmix 1.43 full of gimmicks, 170 levels

Offline Nepster

  • Posts: 1829
    • View Profile
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #13 on: May 15, 2019, 05:30:12 PM »
As I tend to get easily confused with the yellow rectangle way and speed is not essential as in Lix multiplayer, I would tend to the red rectangle way.

Then we would need another way to tell the player that wrap is active though. ???

I would still say yellow is faster and you need to be fast in MP Lix, but it can get very confusing depending on the level (especially small levels can get confusing). Here in NL we don't need to be very fast and therefore I tend to red.
The main problem with the gimmick-implementation (which used the red rectangle) was, that one could never be sure where the lemming would reappear when moving out of the level boundary. This made these gimmick levels extremely annoying to play. So I think any reintroduction of this feature would need a way to scroll beyond the level boundaries and allow displaying the yellow area on screen.

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: Wrap? [DISCUSSION] [PLAYER]
« Reply #14 on: May 15, 2019, 09:00:42 PM »
Quote
If this got introduced into regular NeoLemmix as a default, it would distance it even further from regular Lemmings - while at the same time making it more similar to Lix, instead of having two different games for two different purposes.

NeoLemmix will never be wrap-only, or even wrap-is-default. It will be a feature level designers can use, at their own choice. I personally envision it as horizontal and vertical wrap being separate.

Quote
The main effort in re-implementing the wrap gimmick would probably affect the fencer and shimmier, since those skills didn't exist in NeoLemmix back when gimmicks were a thing.

Close to all (if not literally all) of the old gimmick code has been stripped out altogether, and much of the implementation of the features that do remain has drastically changed since gimmicks existed. I can assure you, the Fencer and Shimmier are no more trouble for such a gimmick than any other skill - actually, at a quick guess, the features I suspect would be most likely to cause trouble here are blockers and zombies; with any objects that are placed across the wrap boundary also being quite an annoyance (though this could be addressed simply by not allowing this.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)