Cubefield in THREE.js
Published January 02, 2017
Chris Hayes

Screenshot of the 3D Cubefield game scene Screenshot of the 3D Cubefield game scene
Recreating a Classic: Cubefield in Three.JS
Remember the days when flash games were all the rage? I certainly do. Taking a trip down memory lane led to my rendition of the classic game 'Cubefield', rebuilt with Three.js.
This was done back in 2017, so THREE.js may look a bit different today if you're looking at the code.
🎮 Play the game here: Cubefield (opens in a new window)
👨💻 Check out the code on GitHub (opens in a new window) .
`;
showVideo = true;" x-show="showImage || showVideo" x-trap="showImage || showVideo" class="fixed top-0 left-0 z-50 h-full w-full bg-black bg-opacity-50 p-16" style="display:none" @click="showImage = false; showVideo = false">![]()