feat(assets): use single texture atlas instead of loading all images individually
This commit is contained in:
@@ -4,7 +4,7 @@ const { onRender } = useScreen();
|
||||
const { assets } = useAssets();
|
||||
|
||||
onRender((ctx) => {
|
||||
ctx.drawImage(assets.projects.bottomScreen.background, 0, 0);
|
||||
assets.images.projects.bottomScreen.background.draw(ctx, 0, 0);
|
||||
});
|
||||
defineOptions({
|
||||
render: () => null,
|
||||
|
||||
Reference in New Issue
Block a user