Violet-CLM / MLLE

Multi-Layer Level Editor tool for Jazz Jackrabbit 2 and related games
13 stars 7 forks source link

Off-grid objects #78

Closed Violet-CLM closed 2 years ago

Violet-CLM commented 3 years ago

It should be possible to place objects (in JJ2+ levels) that are not bound to the event grid but are instead initialized by a MLLE::whatever() call and spawned based on data5 positions. This same function would need to be forced to be called in onLevelReload too for contexts in which that hook matters. When adding an off-grid object, the real parameters should be saved, then replaced with those for the object, then replaced with the real ones again. The off-grid objects should not be allowed to run jjOBJ::deactivate as objects that edit their event maps. UI for implementing this remains a mystery.