Freeciv WebGL now has beta-level support for virtual reality, using Google Cardboard VR glasses and controls by speech recognition. The screenshot above is from Freeciv WebGL running on Google Chrome on an Android phone inside some Google Cardboard VR glasses. The VR support in Freeciv WebGL has been made possible thanks to the StereoEffect in the Three.js 3D engine.
We are still developing and improving this virtual reality version of Freeciv WebGL, but we would like early feedback from users on the consept. Developers are welcome to contribute to the development of this open source project at GitHub.
This has been tested to work on a modern Android phone (Google Nexus 6P) using Google Cardboard VR glasses.
- Go to play.freeciv.org and click on 3D WebGL button.
- Enter a name and click on Customize game button.
- Then click on Game settings and 3D WebGL, then click on the “3D Virtual Reality” checkbox and OK.
- Click “Start Game”.
- Accept the message which requests access to your microphone for speech controlled unit commands.
- Observe that the game has startet, looking something like the screenshot above.
- Put your phone inside the Google Cardboard VR glasses.
- Play the game using the following voice commands:
T, Turn – Turn Done
Y, Yes, O, Ok – Yes
No – No
B, Build, City – Build city
X – Explore
I, Irrigation – Irrigation
Road – Road
A, Auto – Auto settlers
F, Fortify – Fortify
M, Mine – Mine
Wait – Wait
U, Up – Move unit up
D, Down – Down
L, Left – Left
R, Right – Right
N, North – North
S, South – South
E, East – East
W, West – West