Yantra.gg

Massive Multiplayer Retro Gaming

Thank you for signing up! We will be in touch soon.



2D Platform
Gravity Gardens
Music
Maze
Mantra
Left Click / Right Click
Keyboard: WASD
H / J / Spacebar
USB Gamepad

The Mantra Game Development Engine

Mantra is a versatile Javascript Game Development Engine that lets you focus on game logic and design.

You development your game using the Mantra framework, and then deploy your game to Yantra's serverless physics platform.

Mantra on Github
Playground Examples
Live Documentation

Why Yantra's Mantra?

Game development is evolving, and so should the tools you use. Yantra offers a revolutionary approach to game physics, allowing you to create immersive virtual worlds without the hassle of server management, scalability issues, or high costs. Our serverless physics platform gives you a high-performance backend that scales automatically, ensuring your players get a seamless experience every time.

Transform Your Game Development

Focus on Design

Let us handle the physics. You focus on creating engaging gameplay.

Seamless Scalability

Yantra scales automatically based on demand, ensuring smooth gameplay even during peak times.

Cost-Efficient

Only pay for the compute time you consume. Say goodbye to expensive server setups.

Global Gameplay

With high-speed global-scale websocket connections, offer real-time gameplay to players worldwide.

Integrate with Ease: Yantra SDK

Our SDK is designed for developers, by developers. Integrate Yantra into your game with just a few lines of code. Experience the power of serverless physics today.

Run the SDK locally to see how it works. Deploy your serverless functions to our cloud platform for ultra low-latency.

npm install -g @yantra-core/cli
Install CLI and run yantra login for free account.

What is Serverless Physics?

"Serverless Physics" abstracts the complexities of physics simulation, empowering developers to focus on game logic and design. Experience a scalable, high-performance backend that manages physics calculations, collision detections, and more. Say goodbye to server management, scalability concerns, and performance optimization.

Supports all Languages and Game Engines

Yantra is a serverless platform, so it works with any game engine or programming language. We provide a simple JSON based state API that you can use to create and update physics bodies.

In local development, you will need to create a WebSocket connection to a Yantra server.

In production, your Docker container will automatically connect to our cloud platform for low-latency game physics.

Advanced Multiplayer Netcode Features

Global Multiplayer

Connect players worldwide with high-speed websocket connections. Experience shared virtual spaces with minimal latency.

Real-time Physics

Experience real-time physics simulation with our high-performance serverless backend.

Binary Data Compression

Reduce bandwidth usage and improve performance with our binary data compression.

Delta Updates / Delta Compression

Yantra will only broadcast differential state updates and uses delta compression for all integers.

Client-Side Prediction

Yantra supports client-side prediction for all physics bodies.

Server Reconciliation

Yantra supports server reconciliation for all physics bodies.

Snapshot Interpolation

Yantra supports interpolation for all physics bodies.

Rewind / Replay / Time-travel

Yantra supports rewind, replay, and time-travel for all physics bodies.

Float Encoding

Yantra uses a custom and configurable Int2Float encoding to reduce bandwidth usage.