Skip to content
#

2d-game-engine

Here are 333 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
Sygmei
Sygmei commented Oct 1, 2020

ÖbEngine only supports bitmap formats for now through the SFML library.
It would be nice to have SVG support (with a library that converts SVG to a Texture which will then be usable for example).
I know two potentials libraries that could do the job but do not hesitate to suggest another one :

Place to look at :

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