alexitsios / Calamity

2 stars 0 forks source link

Setup Player Stats #197

Open seekeroftheball opened 1 year ago

seekeroftheball commented 1 year ago

Implement Player Stats

Reference this document. Read the requirements for the Class Methods Player Stat Manager, and the Progression Beats.

Player Stat Manager

Health

Speed

example:

enum SpeedStates{
  SpeedA,
  SpeedB,
  SpeedC
}

const float SpeedAValue = 10;
const float SpeedBValue = 5;
const float SpeedCValue = 2;

SpeedStates currentSpeed;

fooMethod(){
  switch(currentSpeed){
    case A, B, C = SpeedA, B, C
  }
}

Acceptance Criteria

Stick with implementing player health and speed for now, make the associated ScriptableObject int and float references, write the manager scripts with some placeholders event handlers like a state machine for the health to call feedback events at different levels. It'd also be nice if the speeds are functional with the input keys for walk and run with shift key.

alexitsios commented 1 year ago

Hey Fellas, what's the status of this ticket?

@josschi95 @seekeroftheball

josschi95 commented 1 year ago

Submitted. Awaiting review and approval.

crtherin commented 1 year ago

Have you had a chance to review this? @seekeroftheball

alexitsios commented 1 year ago

@crtherin

@seekeroftheball said he'll be out for a few weeks, check again end of next week if possible.