Amolik SinghLet’s Connect
← all projects

Space Invaders

Archived

A from-scratch Android arcade game, built for CS 349

Mar 2020

  • Java
  • Android
  • Android Studio
Course
CS 349, University of Waterloo
Platform
Android
Language
Java
Built
March 2020

What it is

A mobile build of Space Invaders, written from scratch in Java in Android Studio for CS 349, Waterloo's user interfaces course. No engine, no starter template — the game and everything around it was built up from an empty project.

The assets were made rather than sourced: the sprite art and every sound effect are original, so the game has its own look and its own audio instead of borrowed ones.

Making your own assets is most of the work

Drawing the sprites and recording the sounds is the fun half. The other half is everything that comes after: getting dozens of image and audio files into the right resource directories, named consistently, loaded at the right time, and small enough not to bloat the build. On Android that plumbing is unforgiving in a way a user interfaces syllabus does not really prepare you for, and it was where most of the time went.