Builds and works on Gamecube

This commit is contained in:
2026-06-02 09:53:56 -05:00
parent a25871a849
commit 36f6ac65f2
12 changed files with 138 additions and 76 deletions
+4 -6
View File
@@ -17,10 +17,8 @@ const testPos = testEntity.add(Component.POSITION);
/** @type {RenderableSpritebatch} */
const testRenderable = testEntity.add(Component.RENDERABLE);
testRenderable.type = Renderable.SPRITEBATCH;
testRenderable.setTexture(entry.texture);
testRenderable.addSprite(
0, 0, 1, 1,
0, 0, 1, 1
);
testRenderable.texture = entry.texture;
testRenderable.sprites = [
[0, 0, 1, 1, 0, 1, 1, 0]
];
testPos.localPosition = new Vec3(0, 0, 0);