1sra3l / charcter-maker

Character Maker for RPG games written in Rust + FLTK
GNU General Public License v3.0
2 stars 0 forks source link

Direct support for Rust Hero file format #1

Open 1sra3l opened 2 years ago

1sra3l commented 2 years ago

@igorfs10 Since I already had this program, I converted it to use rpgstat = "3.0" This can be the playground for what you want a character file to really include, and a UI to configure it. If we can make a good plan for organizing the data this would be a good place to try things out. FLUID is great for visualizing data and then making it a program.

I am using "Advanced" for the stats, but intend to support all 3 types in the program, specifically Normal which is what I think we intend to use for Rust Hero.

I am currently working with TOML tables to build the "effectiveness" chart. So keep in mind for images we could do something different like:

images =  { right = "/path/to/image", left = "/path/to/image", up = "/path/to/image", down = "/path/to/image"}

Or to support animations:

[animations]
left =  { one = "/path/to/image", two = "/path/to/image", three = "/path/to/image", four = "/path/to/image"}
right = { one = "/path/to/image", two = "/path/to/image", three = "/path/to/image", four = "/path/to/image"}
up = { one = "/path/to/image", two = "/path/to/image", three = "/path/to/image", four = "/path/to/image"}
down =  { one = "/path/to/image", two = "/path/to/image", three = "/path/to/image", four = "/path/to/image"}