Clock
I have implemented a simple clock to determine the current time in the game. The Schedule in the game runs based of the hour in the clock. In the current implementation an in-game hour is 5 seconds in real time. This is this way because I wanted to see first if the inhabitants would follow their schedule. Obviously this would be changed in the future.
Family Roles
I have discussed about the family roles in previous updates but right now I decided to color them differently to better distinguish which inhabitant have a particular role because the roles play a major role in the schedule that they are doing
Schedule
Each role have a different schedule assigned to them. A particular activity would be done according to the schedule for a particular hour. Each activity is assigned an area where the inhabitants would operate.
Path finding Algorithm
The game is currently freezing at certain times mostly when all inhabitants are moving. I suspect that this has something to do with the path finding algorithm that I implemented. Because it apparently stores up to 40 nodes when the inhabitant would path find to a far area. The way I tackle this is to store fewer nodes instead
0 comments