Intro to Coin Game tutorial
Welcome to this tutorial about the basics of eMath.js.
In this tutorial, we'll walk through the process of building a simple incremental game where users can gain coins and invest in upgrades to increase their coin earnings.
Prerequisites
Before we dive in, ensure you have the following:
- Basic knowledge of JavaScript or TypeScript.
- A code editor (e.g., Visual Studio Code) for comfortable coding.
- Either:
- NodeJS and npm
- or a browser to view HTML
What You'll Learn
Throughout this tutorial, you'll gain hands-on experience in:
- Using eMath.js for managing currency and boosts.
- Implementing a simple gain mechanism for earning coins.
- Creating an upgrade system with cost scaling and level-dependent effects.
To get started, check out the setup tutorial. If you want to see the final product, click here