Adding a GUI

  • Hemanth Kumar
  • Abdul Rahman
Chapter

Abstract

A GUI is another essential part of any game. It shows the HUD display, score, any required text, and buttons such as play and pause. Cocos2d-js has pre-defined node types to represent such GUI elements. Let’s look at them one by one.

Copyright information

© Hemanth Kumar 2016

Authors and Affiliations

  • Hemanth Kumar
    • 1
  • Abdul Rahman
    • 1
  1. 1.ChennaiIndia

Personalised recommendations