Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

I have exported a medium city as JSON, but how do I get it into City viewer? I have tried Crt C then Crt V, but nothing happens.

Drag and drop the exported JSON file to the viewer.

and import it here (by dropping the file onto the viewer)

I tried this, and got this: (shorthened for space, and no pic at all.

{  "type": "FeatureCollection",  "features": [    {      "type": "Feature",      "properties": {        "id": "values",        "roadWidth": 0.00007207207207207208,        "towerRadius": 0.00006846846846846847,        "wallThickness": 0.00006846846846846847,        "version": "0.7.4",        "riverWidth": 0.00030589267170456956      }    },    {      "type": "Feature",      "geometry": {        "type": "Polygon",        "coordinates": [          [            [              -0.011786272398350993,              0.0007293488994151453            ],
(1 edit)

Er... are you sure you are dropping the file on the generator itself, not somewhere else on the page containing it? (I don't have an app to capture a video how it should look)

Anyway, I'll try to implement a more obvious way to import maps, this one causes too much confusion.

(+1)

I have worked out what I was doing wrong. Boy, it is FANTASTIC. Now a 3D view of my generated city, from which I can take multiple snap images, and lead my players along 3D streets. This tool has become just fantastic.

What did you do? I dropped it directly onto the view and nothing is working.

I open my Widows explorer, minimized both windows and dragged the JSon onto the picture in City viewer, an voila. Took a few goes though.

Doesn't work for me.

I get this:

The devicemotion events are blocked by feature policy.

window.addEventListener("devicemotion",$bind(this,this.handleSensorEvent),false);