00:02Peggy 12
00:13Hi, this is Dan Moskowitz. In this video we'll show off our new simulation engine, Glassbox,
00:18and how we're using it to simulate the basic economic loop between residential, industrial, and commercial buildings.
00:24Keep in mind that this demonstration is showing off simulation behavior, and not graphics.
00:29So here I've got a small town that I've built. It has a pretty small residential neighborhood and a block
00:36of industrial buildings over here.
00:38It's almost 6 a.m. in my city, and that's when the industrial buildings turn on for the day.
00:42The first thing their rules do is tell them that they don't have any workers, so they need to send
00:46out some help-wanted requests.
00:48These are agents that are invisible to the player that travel down the roads and look for residential buildings to
00:55basically knock on the door
00:56and send out cars looking for work.
01:01And here we see a whole bunch of cars that are traveling along the pass looking for a job.
01:06They're going to travel to the first available job using the virtual distance field to do their navigation.
01:13When enough workers arrive at an industrial building, the building turns on and starts producing goods.
01:20The rules that produce the goods are the same rules that produce air pollution.
01:26The simulation rules that create the goods are also creating air pollution.
01:31Here we see buildings writing to the air pollution map, and it's the same rule that triggers the smoke effect.
01:37And here we see a debug visualization of that map.
01:46As each industrial building produces goods, it sends out freight trucks that deliver from the industrial zone to the commercial
01:53zone.
01:54Here's a freight truck delivering to a commercial building.
01:57And that's the basic economic loop between the industrial, commercial, and residential zones in SimCity.
02:02Thanks for watching!
Commenti