Chrome battles IE in Space Invaders for geeks
The iconic Space Invaders game has been recreated using browser icons in this cool little JavaScript demo. What will your time be?
Browser Invaders is a fun little experiment built by Seb Lee-Delisle for this year’s State of the Browser conference for web standards enthusiasts. After live coding most of the game, Lee-Delisle pitted browser evangelists against each other.
The game is built using Canvas and you can change which browser you’re playing as by hitting one to five on the opening screen. Having moved away from developing in Flash several years ago Lee-Delisle used “pretty much just raw JavaScript” mixed with a little existing code to handle requestAnimationFrame and the keyboard input" to build Browser Invaders.
Lee-Delisle explains that the JavaScript uses "very simple physics – I’m just oscillating the x position of the invaders on a sine wave. They speed up as the game progresses".
Like this? Read these!
- How to create an app: try these great tutorials
- Free Photoshop brushes every creative must have!
- Free Photoshop actions to create stunning effects
Have you seen a classic game reinvented in with a modern twist? Let us know in the comments box below!
Thank you for reading 5 articles this month* Join now for unlimited access
Enjoy your first month for just £1 / $1 / €1
*Read 5 free articles per month without a subscription
Join now for unlimited access
Try first month for just £1 / $1 / €1
Get top Black Friday deals sent straight to your inbox: Sign up now!
We curate the best offers on creative kit and give our expert recommendations to save you time this Black Friday. Upgrade your setup for less with Creative Bloq.
The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.