Skip to content
#

2d-game-engine

Here are 320 public repositories matching this topic...

dlight
dlight commented Oct 23, 2019

For an ui element made out of graphics::Canvas, is it better to

  1. build a new ui::Canvas

  2. make it so that ui::Image can accept either graphics::Image or graphics::Canvas

  3. make it so that there's a Drawable trait that has fn draw<Q: IntoQuad>(&self, quad: Q, target: &mut Target), so that ui::Image accepts a &dyn Drawable trait object.

1 is the most logical given t

ObEngine

Improve this page

Add a description, image, and links to the 2d-game-engine topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the 2d-game-engine topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.