Web-based video games are nothing new, but from a web development perspective, there is something unique about BrowserQuest. Developed by Mozilla, BrowserQuest is not only a nostalgic throwback to the likes of The Legend of Zelda, it’s also a showcase for what you can do without Flash. WebMonkey gives a brief overview of the technology used to create the game:
BrowserQuest is responsive as well, using @media queries to adapt to the size of your screen.
WebSockets — which are back, after being rewritten to fix some early flaws — handle the chat feature, which allows players to communicate within BrowserQuest. The final element in BrowserQuest’s HTML5 puzzle is localStorage, which saves your progress as you move through the game.
Yet another example of why Flash is becoming increasingly irrelevant and unnecessary in today’s web environment.
Welcome to Opus. My name’s Jason Morehead and I’ve been blogging for 20+ years. To date, I’ve posted 4,060 articles on numerous topics including music, movies, anime, pop culture, web development, technology, and religion.
If you enjoy reading Opus and want to ensure its continued existence, become a supporter today. Contributions help offset the costs of hosting and maintaining the site.