I have replaced the free camera with Arc rotate camera and moved windmill at the center. Also I have Increased the grass height:
Small update. You can add map icons and mask when behind obstacles!
Chrome latest here, working as expected… Any errors in console?
With camera attached to canvas, is working? Necips had the same problem…
comment this line: if(step!= 2) return false;
and the cartography works again.
You should work with promise like in this example https://playground.babylonjs.com/#04VXAJ#0
Another unfinished game concept.
Funny this is one of the tests I made some time ago. Here is something i was also working on:
This is basically wander/seek/flee behavior of the agents. Green ball represents player an can be moved by clicking on terrain. Hit space to make player hostile or a victim. Agents act accordingly. To get rid of the if/else in the agent AI I’ve ended implementing this in my game via a behavior tree, see this great package: mistreevous - npm (also try the editor)
Minimap with two cameras
Drag box to nearest box