From 3a1afc62724f1631f23b5aa044856f7d09db14eb Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 25 Oct 2023 08:20:48 -0400 Subject: Lots of changes! * Update reflect library * Text alginment * Tiled map compilation! --- boot.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'boot.js') diff --git a/boot.js b/boot.js index b30e95b..d62791e 100644 --- a/boot.js +++ b/boot.js @@ -95,6 +95,9 @@ async function load() { setFont(context, font) { context.font = font; }, + setTextAlign(context, align) { + context.textAlign = align; + }, clearRect(context, x, y, w, h) { context.clearRect(x, y, w, h); }, -- cgit v1.2.3