Building from a template
Templates make it easy to get started building games on Venus. Currently, we have a few basic templates, but we'll offer more over time that give you a bigger head start in popular game genres.
Download a template
2D games tend to be easier to build than 3D games. Our 2D template uses Phaser, which is a very powerful and easy to use 2D game engine.
Our 3D game template uses Three.js, the most popular and powerful 3D rendering framework on the web.
Use our React template if you want to build a game with a lot of interactive UI. React generally helps make complex UI easy to build for both desktop and mobile.
Use our bare bones template if you want to explore 2D or 3D, without choosing one up front. You can build anything you want with this, using any web technologies that you choose. Using this template still saves you the work of setting up a new HTML project with TypeScript.
Open the project in your favorite code editor
Developers, we know that you are most productive when you're using your favorite tools. So, feel free to use any IDE that you prefer for development.
We do recommend Cursor, and we use it ourselves to keep things moving fast. In the Venus CLI docs, we will show how you can install Cursor rules into your project to make the CLI and SDK even easier to use. We think that Cursor's also the best choice for new developers who need help getting started and who are interested in using AI to write code.
To begin development, simply open the folder you unzipped above in your code editor.
Initialize your game
If you didn't already install the Venus CLI, install it first.
Open a Terminal directly inside the editor and type:
venus initIf you prefer using your Terminal/Powershell outside of your IDE:
cd <your project's root folder>
venus initThis will take you through a few basic steps that give your game a name, description, etc, for when it appears on the Venus platform.
Deploy to Venus
This will give you a link that you can open to verify that everything is working as intended.
npm run deployIf everything is set up correctly, this will build your game, upload the build to the platform, and then return a shareable link. The link is playable by anyone on web or in the Venus app. This link will be unlisted, so don't worry about other people finding this game on the Venus platform. To make it show in search results on Venus, see publishing instructions.
Start coding
If you're new to development, we suggest browsing Cursor's documents, or finding some YouTube videos on vibe coding.
Last updated