Parkreiner / etrian-character-customizer

A character portrait generator for the PC releases of Etrian Odyssey Origins, published by Atlus.
https://etrian-character-customizer.vercel.app
MIT License
17 stars 1 forks source link

Research – Experiment with Canvas API and how to represent paths as JSON #1

Open Parkreiner opened 1 year ago

Parkreiner commented 1 year ago

This is probably the biggest blocker to getting the backend started at all.

Each character needs a group of SVG paths that can be rendered to an HTML canvas, but from what I understand, the syntax for rendering can be a little bit weird.

Until I research the API and get a feel for the best way to represent the data, any attempts at modeling that data on the backend are just going to be speculative, and might not line up at all what the project ends up needing.

Known resources:

Parkreiner commented 1 year ago

Updating this with my findings so far, as well as some last-minute discoveries, now that the game is out.

Update notes

Canvas and path data

Character images

The game's out now, meaning that people are already trying to mod things, and have ripped the character portraits. That also means that I've made some "fun" discoveries:

Other notes

Closing

So much to research, so many unanswered questions still. Realistically, I think this tool is going to need a couple more months in the oven, because all this research is basically blocking all the other code and features.

I'm thinking that I'm going to try doing some of the tasks that aren't dependent on this at the same time, just so I'm not doing nothing but reading and playing with the canvas API.