WebVR Pong: A New Chapter


Last Month, we had the honor to submit our newest creation WebVR Pong, to the Virtuleap Hackathon. Like the title suggests, it’s a WebVR version of the classic game of the same name with an online multiplayer mode. We had a blast making it, I hope you also do playing it with your friends. Be sure to also check out the other cool submissions for the hackathon!

This time around, the hackathon offered two tracks for contestants: “education” and “games from the past”. After a short brainstorming session with the people involved in the project (me, Jonathan and Andy), we decided to make a classic game in WebVR and quickly agreed on making the reimagination of Pong.

As this contest was about using WebVR technology, Unity 3D or Unreal Engine weren’t the right fit as they don’t support WebVR yet (or produce big binaries). Our options were: A-Frame, Three.js or Magnum compiled to WebAssembly. With each having their own perks and drawbacks, we decided on using Magnum due to many different reasons. If you followed our journey so far, you know we have worked with Magnum in the past and developed the Wonderland Engine with it. It is lightweight, easy to use (if you know C++) and you only use what you need, so the size of the project does not blow up immediately. Going back to an amazing framework like Magnum made working on this project a breeze.

This was a refreshing experience after having almost exclusively worked on Unreal projects for the last year. As I was responsible for rendering and modeling, having the control of loading, instantiating and drawing every individual mesh and being able to see the big picture by not having the abstraction of a huge game engine in the way is definitely an educating experience. I feel a lot more comfortable with working in C++ and using Magnum in the future after this project and definitely recommend it to people interested in graphics development with C++.

Also, look forward to a post by Jonathan on the networking side of WebVR Pong. He also delves into it a bit on his semi-daily Blog.

Anyway, back to the game features. As of now, you are either matched with the next person in the queue in multiplayer or you can start your own room and play with your friends. The game is our first experiment with WebVR and we would like your feedback on it. You are welcome to contact us via comment or e-mail or direct messages on any social media platform we’re on. We hope you enjoy playing the game and keep your eyes open for more WebVR content from Vhite Rabbit in the future, as we continue to explore this new space more from day to day. This is only the beginning.

 

Sincerely,

Florian of Vhite Rabbit

August 10th 2018 8:17 PM | by Florian Isikci | posted in General