From dc6523e2a163b99fb6c9e6dbaf185b93c900159c Mon Sep 17 00:00:00 2001 From: Jordan Date: Sat, 6 Jan 2024 14:38:09 -0500 Subject: [PATCH] fix: playground.js --- src/js/playground.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/js/playground.js b/src/js/playground.js index a31b745d..4981cf88 100644 --- a/src/js/playground.js +++ b/src/js/playground.js @@ -173,27 +173,27 @@ class Playground extends GameShell { // controls let leftY = this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `Model: ${this.model.id}`, 0xFFFF00); + this.b12.draw(0, leftY, `Model: ${this.model.id}`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `Controls:`, 0xFFFF00); + this.b12.draw(0, leftY, `Controls:`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `r - reset camera and model rotation + movement speed`, 0xFFFF00); + this.b12.draw(0, leftY, `r - reset camera and model rotation + movement speed`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `1 and 2 - change model`, 0xFFFF00); + this.b12.draw(0, leftY, `1 and 2 - change model`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `[ and ] - adjust movement speed`, 0xFFFF00); + this.b12.draw(0, leftY, `[ and ] - adjust movement speed`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `left and right - adjust model yaw`, 0xFFFF00); + this.b12.draw(0, leftY, `left and right - adjust model yaw`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `up and down - adjust model pitch`, 0xFFFF00); + this.b12.draw(0, leftY, `up and down - adjust model pitch`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `. and / - adjust model roll`, 0xFFFF00); + this.b12.draw(0, leftY, `. and / - adjust model roll`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `w and s - move camera along z axis`, 0xFFFF00); + this.b12.draw(0, leftY, `w and s - move camera along z axis`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `a and d - move camera along x axis`, 0xFFFF00); + this.b12.draw(0, leftY, `a and d - move camera along x axis`, 0xFFFF00); leftY += this.b12.fontHeight; - this.b12.blitOpaque(0, leftY, `q and e - move camera along y axis`, 0xFFFF00); + this.b12.draw(0, leftY, `q and e - move camera along y axis`, 0xFFFF00); this.drawArea.draw(0, 0); }