Re: New building generating system is strange
Posted: 25 Aug 2017, 21:47
You know Lobby was always a bit strange.
A feature rich city builder game for Android, iOS and PC
https://www.forum.theotown.com/
That's hard to make we need more texture thenformer member wrote: ↑25 Aug 2017, 20:08why they all build from the top to the bottom of the map? That's very illogical.
Code: Select all
public double getMinDaysUntilReplaced(Building building) {
if (building.inConstruction() || building.isLocked() || building.isUntouchable()) {
return Double.MAX_VALUE;
} else if (building.isEmpty() || building.getBuildingType() == BuildingType.DECORATION) {
return 0; // This must be -Double.MAX_VALUE instead
} else {
double daysBuilt = building.getDaysBuilt(absoluteDay);
int buildTime = building.getDraft().buildTime;
return 45 + 1000 * Math.log(1 + 0.01f * buildTime) - daysBuilt;
}
}
yeah you are right former member @Lobbyi have one question why the building like for example this buildingformer member wrote: ↑26 Aug 2017, 07:52You misunderstood me. I mean, why they are building from the North-East to the South-West of the map? That's very unrealisticBearbear65 wrote: ↑26 Aug 2017, 03:22That's hard to make we need more texture thenformer member wrote: ↑25 Aug 2017, 20:08why they all build from the top to the bottom of the map? That's very illogical.
It's hard to explain but
If the building was made from bottom to top the you'll need the texture between it
For every building that has a different shape and size