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

Team 1 (Sprint 1) - Unit Selection Display/UI #2

Open
4 of 5 tasks
JiashengLi opened this issue Aug 11, 2022 · 0 comments
Open
4 of 5 tasks

Team 1 (Sprint 1) - Unit Selection Display/UI #2

JiashengLi opened this issue Aug 11, 2022 · 0 comments
Assignees
Labels
approved documentation Improvements or additions to documentation feature New feature or request Sprint 1 team 1
Milestone

Comments

@JiashengLi
Copy link
Contributor

JiashengLi commented Aug 11, 2022

Description

In an RTS game, one of the key points is to be able to interact with the things on screen. Most notably, you want to be able to select the buildings and characters or even interactable entities (resources that can be gathered) on the ground in order to give them orders or get additional info on their current state or even upgrade/level them up depending on the game.

This selection logic usually relies on two types of actions for the player: either drag a box around the things you want to select, or click on some of them more specifically.

During the game process, whenever the player hovers over an interactable element/entity, it will highlight it indicating that the user can select it. When it clicks or selects a legal element, the game will read their various attributes and generate a fixed-position box to display information to the player which options of either moving or upgrading/leveling up.

Other types and information of Unit Selection UI can including:

  • When selected, it can also display information like a HUD (Heads Up Display) providing details on the top/bottom or sides of the screen rather than showing a pop up box in the middle of it.
  • Hold clicking and dragging the object to move
  • Double Clicking
  • Highlighted element provides the name or action to interact with
  • Depending on the element/object, the highlighting will be different.
  • Possible option in the information box could include customizability of the entity/character. (Different skins)
  • All Unit Selection UI will have a similar themes depending on the type.

Examples

  • Information Box: This box will contain the core information of the selected element. Such as health, defense, faction, etc...

  • Information Box: This box will contain options such as upgrading/leveling up the selected element if possible.

  • Hover Selection: This box or outline will inform the user whether that element is interactable or not.
    image

  • Legal Targets: Generally speaking, legal targets include buildings, creatures, and resource points. This range will change as the game is further developed.

Dependencies

  • The layout of the information box: This element needs to occupy a part of the area in the overall UI construction (#xxxx).

  • Buildings, Enemies and Friendly Creatures: This feature must select the generated objects to get their variables and properties for display (#xxxx).

Milestones

  • Goal 1: Come up with a UI display of the selected unit/building(drawn out) (Aug. 20)
  • Goal 2: Having a way to select/deselect units/buildings in the game itself(Aug. 23)
  • Goal 3: Replicate the UI display box we have drawn out into the game itself (Aug. 26)
  • Goal 4: Link selecting different types of units to the respective display boxes in the game itself (Aug. 28)

Completion Deadline: Aug. 30

Extras (optional)

  • When hovering over a building, have an outline of the building.

Documentation

  • ...(The later Wiki documentation)

Members

@JiashengLi JiashengLi added the feature New feature or request label Aug 11, 2022
@JiashengLi JiashengLi added this to the Sprint 1 milestone Aug 11, 2022
@JiashengLi JiashengLi changed the title Team 1 First Ticket Team 1 Feature Ticket: Unit Selection & Information Box Aug 13, 2022
@JiashengLi JiashengLi changed the title Team 1 Feature Ticket: Unit Selection & Information Box Team 1- Sprint 1: Unit Selection & Information Box Aug 13, 2022
@jackieooikk jackieooikk changed the title Team 1- Sprint 1: Unit Selection & Information Box Team 1, Sprint 1 feature ticket - Unit Selection Display Aug 13, 2022
@Akshath-K Akshath-K changed the title Team 1, Sprint 1 feature ticket - Unit Selection Display Team 1 feature ticket (Sprint 1) - Unit Selection Display/UI Aug 13, 2022
@Akshath-K Akshath-K added the documentation Improvements or additions to documentation label Aug 13, 2022
@jiupinbaocha jiupinbaocha self-assigned this Aug 14, 2022
@Sourav-RC Sourav-RC self-assigned this Aug 28, 2022
@Akshath-K Akshath-K changed the title Team 1 feature ticket (Sprint 1) - Unit Selection Display/UI Team 1 (Sprint 1) - Unit Selection Display/UI Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved documentation Improvements or additions to documentation feature New feature or request Sprint 1 team 1
Projects
None yet
Development

No branches or pull requests

6 participants