Garden from "The Shining"

:grinning: 3D level from film.

start-img
start-img2

http://js.otrisovano.ru/garden/

9 Likes

Scary! :scream:

The game experience will be even better if you use PointerLockControls in your app like in this example:

https://threejs.org/examples/misc_controls_pointerlock

Right now, the controls are a bit inconvenient.

3 Likes

)) But it works on a phone and tablet.

That’s true. I would check for mobile devices and only then offer the current controls. In all other cases, I would use PointerLockControls.

3 Likes

Thanks. ) I will use it.

How did you achieve the effect where distant things are slightly blurry, and then as you move closer, they become clear?

Awesome work, by the way :smiley:

I did not do any effects, only added fog:
scene.fog = new THREE.FogExp2 (0x8fcfec, 0.017);

Thanks ))

2 Likes

Hehe, even better, since that means I can implement the fog thingie, too! Thanks.

Very cool! Kind of creepy too.

1 Like

NIce game vasilii! What did you use for collision detection?

Thanks )) I draw n-gon areas for player.
a88dab95e98c9924ea44e21e9745422186ca5286_2_578x500

And check Player in any n-gons or not with this formula:

2 Likes