game

Basic Threejs Game Tutorial Part 4: Moving 2

Introduction

In this article we are going to upgrade our movement system by adding a click indicator and touch capabilities so it can be played on mobile devices. The indicator will show the player's destination an area is right clicked and disappear when the player arrives at that location.

Let's Begin

We are going to start by adding two new variables for our indicator. The top and the bottom portions.

Basic Threejs Game Tutorial Part 1: Basics

Introduction

In this series I will show you how to create a basic game using Threejs. By the end of this series, you should be able to create the main character, walk around your world, create environment objects such as trees and rocks, detect collisions, fight enemies, and pick up objects. Other than a game tutorial, this series will provide you with a neat set of functions using Threejs that may help you on other projects. Let's begin!