Inspiration

I wanted to create a zero gravity space shooter that played similar to the retro Asteroids game. However, I wanted to make it more exciting with fun graphics, fx, and some customization. Additionally, I wanted to build it to be played in the web browser.

What it does

You fly around and shoot space rocks to see how long you can last and how high of a score you can reach. Power ups drop occasionally to help you out.

How I built it

I built it using the Unity Editor and exported the project into a WebGL build. After that, I created a new React project and imported the WebGL compiled code into it.

Challenges I ran into

One of the biggest challenges was to learn how to have the Unity WebGL code communicate with the React front-end code. Unity provides a way to do this but there is very little documentation on the subject. It took a lot of trial and error to get the two platforms talking. But once I was able to figure it out, I was able to integrate the blockstack auth and Gaia storage into the game.

Accomplishments that I'm proud of

This is my first polished Unity game and I'm excited to share it with the Blockstack community. I was also excited to be able to figure out how to integrate this game with the Blockstack ecosystem.

What's next for Apollos

I plan on incorporating more long term progression into the game by adding levels with specific challenges that can unlock some in-game rewards like different ship models, ship colors, starting bonues, etc.

Share this project:

Updates