Skip to content

Refactor game state #2016

@manuq

Description

@manuq

The game state script became big-enough that the gdlint started complaining about the amount of public methods. But more importantly, it is being used for multiple states, namely:

  • State that should be persisted to continue the game in a new play session, after exiting the current session. For example: the completed quests, the current scene.
  • State that is transient the current play session.
  • State that is transient to the current scene. For example: if the intro dialogue has been shown. If the lights are on or off.

This would welcome a refactor.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions