Duck Hunt Revenge

Built in 2021

A-Frame Three.js JavaScript

TL ; DR

This website has been developed over two weeks during a virtual reality development course. It uses the A-Frame framework on which I wrote an article on my blog. The game is playable on any browser, whether it's on VR hardware, PC or mobile. Chrome or Edge are highly recommended for performance purposes with WebXR.

Duck Hunt Revenge screenshot Duck Hunt Revenge screenshot

Challenges

The biggest technical challenge was to optimise the graphical performances. The number of polygons to be displayed can quickly increase and cause the browser to lag. I had to correctly manage the different graphic and sound assets and not to do too many operations on each frame.

The second challenge was the UX. Firstly, VR experiences can easily cause motion sickness. So I had to create a game design that was enjoyable to play in VR. Secondly, I wanted the game to be playable on as many devices as possible. So I had to make sure that the interactions could be done with controllers as well as with a mouse or a smartphone.