MarketJS
  • MarketJS
  •   Contact  
  •   Case Studies  
  •   Blog  

HTML5 Endless Runner: History and Design Thinking

Jan 24, 2017
9 minute read

Alt text

At MarketJS, we receive many requests on how to build Endless Runner games.

Instead of diving into code, we’d like to approach this from a high level form of thinking. At the very least, this tutorial will teach you how to approach building and designing an Endless Runner game in HTML5. For simplicity’s sake, let’s abbreviate this as ER.

What’s an Endless Runner (ER) game?

Essentially, this a game where a main protagonist runs forward into the game which never ends. One of my favorite endless runners is Jetpack Joyride.

Alt text

Figure - Jetpack Joyride from 2011

History

The Endless Runner genre stems from 2D platformer games in the 90s. Back then, 2D platformers such as Super Mario were all the rage. The gameplay was simple, where the player controls all aspects of the main protagonist (Mario), including moving, jumping and shooting.

With the proliferation of smartphones and tablets since 2007, mobile consumption habits evolved to short-term attention spans. Users are more accustomed to ‘snackable gaming’, where game sessions are minutes instead of hours. To meet this demand, developers had to simplify 2D platformer games.

The first variation involved replicating the 2D platformer experience on the mobile device, without movement controls. Developers essentially made the main character constantly run. Players only had two controls — jump and shoot. The games were designed to be in endless mode. This was one of the earliers endless runners. Monster Dash was the perfect example of this. We call this two touch endless runner (2TER).

Alt text

Figure - 2TER

The second variation is even more simplified. Instead of two touches, the game only has one touch control. This makes perfect sense — the mobile user is constantly on the go, holding the device on one hand. Developers started making characters automatically run and shoot. All the user has to do, is tap anywhere on the screen to jump.

This spawned a whole subset of one-touch endless runner (1TER) games, which include Jetpack Joyride (tap to boost the jetpack) and Flappy Bird (tap to fly higher)

Alt text

Figure - 1TER

Mobile gaming habits of users, have actually encouraged developers to be more creative in their game design solutions. Simplicity is heavily rewarded with massive audiences.

Coupled with the idea of HTML5 being the driver of fast and nimble games, building an extremely simple ER makes a lot of sense.

Approaching ER design for HTML5

There are many ways to start the design of an ER game. I’ll describe in general terms, how we arrived at our Santa Claus Chimney Challenge game design.

Initially, we didn’t even think of building an ER game. We simply wanted to build a Christmas-themed game that works well with HTML5.

The user plays Santa Claus withs his red-nosed reindeers. It’s Christmas, and Santa has to get to his destination to deliver gifts. We know that Santa goes through a chimney to deliver presents.

The first thought we had, was to have Santa drop into the chimney to deliver presents. This makes perfect sense! The design of the game would involve:

  • positioning Santa into a chimney
  • having Santa climb down the chimney, to a christmas tree, inside a house
  • having Santa deliver the presents to kids, and scoring points
  • drawing the necessary artwork for this

Holy crap! This was orders of magnitude more complicated that what we envisioned. This will be hard to pull off with HTML5. Imagine all the artwork needed to accomplish this. We had to rework and simplify our design. Back to the drawing board.

We also know that chimneys are made of these hard red bricks, which Santa could potentially crash into. To us, chimneys vary from heights (from those tall factory chimneys) to regular household ones. What if, we could make them as obstacles? We could vary the height, and Santa will have to avoid crashing into the chimneys.

Alt text

Figure - Fitting Santa and his red-nosed reindeers between the chimneys

Alright then. Now we have Santa and his red-nosed reindeers. We have chimneys. The scrolling background could be a snowy one with nice homes and some trees. Looks like a recipe for an 1TER game.

Next, we thought about the difficulty of the game. Viewed from a 2D perspective, Santa and his red-nosed reindeers are seen as 5 separate blocks (santa and 4 other reindeers). They would interact with each other via a ‘chain’ mechanic.

This is perfect for us, because it’s naturally difficult to fit a chain in between chimney obstacles. We knew it was going to be fun for the users, because it gets tricky to fit all 5 objects in the chain, between the chimneys!

Now we have to tweak the difficulty of the game. We had to be sure:

  • the chimneys aren’t too tall 
  • the jumping mechanic ( the object chain) works extremely well in avoiding the chimneys
  • the chimneys shouldn’t spawn that often (so the players can have some emotional relief in between chimneys)

The rest is simply wrapping it up into an ER mode, where points are scored for the distance covered by Santa. 

Link to Santa Claus Chimney Challenge game:

bit.ly/santa-chimney

Summary

I hope this article helps developers with their game design thinking. This approach can basically be applied to any other game genre for HTML5 game development. For more inquiries, feel free to drop us an email: [email protected]

Christmas  Design 

About the blog

MarketJS is a company that leverages HTML5 to provide cross-platform solutions to clients. We have been serving clients since 2012.

Here's a summary of what we do:

  1. We operate a B2B marketplace for other companies and brands to license high quality games.
  2. We help companies reskin or rebrand existing games from our portfolio.
  3. We launch white label game portals for clients.
  4. We design and develop bespoke games for brands, which include advergames, lead generation games, newsgames, and social impact games
  5. We develop game solutions for taxis, airlines, hospitals, schools and more.
  6. We build playable ads for app and gaming companies

This blog is dedicated to HTML5, game development, product design, startups, and life in general.

If you're a large organization interested in using HTML5, we highly recommend reading our case studies.

How to reach us

Subscribe

Contact

Follow

Recent blog posts

5 Design Tips For Real Money HTML5 Games
4 Common Missed Opportunities in Reskinning Games for Brands and Agencies
Split Screen Chromecast HTML5 Games
Funny Faces: Spatial Memory Game for Kids
HTML5 Game for Cognitive Training
Classic Game of Tic Tac Toe with New Fun Features
4 in a Row: Two-Player HTML5 Game with a Chat System
Smart Soccer: Physics-based Game with a Smart AI
New 3D Game: Jumpee Land
Escape from Aztec: New and Exciting Endless Runner Game
Social Blackjack: Card Game with Friends
Wasteland Warriors: a real time multiplayer game
We built a Google Chromecast game
Rising Cost Per Install In The App Economy
New HTML5 Game: Monsters and Cake
New HTML5 Game: Street Fight
New HTML5 Game: Taxi Pickup
Merchandising done right
Superbowl Ad Recap : Clash of Clans
The Old Game Flow Design
New HTML5 Game: Guess The Celebrity
New HTML5 Game: Leave Me Alone
HTML5 Endless Runner: History and Design Thinking
New HTML5 Game: Snowball Office Fight
Thinking HTML5 with castle walls and moats
Thoughts on Supercell videos
New HTML5 Game: Hidden Objects Pirate Adventures
Would a brand spend $20,000 to acquire 10,000 users?
New HTML5 Game: Banana Jungle
New HTML5 Game: Snowball Fight
New HTML5 Game: Totem Volcano
New HTML5 Game: Shark Attack
Good old times with OpenRA
New HTML5 game: Pop Star Dentist 2
Indie Reality Check: Guidelines
New HTML5 game: Slots Beach
HTML5 Game Development Workshop
How we can all learn from Jay-Z
Product launch: Triumphs and Tribulations
3 AM days and ways to avoid them
When the errors keep coming, what do you do?
What a great producer does
Mini-Detachment Experiment 1: Stop reading tech news
New game: Monster Mash
Gmail is winning on mobile
Timely donation
Why software matters
Serendipity as a game mechanic
A blast from the past: Buenos Aires
Upcoming event worth attending
New game: Sector 49
Make meaning
New game: Vampire Dress Up
New game: Kitten Bounce
New game: Ships and Monsters
iOS7 Mobile Safari: Big Branding Opportunity
New game: Mouse and Cheese
New game: Whats My Brand?
New game: Royal Princess Dress Up
New game: Feed the Grandma
New game: Pop Star Dentist
Mobile first mentality
How to focus
On raising money
98 percent of everything is crap
Common Fallacy #1
Offline advertising done right
Blogging from the phone
Re-write
Avoid gatekeepers, and focus
Refresher - Mobile HTML5 browsers
A dataset that I enjoy
On the Paul Graham accent debacle

All tags (39)

Acquisition  Advertising  Artists  Artwork  Blackberry  Card  Casino  Causes  Christmas  Chromecast  Cost Per Install  Design  Entrepreneurship  Firefox  Focus  Games  HTML5  Hidden Object  Insane  Licensing  Life  Marketing  Merchandise  Multiplayer  NSFW  Opera  Pirates  Project Management  Real World  Self-Development  Server  Soccer  Strategy  Supermarket  Tizen  Travel  Venture Capital  Workshop  iOS7 
Company
  • About us
  • Jobs
  • Contact us
  • Terms of Service
  • Privacy
  • Blog
  • Case Studies
  • 12 Ways To Work With MarketJS
  • Testimonials
  • Free HTML5 Games
  • Press
  • Podcast
Services
  • Game Reskin Services
  • Marketing Games
  • Microsite Games
  • HTML5 Playable Ads
  • Messenger HTML5 Games
  • Custom Development
  • Lead Generation Games
  • Game Leaderboard System
  • Game Login System
  • Contactless Digital Signage Games
  • Digital Signage Games
  • Private Label Games
  • Telco & mobile operators
  • Airlines and IFE providers
  • Bespoke Games
  • Google Play Instant App
  • Game Feed API
  • Trade Show Games
  • Carnival Games
  • Exhibition Games
  • Corporate Event Games
Categories
  • Web Games
  • Mobile Games
  • Browser Games
  • Retro HTML5 Games
  • Classic HTML5 Games
  • HTML5 Mobile Games
  • Kids Games
  • Educational Games
  • Multiplayer Games
  • Puzzle Games
  • Branded Games
  • Mini HTML5 Games
  • Browser Games For Sale
  • Offline HTML5 Games
New solutions
  • Skill Based Games
  • NFT Game Development
  • Skill Based Game Development
  • Real Money Games
  • Skill Based Games Vendor
  • Skill Based Games Supplier
Other solutions
  • Android Games
  • iOS Games
  • iPhone Games
  • Android APK
  • iPad HTML5 Games
  • iPhone HTML5 Games
  • Android HTML5 Games
  • HTML5 Games
  • Mobile HTML Game
  • H5 Games
  • OEM Games
White Label Solutions
  • White Label Games
  • HTML5 Game Library
  • HTML5 Games Portal
  • Mobile Games Portal
  • Subscription Games Portal
  • SMS Games Portal
  • Games For Online Events, Virtual Conferences, Exhibitions and Webinars
More white label games
  • Spin The Wheel
  • Crack The Egg
  • Roll The Dice
  • Trivia
  • Board Games
  • Slots
  • Endless Runner
  • Grab and Win (Claw Machine)
  • Select a Picture and Win
  • Memory Match and Win
  • Scratch and Win
  • Gamification With Coupon Codes, Vouchers and QR Codes
Mobile Analytics
All content on this website, excluding any 3rd party logos is copyright MarketJS.com, 2011 - 2022