Poll

Instant or short animation? Bidirectional or one-way? (Please read Reply #19 before voting.)

Instant, bidirectional
1 (11.1%)
Instant, one-way
0 (0%)
Animation, bidirectional
5 (55.6%)
Animation, one-way
1 (11.1%)
Instant, don't care about bidirectional vs one-way
0 (0%)
Animation, don't care about bidirectional vs one-way
0 (0%)
Bidirectional, don't care about instant vs animated
2 (22.2%)
One-way, don't care about instant vs animated
0 (0%)
Don't care about either
0 (0%)

Total Members Voted: 9

Author Topic: [DISC][PLAYER] Potential new object - Portals  (Read 12712 times)

0 Members and 2 Guests are viewing this topic.

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: [DISC][PLAYER] Potential new object - Portals
« Reply #30 on: December 05, 2021, 01:26:11 AM »
Quote
For the portalling behaviour, will the teleported lemming always exit at the same point regardless of when they entered the trigger area, or will they enter relative to where they hit the trigger area?

Same way as teleporters - exact receive point, but a horizontal flip is possible.
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)

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: [DISC][PLAYER] Potential new object - Portals
« Reply #31 on: December 05, 2021, 01:27:44 AM »
Okay so - it seems we have only a single vote for one-way (and no don't-cares), and only a single vote (along with two don't-cares) for instant.

Of course this could change if testing throws up an unforeseen reason to go a different route, but at this stage, looks like "animated, bidirectional" is the way to go.
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)

Offline WillLem

  • Posts: 3345
  • Unity isn't sameness, it's togetherness
    • View Profile
Re: [DISC][PLAYER] Potential new object - Portals
« Reply #32 on: December 05, 2021, 06:16:05 PM »
The simplest way to do this would be to put the exit portal in mid-air

Good shout. This would also play nicely into the "vortex/wormhole-style" aesthetic of the object, as is the current proposition (it would seem).

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: [DISC][PLAYER] Potential new object - Portals
« Reply #33 on: December 05, 2021, 06:43:33 PM »
Issue that arises with bidirectional - no object currently supports having both a trigger area and a trigger point. (There was support for this in the past, but no longer as there is no remaining object type that requires it.)

My first thought is, could we assume the receiving point should always be the bottom-middle of the trigger area? This would greatly simplify things. (EDIT: This would not preclude even-width trigger areas; and a consistent rule would exist as to which direction the point gets rounded in.)
« Last Edit: December 06, 2021, 04:25:54 AM by namida »
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)

Offline WillLem

  • Posts: 3345
  • Unity isn't sameness, it's togetherness
    • View Profile
Re: [DISC][PLAYER] Potential new object - Portals
« Reply #34 on: December 05, 2021, 11:05:34 PM »
could we assume the receiving point should always be the bottom-middle of the trigger area?

Yes :lemcat:

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: [DISC][PLAYER] Potential new object - Portals
« Reply #35 on: December 09, 2021, 03:45:10 AM »
Portal physics implemented in 11cebce, with some fixes in d29c6b1. The sound effect remains a placeholder, and there is currently no proper visual effect (the lemming just freezes for a few frames, warps to the new location, freezes for a few more, then continues on).
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)