Skip to content
#

2d-game-engine

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

feature help wanted good first issue question
HeadClot
HeadClot commented Sep 26, 2020

Would it be possible to add the Origin Rebase feature that is built into Physx 4.x and up into Echo?

This would enable larger worlds to be made without floating point precision errors. Here is an example of what can happen if you are too far away from origin. https://gyazo.com/a96db2d1a4ef8ff8935d2054597e151b

It would be nice if we could enable it in project settings and it was just part of

good first issue
suchipi
suchipi commented Apr 12, 2020

It would be nice to have a component that can expose the frames of an animated GIF image using the Animation interface; I'm picturing something like this:

import { useType, useNewComponent, GIF, useDraw } from "@hex-engine/2d";
import someGifFile from "./whatever.gif";

function MyComponent() {
  useType(MyComponent);

  const gif = u
help wanted good first issue 2d
ObEngine
aduros
aduros commented Dec 13, 2021

The font bitmap has empty space reserved for ASCII characters 0x80 through 0xA0.

We should use that space for something, like icons for WASM-4 controller buttons, or generic sprites like stars/hearts/etc.

Games can then use hex string literals to easily display these:

text("Press \x80 to jump!", 0, 0);
good first issue

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