2D
2D Overview
Galacean offers two ways to quickly start 2D interactive development:
- On the Menu View side of the editor homepage, click Templates → Flappy Bird.
- Directly experience a complete 2D interactive sample project.
- On the Project View side of the editor homepage, click New Project → 2D Project.
- Generate basic 2D project configurations and structure.
Newly created 2D projects come pre-configured with the following features:
Configuration | Description |
---|
Scene Settings | Displays 2D-specific scenes, disables unnecessary configurations like skybox and post-processing. |
Resources | Removes built-in resources unused in 2D mode. |
Camera Controls | Sets the scene camera to operate in 2D mode. |
The above settings can also be modified after project creation.
Galacean provides a comprehensive 2D development toolchain:
- 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.
- Sprite Mask: Provides masking effects for sprites and text renderers.
- Spine: Professional 2D skeletal animation system for complex animations.
- Lottie: Ideal for UI animations.
- Sprite Atlas: Combines scattered sprites into atlases to reduce Draw Calls and resource requests.