Examples from the playground

I have replaced the free camera with Arc rotate camera and moved windmill at the center. Also I have Increased the grass height:

https://playground.babylonjs.com/#A0YCX2#8

1 Like

https://www.hiteshsahu.com/River

1 Like

Camera angle zoom in mode :wink:

Draw Hex

image

3 Likes

https://www.babylonjs-playground.com/#7RRC76#5
Small update. You can add map icons and mask when behind obstacles!

1 Like

Still cannot see minimap (Chrome latest)

Chrome latest here, working as expected… Any errors in console?

No errors. Here is Opera screenshot

https://www.babylonjs-playground.com/#7RRC76#6
With camera attached to canvas, is working? Necips had the same problem…

1 Like

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 :smiley: this is one of the tests I made some time ago. Here is something i was also working on:


https://www.babylonjs-playground.com/#R9C0T6#38

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)

4 Likes

Minimap with two cameras

1 Like

1 Like

Drag box to nearest box

image

2 Likes