Taro is a multiplayer game engine. It can support up to 64 concurrent players hosted on a $5 / month VM while running Box2D physics. Join us on Discord or support us on Patreon.
- Box2D Physics
- Netcode using UWS and LZ-string compression
- Inventory & item system
- Unit attributes (HP, Energy, etc)
- Weapon system (melee & projectile)
- Dialogues
- Shops
- Unit control (top-down WASD or platformer)
- Client-side predicted projectile + unit movement (optional)
- Basic AI
- Mobile controls
- and more!
Node Versions below 14 are not supported due to package incompatibility and degraded performance.
Taro engine will run games made using modd.io.
To run the game server, execute the following command:
npm run server
*The engine will use game.json stored in /src
directory.
You can download Game JSON from your modd.io's game's in-game editor. Go to Editor
-> Click Export JSON
.
Alternatively, you can download Game JSON from your modd.io's game's sandbox. (example). Go to Menu
-> Click Export JSON
.
Next, rename the downloaded Game JSON as game.json
and move it to the ./src
directory.
Install Node 14 or later and then...
git clone https://github.com/moddio/taro2.git
cd taro2
npm install
npm run server
Visit http://localhost:80 to start testing game.
Once you make changes, run
npm run build
and edit /src/index.ejs file, and comment
<script type="text/javascript" src="/engine/loader.js"></script>
and uncomment
<script type="text/javascript" src="./game.js"></script>
Game client's user interface is rendered by /src/index.ejs file and the theme files in /src/templates/
Please visit https://www.modd.io/tutorials for more information.
Performance optimization is a hard problem that takes aeons to solve. We are always looking for more developers to help us. To be a contributor, please contact m0dE in our Discord If you find yourself enjoying working with us, then we should seriously consider working together.
Taro is completely free and open source under the MIT license.
Taro Engine was originally forked from Isogenic Game Engine back in 2016.