This is another try of implementing a game using P5JS.
Collection of scripts from different sources joined together.
The game logic heavy relates to vis-timeline library.
https://alexz005.github.io/p5js-rpg
Menu: https://www.youtube.com/watch?v=TgHhEzKlLb4&ab_channel=Veritasium
Dialog: https://editor.p5js.org/kura/sketches/nso_ojdTw
Dialog images generated with https://make.girls.moe/#/
Spell menu: https://editor.p5js.org/mikedasilva7/full/5AAG06Wbd
Player grid: https://codepen.io/Twinbee/pen/bGbXarp
Code performance: https://github.com/processing/p5.js/wiki/Optimizing-p5.js-Code-for-Performance
RPG Block Pack (Pixel)
by Kenney Vleugels (Kenney.nl)
http://creativecommons.org/publicdomain/zero/1.0/
Consider purchasing Kenney Game Assets.
Credit to Kenney (www.kenney.nl)