Skip to content

Archive for November, 2014

23
Nov

Astrovoids – Singleplayer/Multiplayer Asteroids Clone

This is a project I worked on around June 2014. It’s written in JavaScript, and uses the IvanK graphics library. The nice artwork isn’t my own! I used the Space Shooter Redux sprites, available here.

Mainly just a project I used to practice JavaScript, specifically OO JavaScript using the base.js library. Coming from nice OO languages like C#, I felt a bit hindered by the prototype based inheritance JavaScript offers. base.js sets out to help you there, well worth looking into!

The singleplayer code is available on GitHub: https://github.com/OliverF/astrovoids

The singleplayer version is available here: http://projects.bitnode.co.uk/Astrovoids
(Use WASD to move, space to shoot)

The multiplayer version is where it gets interesting. Unfortunately, I’m not happy with the performance of the multiplayer version right now, so I’ll post an update about that later.

1+
Fork me on GitHub