Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
12 tasks
IanMayo opened this issue May 8, 2024 · 0 comments

Comments

@IanMayo
Copy link
Contributor

IanMayo commented May 8, 2024

💬 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

@IanMayo IanMayo changed the title As a **Game Designer** I wish to **create initial shape/asset laydown** in order to **design the game** As a [Game Designer] I wish to [create initial shape/asset laydown] in order to [design the game] May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant