hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
10.79k stars 650 forks source link

vector: add utility functions to render simple shapes #2387

Closed hajimehoshi closed 1 year ago

hajimehoshi commented 1 year ago

2385 is a blocker.

hajimehoshi commented 1 year ago

PyGame: https://www.pygame.org/docs/ref/draw.html Lua Löve: https://love2d.org/wiki/love.graphics

hajimehoshi commented 1 year ago

I've added utility functions for a line, a rectangle and a circle. I think rendering an arc and a ellipse is low priority. I'll close this and revisit this when we really want more functions.