Split Screen Chromecast HTML5 Games

8 min read

Split Screen Chromecast HTML5 Games

Chromecast is a digital media streaming device that connects mobile devices to a TV. It allows you to view your phone’s apps through your TV’s large display.

As such, it initially became popular as a way to project TV show and movie apps like Netflix and Hulu. Pretty soon, many other types of Cast-supported apps have been developed. And of course these included games.

And since a Cast receiver app (more on this later) is typically written in HTML5, we jumped right into the action and built a game prototype. We wrote about this experience in a previous blog post.

That first game we developed was a one-player soccer game. We have since then also created a demo for a two-player, split-screen type platform game.

But before we go into the details of that, let’s first clarify a few things about the technical aspects of the Google Cast framework.

Sender and Receiver Apps

If devices were people, then you can think of your TV and mobile device as two individuals speaking different languages, while Chromecast is the interpreter.

That is not entirely accurate though. The exchange of messages actually happens between two apps–the sender and the receiver.

The sender app is installed in a sender device like mobile phones or tablets and can be written for the Android, iOS, or Chrome platforms. On the other hand, the receiver app is written in HTML5 and works in a browser environment within Chromecast.

These two apps are the primary components of the Google Cast framework, a proprietary protocol developed by Google. There are other devices that are also Google Cast-enabled. These include certain smart TVs, TV boxes, and speakers.

Split Screen Chromecast HTML5 Games

Chromecast Game Development

The development of our split-screen game prototype for Chromecast involved two teams that worked together closely. One team was in charge of the sender app, while the other focused on the receiver app.

We registered the receiver app with Google Developers, which is a requirement if anyone wants to test any custom apps they built. You receive an application ID upon registration, which the sender app will use to launch the receiver app and send messages back and forth between them.

Split-Screen Game Demo

We decided on a simple side-scrolling runner to showcase the split-screen multiplayer capabilities of the Cast framework. The gameplay involves players tapping on the mobile screen to make a ball jump over obstacles and collect items as it moves from left to right.

The game’s sender app is installed in two different Android phones which are both connected to the same Chromecast device attached to the TV. Both players have to turn on their Cast connections and enter their names to start playing.

This is just a straightforward demo of what can be achieved in Chromecast game development. Games with stunning graphics and more complex mechanics can of course be built with the available technology.

A video showing the split screen prototype in action:

And another one, from a different angle with longer gameplay:

Chromecast Games for Marketing

The potential uses of Chromecast games are virtually limitless. One area where they can prove to be highly effective would be for marketing products and services.

This is especially true for companies that engage in outdoor marketing events, such as trade shows, exhibitions, and conventions.

Among the various benefits in using Chromecast games during an event, these two stand out:

  1. Consumer engagement - Games are intrinsically fun and appealing. People are bound to remember the company or brand that engages them in an enjoyable interactive activity.
  2. Lead generation - You can develop games where players need to enter their details to be able to play. This is a good way to generate leads from participants.

Split Screen Chromecast HTML5 Games

Final Thoughts

Building a game for use with Chromecast was a good challenge for our team. It involved the development of 2 separate yet related apps, namely the sender and the receiver. We learned a lot of lessons that we can apply in our future projects.

We believe the projects we have in mind will be of great interest for companies looking for interactive activities with which to engage their audience. Games played on a big screen are especially attractive to potential customers in exhibitions and other events.

We are truly excited about the possibilities of using HTML5 games and Chromecast to engage target audiences. Let us know your goals and we will do our very best to help you achieve them.

Marketing HTML5 Multiplayer Games Chromecast

About the blog

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

About MarketJS

MarketJS offers a variety of products and services:

  1. We operate a B2B Marketplace for other companies and brands to license high quality games.
  2. We help companies reskin existing games from our portfolio.
  3. We operate game feed for clients.
  4. We partner with high traffic channels to engage and monetize their users.
  5. We design and develop custom games for brands.
  6. We develop game solutions for taxis, airlines, hospitals, schools and more.
  7. We build playable ads for app and gaming companies.

How to reach us

We can be reached at support at marketjs dot com.

What our clients say about us

"We found MarketJS very easy to work with, and were impressed with how quickly they delivered and responded to our questions."

Rebecca MacDonald, VP of Marketing, Active Navigation

"MarketJS was very easy to work with, and they were always responsive to our questions and requests"

Jeff Robertson, Vice President of Technology & Operations, Carbon8

"MarketJS consistently delivers quality games on time and on budget. They are a great partner."

Scott Sheppard, President and CTO, MoZeus

"We had a great experience working with MarketJS. They were able to move fast on a tight timeline project and deliver exactly what we required with record time and quality. Definitely will be working with them on future projects to help bring our client’s digital needs to life."

Lauren Boutette, Account Director, Lumency

"MarketJS went above and beyond to deliver our projects tailored to our needs. Very swift and quick response and turnaround time. Highly recommended."

Yazan Al Tamimi, Account Manager, Socialize Agency

"Thanks so much for the work your team did. MarketJS was able to work with us to create a custom solution that exceeded our expectations."

Mike Davis, Sales Manager, ComQi

"We are really satisfied with MarketJS. They are quick to help with any troubleshooting and implementation."

Liliya H., Content Specialist, Telecoming

"It was a great pleasure working with MarketJS, they really helped thinking along with our needs. The delivery of the content was always quick and every custom request we had was possible to develop."

Willem van Ditzhuijzen, Business Development, CreativeClicks

"We are extremely happy with the content and service which MarketJS has provided us."

Matt McPherson, Director / Strategic Accounts , Wildtangent

"MarketJS provided excellent support and responded well to ad-hoc requests."

Seah Li-Wei, Project Manager, Spoon Creative

"MarketJS collaborated with our team really well and delivered quality work."

Kevin MacDonald, CTO, TeachTown

"MarketJS has been outstanding; they were patient and very helpful in delivering quality service that matches our custom game requirements."

Marlon Santos, Researcher and Senior Software Engineer, University of Sydney

"We've worked with MarketJS on a number of games now and always find them to be easy and efficient to work with."

Ben Gilbert, Project Manager, Ichi Worldwide

"We are very pleased working with MarketJS, it was far above our expectations in terms of deliverables."

Didier Seevraz, Digital Media Specialist, Lottotech

"MarketJS was fast, responsive and very customer focused. It was a pleasure to work with them."

Bryan Wursten, Senior Digital Editor, Boy Scouts of America

Interested? Request a free consultation

Our team shall be in touch within 12 hours.

Note: Please use your corporate email address. We currently do not accept inquiries from gmail.com/yahoo.com/free email providers.

     In order for MarketJS to respond to my inquiry, I agree to the Terms of Service and Privacy Policy of this website.
     I would like to subscribe to the MarketJS newsletter, for the latest games, case studies and products
Why subscribe to our newsletter? Thousands of executives and key decision-makers rely on our monthly newsletter for game ideas to boost their business.

  • - One of our subscribers (and client) captured over 500k USD worth of business from one game idea alone.
  • - Another subscriber (later turned long-term client) generated an ROI of 300% on their monthly ad spend. They spend 8 figures US dollars each month on paid user acquisition, hence new game ideas matter to them.
  • - Another subscriber (and also loyal customer), a publicly listed company with over 30,000 employees is using our monthly game ideas to motivate and encourage positive behavior throughout their organization.