This project is pretty barebones, with no external dependencies beyond a TypeScript compiler. This makes it an ideal environment for developing a simple game engine from scratch. This game relies on canvas for most of the real on-screen work, so the rest of the game UX is mostly there to support that.
To run this project, we recommend you utilize Modern web browsers such as Google Chrome, Mozilla Firefox. The project does not support Explorer/Microsoft Edge. This Project is free to download, utilize for educational purposes only.
How to Run
- Download the zip file from the website.
- Extract the Main file.
- Open Index.html file.
- To edit the file Open the files in text editor and edit as per your requirement.
We hope you enjoyed this article about building simple classic 2D games in TypeScript. This rudimentary game “engine” could be modified or upgraded in countless ways to be used for anything from online chess to web-based RPG games or anything else, limited only by the imagination of the developer.