the_dungeon_project issueshttps://gitlab.crans.org/genie_logiciel_2015/the_dungeon_project/-/issues2018-01-24T06:58:11+01:00https://gitlab.crans.org/genie_logiciel_2015/the_dungeon_project/-/issues/18GameLoop Ideas2018-01-24T06:58:11+01:00Thomas DupriezGameLoop IdeasLet's discuss here!
Thomas' original proposal: "It is not really an issue, it's more an idea that popped in my head. Feel free (not?) to use it.
The gameLoop maintains, for each entity, their "intentions" (eg. I want to move in thi...Let's discuss here!
Thomas' original proposal: "It is not really an issue, it's more an idea that popped in my head. Feel free (not?) to use it.
The gameLoop maintains, for each entity, their "intentions" (eg. I want to move in this direction, I want to attack left, ...). All incoming events are processed as soon as they are received, but they don't modify the actual gameContent. Instead, they modify these intentions.
And then, at each game frame, the gameLoop goes through all the entities of the gameState, get their intentions and try to apply them to the gameContent. It then send Events to the clients, so that they can update their gameContent.
I think it is simple, but enforces the game frame constraints you wanted.
To add an example, imagine that, between 2 gameFrames, the gameLoop receives 2 move events from the same entities. With this system of intentions, the second event overwrite the intention the first one set, and the next gameFrame will only consider the intention generated by the second event. Of course, the time between 2 gameFrames must be short enough not to make the game unplayable."Theodore LopezTheodore Lopezhttps://gitlab.crans.org/genie_logiciel_2015/the_dungeon_project/-/issues/52Filling empty rooms2018-01-24T06:58:11+01:00Lucas DelcrosFilling empty roomsIn a mail recently received :
"And we may also consider filling a bit all these empty rooms with some furniture (I'm thinking of Tiles, whose sprites would be furnitures and who would be unpassable)."
Any ideas game design or othe...In a mail recently received :
"And we may also consider filling a bit all these empty rooms with some furniture (I'm thinking of Tiles, whose sprites would be furnitures and who would be unpassable)."
Any ideas game design or others ? https://gitlab.crans.org/genie_logiciel_2015/the_dungeon_project/-/issues/53AI type2018-01-24T06:58:11+01:00Arnaud GuerquinAI typeYann added a way to have different parametrized IA.
To choose an AI for an entity, I see three choice :
* random choice at the entity's generation between all possibility.
* select the AI specified by the species
* select on...Yann added a way to have different parametrized IA.
To choose an AI for an entity, I see three choice :
* random choice at the entity's generation between all possibility.
* select the AI specified by the species
* select one choice between all AI specified by the species.
If the first or third choice is given, should this impact the character's statistic ?