# cocos2d/cocos2d-objc

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/cocos2d-cocos2d-objc).**

4,045 stars · 1,150 forks · Objective-C · NOASSERTION

## Links

- GitHub: https://github.com/cocos2d/cocos2d-objc
- Homepage: http://www.cocos2d-objc.org
- awesome-repositories: https://awesome-repositories.com/repository/cocos2d-cocos2d-objc.md

## Description

cocos2d-objc is an Objective-C 2D game engine designed for developing interactive games and applications. It serves as a cross-platform game framework that enables the deployment of a shared codebase across iOS, tvOS, and macOS.

The project features a hardware-accelerated 2D renderer utilizing OpenGL and Metal to display sprites, tile maps, and particle effects. It includes a dedicated OpenAL audio engine for managing music and spatialized sound effects, alongside a cross-platform input handler for processing touch, mouse, keyboard, and accelerometer events.

The framework provides capabilities for game physics integration to simulate rigid body dynamics, as well as tools for creating orthogonal, isometric, or hexagonal tile maps. Additional features cover scene management with custom visual transitions, the generation of particle systems, and the implementation of user interfaces with native touch interaction.

The system supports platform-specific content scaling to load images based on device resolution, reducing binary installation size for the Apple ecosystem.

## Tags

### Game Development

- [2D Game Frameworks](https://awesome-repositories.com/f/game-development/game-engines-frameworks/2d-engines/2d-game-frameworks.md) — Provides a comprehensive framework for building 2D games with hardware-accelerated graphics and real-time game loops.
- [Scene Graphs](https://awesome-repositories.com/f/game-development/engine-architecture/scene-graphs.md) — Utilizes a hierarchical scene graph to organize display objects and propagate transformations from parents to children.
- [Cross-Platform Frameworks](https://awesome-repositories.com/f/game-development/game-engines-frameworks/2d-engines/2d-game-frameworks/cross-platform-frameworks.md) — Ships a cross-platform framework designed for deployment across multiple Apple operating systems.
- [Game State Management](https://awesome-repositories.com/f/game-development/game-state-management.md) — Provides a high-level system for managing game flow by switching between distinct scenes and application states. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [2D Rigid Body Physics Engines](https://awesome-repositories.com/f/game-development/2d-rigid-body-physics-engines.md) — Provides an architecture for incorporating 2D rigid body physics simulations and collision detection.

### Graphics & Multimedia

- [2D Sprite Rendering](https://awesome-repositories.com/f/graphics-multimedia/2d-sprite-rendering.md) — Implements a hardware-accelerated system for rendering 2D sprites and image assets. ([source](https://github.com/cocos2d/cocos2d-objc/blob/v3.5.0/README.md))
- [2D Hardware-Accelerated Rendering](https://awesome-repositories.com/f/graphics-multimedia/opengl-canvas-rendering/2d-hardware-accelerated-rendering.md) — Uses hardware-accelerated OpenGL and Metal pipelines to render 2D images and texture atlases.
- [Audio Playback Engines](https://awesome-repositories.com/f/graphics-multimedia/audio-music/audio-streaming-engines/audio-playback-engines.md) — Provides a dedicated engine for playing local sound effects and music tracks. ([source](https://github.com/cocos2d/cocos2d-objc/blob/v3.5.0/README.md))
- [Cross-Platform Audio Engines](https://awesome-repositories.com/f/graphics-multimedia/audio-music/audio-streaming-engines/audio-playback-engines/cross-platform-audio-engines.md) — Includes a cross-platform audio engine based on OpenAL for managing music and spatialized sound effects.
- [Game Audio Management](https://awesome-repositories.com/f/graphics-multimedia/game-audio-management.md) — Coordinates sound effect playback and manages spatial audio environments for interactive games. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [2D Sprite Renderers](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/systems/3d-graphics-pipelines/scene-renderers/high-quality-scene-rendering/high-dynamic-range-rendering/video-renderers/opengl-rendering/2d-sprite-renderers.md) — Uses OpenGL for hardware-accelerated rendering of 2D sprites, tile maps, and particle effects.
- [2D Rendering Engines](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/webgl-gpu-rendering/2d-rendering-engines.md) — Ships a rendering engine optimized for drawing 2D graphics and animations using hardware acceleration. ([source](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes))
- [Hardware-Accelerated 2D Renderers](https://awesome-repositories.com/f/graphics-multimedia/hardware-accelerated-2d-renderers.md) — Utilizes GPU acceleration via OpenGL and Metal to render sprites, tile maps, and particle effects.
- [User Interaction](https://awesome-repositories.com/f/graphics-multimedia/immersive-interactive-systems/user-interaction.md) — Processes user input events to facilitate interactive game and application experiences. ([source](https://github.com/cocos2d/cocos2d-objc/blob/v3.5.0/README.md))
- [Particle Systems](https://awesome-repositories.com/f/graphics-multimedia/2d-sprite-animations/sprite-visual-effects/particle-systems.md) — Generates dynamic particle systems to create visual effects such as smoke and sparks.
- [Text Rendering](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/advanced-typography-rendering/text-rendering.md) — Draws fixed-width, variable-width, and TrueType fonts for dynamic text display on the graphical canvas. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [Tile Map Renderers](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/tile-map-renderers.md) — Renders game worlds using specialized tile map renderers that support orthogonal and isometric perspectives. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [High-Performance Text Rendering](https://awesome-repositories.com/f/graphics-multimedia/high-performance-text-rendering.md) — Provides high-performance text rendering using fixed-width, variable-width, and TrueType fonts. ([source](https://github.com/cocos2d/cocos2d-objc/blob/v3.5.0/README.md))
- [Environmental Effects](https://awesome-repositories.com/f/graphics-multimedia/media-production-suites/visual-effects/particle-effects/environmental-effects.md) — Produces particle systems, parallax scrolling, and screen-space filters like ripples and waves. ([source](https://github.com/cocos2d/cocos2d-objc/blob/v3.5.0/README.md))
- [Particle Effect Emission](https://awesome-repositories.com/f/graphics-multimedia/media-production-suites/visual-effects/particle-effects/particle-effect-emission.md) — Includes a particle system to generate visual effects like smoke, fire, and sparks. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [Resolution Scaling](https://awesome-repositories.com/f/graphics-multimedia/resolution-scaling.md) — Adapts game interfaces and asset loading to various screen resolutions and device scales. ([source](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes))
- [OpenAL Integrations](https://awesome-repositories.com/f/graphics-multimedia/sound-effect-libraries/sound-effects-playback/openal-integrations.md) — Includes a dedicated audio engine based on OpenAL for music and spatialized sound effects.

### Part of an Awesome List

- [Game Physics Integration](https://awesome-repositories.com/f/awesome-lists/ai/physics-simulation/game-physics-integration.md) — Integrates 2D physics engines to synchronize rigid body collisions and dynamics with the visual scene graph.
- [Tile Map Rendering Systems](https://awesome-repositories.com/f/awesome-lists/devtools/level-and-tile-editors/tile-based-level-mapping/tiled-map-integrations/tile-map-rendering-systems.md) — Provides systems for constructing and rendering game worlds using orthogonal, isometric, or hexagonal tile patterns.
- [Physics and Simulation](https://awesome-repositories.com/f/awesome-lists/ai/physics-and-simulation.md) — Calculates real-time physical interactions and rigid body dynamics via an integrated physics engine. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [Chipmunk Physics Simulators](https://awesome-repositories.com/f/awesome-lists/ai/physics-simulation/chipmunk-physics-simulators.md) — Simulates collisions and rigid body dynamics for game objects using integrated physics simulations. ([source](https://github.com/cocos2d/cocos2d-objc/blob/v3.5.0/README.md))
- [Tile-Based Level Mapping](https://awesome-repositories.com/f/awesome-lists/devtools/level-and-tile-editors/tile-based-level-mapping.md) — Enables the construction of game worlds using orthogonal, isometric, or hexagonal tile grids. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [Learning & Reference](https://awesome-repositories.com/f/awesome-lists/learning/learning-reference.md) — Game development framework for iOS.

### Mobile Development

- [Cross-Platform Game Deployment](https://awesome-repositories.com/f/mobile-development/cross-platform-game-deployment.md) — Enables deployment of a shared codebase across iOS, tvOS, and macOS platforms.

### User Interface & Experience

- [Cross-Device Input Handlers](https://awesome-repositories.com/f/user-interface-experience/cross-device-input-handlers.md) — Processes touch, mouse, keyboard, and accelerometer events across different operating systems.
- [Input Handling](https://awesome-repositories.com/f/user-interface-experience/input-handling.md) — Captures interactions from touch screens, accelerometers, mice, and keyboards across supported platforms. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [Object Property Transformations](https://awesome-repositories.com/f/user-interface-experience/animation-and-motion-systems/configuration-utility-helpers/animation-configuration/animation-easing-functions/object-property-transformations.md) — Applies transformations and easing functions to move, rotate, scale, or tint game objects. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [Action-Based Animation Sequences](https://awesome-repositories.com/f/user-interface-experience/animation-and-motion-systems/configuration-utility-helpers/animation-properties/action-based-animation-sequences.md) — Implements discrete action objects to modify node properties over time through sequences or parallel execution blocks.
- [Display Scaling](https://awesome-repositories.com/f/user-interface-experience/display-scaling.md) — Manages pixel density and interface scaling to support high-resolution displays across Apple devices.
- [Multi-Touch Interaction Handling](https://awesome-repositories.com/f/user-interface-experience/event-handling/multi-touch-interaction-handling.md) — Handles native touch events to ensure high-performance and responsive user interactions. ([source](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes))
- [Input Event Dispatchers](https://awesome-repositories.com/f/user-interface-experience/form-and-input-management/interaction-and-event-handling/event-handling-architectures/input-event-dispatchers.md) — Captures native hardware input signals and propagates them to active scene objects and UI components.
- [Game User Interfaces](https://awesome-repositories.com/f/user-interface-experience/game-user-interfaces.md) — Provides tools for creating game-specific user interfaces, including interactive buttons and menus. ([source](https://github.com/cocos2d/cocos2d-objc#readme))
- [High-Density Image Scaling](https://awesome-repositories.com/f/user-interface-experience/high-density-image-scaling.md) — Loads high-resolution raster assets and scales them to ensure visual clarity on Retina displays. ([source](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes))
- [Scene Transition Systems](https://awesome-repositories.com/f/user-interface-experience/scene-transition-systems.md) — Implements logic and triggers to transition the game state and visuals between different scenes. ([source](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes))
- [Visual Scene Transitions](https://awesome-repositories.com/f/user-interface-experience/scene-transition-systems/visual-scene-transitions.md) — Implements customizable animations and visual effects for transitioning between different game scenes. ([source](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes))
- [Touch Event Processors](https://awesome-repositories.com/f/user-interface-experience/touch-gesture-handlers/touch-event-processors.md) — Processes low-level native touch events from display hardware to improve responsiveness. ([source](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes))

### DevOps & Infrastructure

- [Television Hardware Deployments](https://awesome-repositories.com/f/devops-infrastructure/deployment-management-strategies/execution-platforms-and-targets/hardware-profile-deployments/embedded-hardware-deployment/television-hardware-deployments.md) — Enables the deployment of games and applications to television hardware platforms like tvOS. ([source](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes))

### Programming Languages & Runtimes

- [Apple Platform](https://awesome-repositories.com/f/programming-languages-runtimes/build-and-test-toolchains/apple-platform.md) — Provides toolchains for compiling and deploying applications across iOS, macOS, and tvOS. ([source](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes))
