Perro LogoPerro Engine

FeaturesMissionDocsDownload
Donate GitHub
← Back to Documentation

2D Structs

⚠️ Experimental - Pre-Release

2D structs are used for 2D game development - positions, transforms, rectangles, and shapes.

All 2D Structs

Vector2

2D vector with x and y components

Transform2D

2D transform with position, rotation, and scale

Rect2

2D rectangle with position and size

Texture

Texture resource for rendering images

ShapeType2D

2D shape type enum for collision and rendering