hcs-t4sg / questable

questable.vercel.app
2 stars 0 forks source link

Sprite package update #69

Open IsoPhoenix opened 1 year ago

IsoPhoenix commented 1 year ago

Overview

Our current package for rendering and animating spritesheets, react-responsive-spritesheet, is not state responsive, so we cannot dynamically update a player's appearance (say, upon inventory equips) without refreshing the page. The package itself is actually just a single class component. We could basically rewrite this in function component form and use the locally-written version (say, Spritesheet.tsx) instead of the package.

Checks

We would want to make sure that the rewrite is capable of the following functionality: