@fruit-pie/text
v1.1.0
Published
Draw text with your own font and special characters
Maintainers
Readme
@fruit-pie/text
Draw text with your own font and special characters.
import { createMod } from "@fruit-pie/sdk";
import { initText } from "@fruit-pie/text";
export default createMod((mod) => {
const { drawText, createText } = initText(mod);
const hello = createText("こんにちは");
mod.resource.object.create({
name: "hud",
events: {
draw: () => `
draw_set_color(c_yellow);
${drawText("8", "8", hello)}
`,
},
});
});