Our great sponsors
-
exploit-game-environments
This repo contains the environments of each module of Exploit using ThreeJS
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
In part 1 of this series, I talked about how we were inspired by Google Interland's Reality River and decided to build a cybersecurity game similar to it with three.js called Exploit. We wanted to create a lightweight browser-based game that would be fun, engaging, and educational. As complete beginners who are learning three.js for the first time and also our first game-building experience.
The code for our awesome character resides here.
Until this point, we had to go through many trials and errors to figure out how the environment would come together. The three.js documentation was our main source of guidance while implementing this project. We experimented with creating clouds, different positioning of the buildings, shadowing, and sphere geometry. In our environment, we have the moon, clouds, and buildings so far and of course, the game character that interacts with its environment. Since the moon was the very first component of the environment we worked on, I want to provide some code snippets to explain it.