Editor: "Attach doodads" as a Level Property the user can set #60

Closed
opened 2022-01-14 05:39:53 +00:00 by kirsle · 1 comment

The "Publish" feature to create a bundled level is awkward to use and why should published levels be treated so specially?

The "Level Properties" window of the editor should just have a checkbox somewhere: embed custom doodads in level.

When checked maybe pop up a warning about how it works: the game will prefer the attached doodads over the ones on your PC and if you're developing any doodads this option should be left OFF until you are ready to share it.

The "File Attachments" UI should have some buttons to easily manage the embedded doodads:

  • Remove All Doodads button
  • Indicate in the file list whether a named doodad also exists locally on disk
  • Reinstall local doodads: refresh from local disk and put latest versions in the level
  • Install doodads from the level to your local disk

The level metadata would need properties like:

  • AttachDoodads (bool), attach-on-save any custom doodad the level uses.
  • AttachBuiltins (bool), also attach built-in game doodads to the level.

The latter option a double edged sword: future releases of the game might fix bugs or extend functions of built-in doodads and a level that bundled them would use the version it had originally, but on the other hand a level that bundles built-ins is guaranteed to work the same on future game releases.

The "Publish" feature to create a bundled level is awkward to use and why should published levels be treated so specially? The "Level Properties" window of the editor should just have a checkbox somewhere: embed custom doodads in level. When checked maybe pop up a warning about how it works: the game will prefer the attached doodads over the ones on your PC and if you're developing any doodads this option should be left OFF until you are ready to share it. The "File Attachments" UI should have some buttons to easily manage the embedded doodads: * Remove All Doodads button * Indicate in the file list whether a named doodad also exists locally on disk * Reinstall local doodads: refresh from local disk and put latest versions in the level * Install doodads from the level to your local disk The level metadata would need properties like: * AttachDoodads (bool), attach-on-save any custom doodad the level uses. * AttachBuiltins (bool), also attach built-in game doodads to the level. The latter option a double edged sword: future releases of the game might fix bugs or extend functions of built-in doodads and a level that bundled them would use the version it had originally, _but_ on the other hand a level that bundles built-ins is guaranteed to work the same on future game releases.
kirsle added the
enhancement
label 2022-01-14 05:39:53 +00:00
Poster
Owner

Implemented in 1cc6eee5c8

Implemented in 1cc6eee5c84330d52269893d8cac6930dfcb1598
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SketchyMaze/doodle#60
There is no content yet.