Skip to content
#

2d-game-engine

Here are 384 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

RubyNova
RubyNova commented Feb 12, 2021

This would be an engine-wide improvement that would allow the usage of the system's currently selected language for exception throwing. We would probably use some kind of KVP text file format to store the exception strings for each type of exceptuon in different languages, and then the engine should just be able to throw an exception and then the exception implementation itself will handle getting

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