jChicote / ProjectExodus

ProjectExodus is a revamp of the old Evacuation game. It will still have all its bell's and whistles of being a pixel art focused rescue and shoot-em all
MIT License
1 stars 0 forks source link

Create Player Selection Menu #8

Closed jChicote closed 2 months ago

jChicote commented 3 months ago

Description

Before the player opens the main menu, they are to select which player save to access

Acceptance Criteria

Implementation

Notes

jChicote commented 3 months ago

Scope Change

A new button group is added which contains minor navigation and control actions for the GameSave screen.

The buttons included are:

Important:

jChicote commented 3 months ago

Scope Change

Since we can now set the details for the game slot, we need to create a modal popup which allows us to set these details

Criteria

jChicote commented 3 months ago

Scope Change

The slot buttons need behavior to modify the image to the slot. Modify the slot so that we can change the color highlight of selected populated slots and empty slot

jChicote commented 2 months ago

Idea 1

The current state of the view is complex dependencies on view models which is violating the seperation of concerns between views. The idea is to use the conmtroller as the mediator between the view models. However this violates MVVM as the controller mediates the View Models more tightly. Removing presentation logic from the VMs to the controller, like in MVC.

Main intention for this implementation

Image

Image

Image

jChicote commented 2 months ago

Idea 2

To maintain MVVM we would need to change the design of the view models and the intention of the controller.

Problem

Image

jChicote commented 2 months ago

Scope change

The View and View models will be implementing some form of data binding so that the Views actually interact with the view models instead of the view models handling the view interaction to it.

A command will be implemented so that the some logic is executed from it being binded to the View

jChicote commented 2 months ago

Scope Change + Problems:

The view and methods to set the sprite image relies on the sprite alone as the dto sends out the sprite image. However this is being done directly on the edit modal rather than through the modal. Additionally, there is no concrete way of identifying the selected profile without using comparisons of the sprite image directly

What is needed to fix this

jChicote commented 2 months ago

Next Work Checklist: (Sunday 1st September)

Things to Fix

Additional 1:

jChicote commented 2 months ago

Resulting Design (MVVM):

Image

Image

jChicote commented 2 months ago

New Problems:

The state of each menu is ambigiously designed.

jChicote commented 2 months ago

New Problem:

Button visibility and enabled state is reverse as it should be.

jChicote commented 2 months ago

Scope Change