2D

2D Overview

Creation

Galacean offers two ways to quickly start 2D interactive development:

Create via Template

  1. On the Menu View side of the editor homepage, click TemplatesFlappy Bird.
  2. Directly experience a complete 2D interactive sample project.
image.png

Create a Blank Project

  1. On the Project View side of the editor homepage, click New Project2D Project.
  2. Generate basic 2D project configurations and structure.
image.png

Features

Newly created 2D projects come pre-configured with the following features:

ConfigurationDescription
Scene SettingsDisplays 2D-specific scenes, disables unnecessary configurations like skybox and post-processing.
ResourcesRemoves built-in resources unused in 2D mode.
Camera ControlsSets the scene camera to operate in 2D mode.
The above settings can also be modified after project creation.

2D Development Toolchain

Galacean provides a comprehensive 2D development toolchain:

Basic Rendering Assets & Components

  • Sprite Assets: Define display results for Sprite Renderers and Sprite Masks.
  • Sprite Renderer: Renders images by binding sprite assets after attaching the component.
  • Text Renderer: Supports bitmap font rendering.

Advanced Effects

  • Sprite Mask: Provides masking effects for sprites and text renderers.
  • Spine: Professional 2D skeletal animation system for complex animations.
  • Lottie: Ideal for UI animations.

Performance Optimization

  • Sprite Atlas: Combines scattered sprites into atlases to reduce Draw Calls and resource requests.

Was this page helpful?