Cocos2d: What It Is and How hyperPad Builds on It
hyperPad

Cocos2d: What It Is and How hyperPad Builds on It

April 16, 2026
hyperPad vs Other ToolsIndie Developers
Cocos2d: What It Is and How hyperPad Builds on It

Cocos2d is an open-source family of frameworks for making 2D games. It began in Python, and its Objective-C port, Cocos2d-iPhone, became a common choice for early iOS games. Cocos2d-x later brought the same ideas to C++ for many platforms. Developers use these frameworks by writing code: scenes, sprites, actions and a game loop.

hyperPad was built based on Cocos2d. That history explains some of hyperPad's underlying concepts. On top of it, hyperPad adds its own visual editor, Behavior system, asset workflow, testing tools, Hub and publishing process, so you build on iPad without writing framework code.

This post explains how familiar Cocos2d-style ideas show up in the hyperPad workflow.

Historical framing and linked documentation reviewed October 21, 2026.

How the concepts map

2D game conceptHow you work with it in hyperPadWhere to learn more
Game structureArrange gameplay across Scenes and overlaysScenes
Game entitiesPlace Objects and configure their propertiesObject Properties
LogicConnect events, actions, conditions, and values as BehaviorsBehavior Interface Overview
StateStore score, health, flags, and other values in AttributesObject Attributes
Reusable systemsOrganize connected logic in Behavior BundlesBehavior Bundle
Frame animationImport compatible images and sprite-sheet data into the Asset LibraryImporting and Using Animations

Scenes organize the game

A Scene can hold a level, menu, puzzle, conversation, or other playable section. Objects inside it represent the pieces the player sees or interacts with.

That structure will feel familiar if you have worked with a 2D framework. The difference is how you author it. In hyperPad, you arrange Objects in the editor, configure their properties, and test the Scene without writing a scene class.

Behaviors express the logic

The Behavior system is the programming workflow. An event starts a chain. Actions change the Project. Conditions control which branch runs. Attributes hold values and state.

A small collectable mechanic can use this flow:

  1. A Collision Event detects the player touching a coin.
  2. Get Attribute reads the current score.
  3. Set Attribute stores the updated score.
  4. An If Behavior checks whether the target has been reached.
  5. The Project plays feedback or moves to the next Scene.

The system remains explicit. You can inspect the connections, outputs, Object references, and execution order when the mechanic does not behave as expected.

Cocos2d-compatible asset data still appears in the workflow

The relationship is visible in hyperPad's animation pipeline. The official Importing and Using Animations guide explains that imported sprite sheets use a paired PLIST metadata file in a Cocos2d-compatible format.

Supported sprite-sheet data follows that format. You can't open a Cocos2d code project or every Cocos2d asset package directly in hyperPad. Check the current Supported Asset Types before preparing an import.

What hyperPad adds for the creator

hyperPad combines the 2D engine workflow with tools designed for direct creation on iPad:

  • a Scene editor for arranging Objects
  • visual Behaviors for game logic
  • Attributes for state
  • physics, animation, audio, UI, particles, and effects
  • immediate Project testing
  • project sharing and feedback through the Hub
  • Xcode export as part of the App Store publishing workflow

The current App Store listing provides the current platform requirements and product boundaries.

Use the history to understand the design

Cocos2d is part of hyperPad's technical history. The practical value of that history is easier to see in the way Scenes, Objects, game state, animation assets, and a running 2D game loop come together.

If you know Cocos2d and want to see the relationship for yourself, build one representative mechanic in hyperPad and inspect each layer: the Scene, the Objects, the Attributes and the Behavior connections. Cocos2d gives you a framework to program against. hyperPad gives you an editor where those same pieces are already wired together.

hyperPad Starter

Make Your First Game on iPad

Start with one free project in hyperPad Starter. Drag, drop, and connect Behaviors to build your game without traditional code.

Try hyperPad Starter

Free to download · One project included