Building worlds
2D games
Sprites, 2D physics and the platformer controller.
Start from the template
File → New 2D Scene makes a platformer level that’s ready to play: ground, platforms, a hero, coins and a slime that patrols with a Timeline.
Sprites
Add Component → Rendering → Sprite shows an image with tint and opacity, size, flipping, crisp pixel art, tiling and animated sprite sheets. Without an image it’s a colored rectangle. There are example sprites in assets/sprites.
2D settings
- 2D Game (in World Settings) keeps physics on the XY plane and makes the game camera orthographic.
- 2D Platformer Controller: A/D or the arrow keys to move and Space to jump; the camera follows from the side.
- To build comfortably, use View → Front.