Builds and works on Gamecube

This commit is contained in:
YourWishes committed 2026-06-02 09:53:56 -05:00
1 parent a25871a849
commit 36f6ac65f2
12 files changed
+138 -76

No files matched your search

+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);