I was thinking of creating a point'n'click adventure game. The problem I ran into represents the logic of the game and the state in a general (and not ugly butt) way.
State of the game:
You took an object from the room, it should no longer be there (it can be done easily) You spoke with a character who went on to influence another room / screen, how to save the number and character in what state
The logic of the game:
You are talking to a character, he makes some kind of animation and changes some things in a global state, how would you install this without hard coding the game?
I think the questions are related to each other, because figuring out how to represent the state will go a long way in determining how to define "actions."
source
share