refarctoring demo update


tldr: redid all the code from scratch, added animations, added some functions like card scaling and selection

in the future ill have to add some kind of low quality setting since the animations and stuff are really heavy and i want this to be able to run on lower end hardware. html5 can be really slow and that kind of requires optimizing like, a lot.

the code base here is kind of a fucking nightmare but thats fine for now. this is technically the second refactoring of this iteration of the project and i think ive found a nice middle ground. MOST of the functionality i want in terms of the printer itself is here aside from exporting and importing from lists. once all that is settled though its probably time to get to work on the library aspect of the project. the name of the game here is really to make it as easy as possible to construct and print decks from a web browser. that kinda means that the library portion of CaRD20 is sort of its own project. the hardest part honestly will be building some kind of actual editor for the cards, but since that kind of ties in with later aspects of the tool, that might have to wait, so for now i think the real course of action is to just make the json format that will be used for the library so that i can just hammer out the rest of the functionality on the printer side of things and then really go in on making the editor last.



pray for me girlie

Files

demo.zip Play in browser
Mar 13, 2024

Comments

Log in with itch.io to leave a comment.

(1 edit)

big words coming from someone in code optimization distance


Good luck girlie