# cocos/example-projects

Example project to guide users through how to create game with Cocos Creator

Repository: https://github.com/cocos/example-projects
Canonical: https://ross.abutalabs.com/products/example-projects
Language: JavaScript
License Family: other
Topics: cocos, cocos-creator, cocoscreator, example, demo
Last push: 2023-01-17T03:48:33+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4076, "days_push": 1324, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1320, forks 584 (observed 2026-08-28T04:04:21.682255+00:00)

## What it is
A collection of example projects and demo scenes for Cocos Creator 2.x, covering graphics, UI, gameplay, and audio features. Each example includes a scene, scripts, and a markdown usage document intended for learning, testing, and feature demonstration.

## Use cases
- learn how to make a game with Cocos Creator
- see example scenes for sprites, particles, and UI widgets
- understand keyboard and touch input handling in Cocos Creator
- reference sample code for buttons, labels, and animations
- test Cocos Creator engine features with ready-made demos
- learn how to play audio and use sprite atlases

## When to choose
- you are learning Cocos Creator 2.x and want runnable examples
- you need reference implementations of common engine features
- you are an engine developer or QA wanting feature demonstration scenes

## When to avoid
- you use Cocos Creator 3.x, whose API differs significantly
- you need a production-ready game template or starter kit
- you need a maintained project with a license and active releases

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: game-engine, graphics, audio-processing, ui-components, animation
- domain: tutorials, cross-platform
- platform: cross-platform, game-engine
- tags: cocos-creator, examples, demos, javascript, game-samples, game-development

## Member repositories
- cocos/example-projects (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:21.682255+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:47:26.179789+00:00, confidence not recorded.
  - readme: https://github.com/cocos/example-projects (fetched 2026-08-28T04:04:21.682255+00:00, sha d94cf812d393)
- Data as of 2026-08-30T08:39:29.467469+00:00.
