CodeNewbie Community 🌱

Cover image for Mantra, Serverless Game Development Framework
Marak
Marak

Posted on

Mantra, Serverless Game Development Framework

Hello friends. I've been working on a new JavaScript game development framework called Mantra.

Mantra allows you to develop video games quickly in JavaScript. Mantra games run offline or can seamlessly be deployed and autoscaled to the cloud for massive multiplayer. We handle all the physics, graphics, and high-performance networking code complexities.

There are many live code examples provided at our Github repo: https://github.com/yantra-core/mantra

There are interactive code examples on CodePen

To give a quick example, you can start a game by embedding this script on any HTML page:

<script src="https://yantra.gg/mantra.js"></script>
<script>
  document.addEventListener('DOMContentLoaded', (event) => {
    let game = new MANTRA.Game();
    // optionally use plugins like Bullet
    game.use(new MANTRA.plugins.Bullet());
    game.start();
  });
</script>
Enter fullscreen mode Exit fullscreen mode

Mantra is currently in ALPHA, and I would love to get some early contributors to the project!

If anyone is interested in testing the project, providing feedback, or landing some Pull Requests, please do not hesitate to reach out.

Come join the AYYO Discord if you have any questions!

Cheers!

Top comments (2)

Collapse
 
lgft55 profile image
lgft55

Data protection apps often use advanced encryption techniques to secure files, ensuring that even if unauthorized users gain access to the device website, they cannot view the protected content without the decryption key.

Collapse
 
euse44 profile image
euse44

Three Patti is a highly engaging card game that offers hours of entertainment and fun for players. Whether playing with friends at a social gathering or online with players from around the world download apk, the game's unpredictable nature keeps players on their toes and adds an element of excitement to the gameplay.