skip to Main Content

Html – Typewriter effect in JavaScript for dialogues

Here's my dialogue system for the Entity class in Entity.js drawDialogue(context, element) { // Draw the dialogue box and face graphic context.drawImage(this.sprite.dialogueBox, 0, 90); context.drawImage(this.sprite.faceset, 6, 103); // Create a container for the text const dialogueContainer = document.createElement('div'); dialogueContainer.className =…

VIEW QUESTION
Back To Top
Search