[SUGGESTION][EDITOR] Add support for sketches

Started by namida, March 06, 2019, 09:04:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

namida

In old-formats there was a "sketches" style containing objects which do not show up during gameplay, but can be used to measure various things, eg. the length of a bridge, the destruction area of a bomber, etc.

New formats has no equivalent. The images from the sketches style are attached to the third post in this topic, though the blocker one needs fixing.
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)

Nepster

Simple reason: I don't have this style :) Could you please post it here? Thanks.

namida

It doesn't convert automatically, so I'll do a manual conversion.

Is there a "sketch" object type in new-formats? (Implementation: Ignored entirely by the game; displayed in the editor. Nice extras in editor: Semitransparent and/or "remove all sketch objects from this level" feature.)

Alternatively, it might be preferable to directly include these as an editor feature. In case that's preferred, here are the images. Note that if I'm not mistaken, the blocker one is NOT accurate in regards to trigger areas' Y coordinates (it is for X).
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)

Nepster

I did a brief search through the code and I don't think NeoLemmix currently supports sketch objects. There is a type "DOM_SKETCH" internally, but it is never used anywhere. And neither can the editor write sketch pieces to .nxlv level files, nor can NeoLemmix read them in.

So I suggest renaming this thread to something like "[SUG][EDITOR] Add sketch pieces".
Regarding the workload: This wouldn't be too bad if such pieces aren't stored in the nxlv-files, meaning no persistence at all. It they should be persistent over saving and reloading a level, we would have to extend the nxlv-format, which is somewhat more work.

namida

#4
I'm not sure if there's a need to save them. May be good to see what other people think here.

EDIT: This topic is continued here: https://www.lemmingsforums.net/index.php?topic=4824.0
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)