Skip to content

As a [Game Designer] I wish to [create initial shape/asset laydown] in order to [design the game] #2930

Description

@IanMayo

💬 Brief description of feature

We can create/edit shapes during the game from the mapping channel, but an admin needs to be able to create them during the design phase.

📖 User Story

Background: The Game Designer creates their wargame using the Serge admin pages. While the game is not initiated, the wargame document is repeatedly over-written, but once it has been initiated, any edits are stored in a new version of the wargame document.

But, the mapping shapes/assets are not stored in the wargame document, they are stored in a message for the mapping channel. So, for an uninitiated wargame, a single message gets updated. But, once the game is initiated, any edits to the Mapping get stored as a new message.

The admin pages will be used to configure the mapping, particularly including renderers, permissions and custom properties. This data is stored in the channel, within the wargame.

The mapping channel itself will be used by the Game Designer to add and edit shapes and assets - either over-writing the initial shapes message (non-initiated) or submitted as a new one (initiated wargame).

☑️ Acceptance criteria

From the admin pages:

  • 1.1 we can add a mapping channel from the admin pages - types here
  • 1.2 we can set a URL & max-native-zoom for the mapping tiles - types here
  • 1.3 we can set bounds and min zoom/max-zoom for the map - types here
  • 1.4 we can add renderers to the mapping channel (Core/MilSymbol) - types here
  • 1.5 we can add custom properties to the renderers (String, Enum, Number) - types here
  • 1.6 we can specify which forces/roles can edit spatial data and/or properties for shapes, in which phases (by default white force can edit anything, anytime) Task captured in Design mapping permissions model #2931
  • 1.7 we can save the mapping channel

From the player pages:

  • 2.1 we can add new shapes or assets
  • 2.2 we can remove shapes or assets
  • 2.3 we can move/drag shapes or assets
  • 2.4 we can control properties for shapes or assets
  • 2.5 we can save current map as a FeatureCollection message.

📐 Designs / Wireframes

Here

📝 Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions