I've did some research regarding how I can simulate a game world and it seems that I need to decide whether I want to write a continuous or a discrete simulation. From my understanding in a
continuous simulation
I simulate each entity based on the time passed from the last calculation so for example if I have a moving entity which has the speed of N unit / sec then if 1 sec passed since the last calculation (I assume that I calculate new states of the system in a loop) the entity will move N units. In a
discrete simulation
on the other hand I calculate "turns" for example and my entity will have a speed measured in units/turn.
From what I understand discrete simulation is not as granular as a continuous simulation but is easier to calculate. I'm not sure that I get this right. I'm in the planning stage of a Dwarf Fortress-like roguelike game and I'm not sure which method will be fine for my purposes. So my question is:
- What are the practical (in terms of game mechanics and playability) differences between continuous and discrete simulations?
- What are the pros / cons of them?
- Do I have holes in my understanding of the concepts?