[DISC][PLAYER] Potential new object - Portals

Started by namida, July 15, 2021, 08:48:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

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

namida

QuoteFor 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 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)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

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 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)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

WillLem

Quote from: Proxima on December 03, 2021, 12:02:25 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).

namida

#33
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.)
My 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)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

WillLem

Quote from: namida on December 05, 2021, 06:43:33 PM
could we assume the receiving point should always be the bottom-middle of the trigger area?

Yes :lemcat:

namida

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 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)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)