Builds and works on Gamecube
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user