Open 1sra3l opened 2 years ago
I made a vector sprite sheet that is very simple. My goal is to make a simple rag-doll that can be layered upon programatically, and have the interior fill/stroke be configurable. @igorfs10 What animations do you want? Do you want a full 360 set like the animation?
Great.
Just walking to right and attacking. 👍
@igorfs10 I am messing with some things in my own time and will experiment with things more fully in my random creature math game. I think I will use randomness to choose top/bottom of animal images when I really get further along.
I am breaking rpgstat
in a big way. I added a f64
Stat and "creature". I am moving randomization into character creation, rather than using "premade". I think random is nicer for people. It gives "out-of-the-box" functionality for people who just want to make something fit in their code, but tack on a serde later. This is why I had so much useless other code.
I have started work on dynamic building of a face vector graphic. It looks like a muppet currently, but I think once I get further along it will be nice to have a custom image. My hope is to make creatures/characters randomly. I think drawing poses and making them have interchangeable parts will make it much easier to create a wider range of characters/creatures.
What do you think?
That is great, it looks funny, but I like it. Waiting to see how they will look
@igorfs10 I decided to move the vector code into a library. Updated version I also have initial body, as well as a few initial variations. I am streamlining the code and will soon move things into modules to make more types of {noses, ears, eyes, etc...}. I also have a minimal set of expressions and can implement things more
I made a "rpg" feature of vectorview to use with rpgstat and will use it to draw Icons for things like "type" or "effect" In theory, I could likely make backgrounds for "Locations", but that will be a while after I get the "character" and "creature" drawing more stable.
I think this will be really great for a user to change the character to suit them, though it is still very early.
Hi, I was thinking a good way to accomplish configurable characters (body shape, outfit, hair, color) would be to use SVG files. SVG is xml, so serde is supported in quiet a few crates. I was thinking about using the "group"
<g />
part of the SVG and name itbody shape, outfit, hair
and using thefill
for color. I rarely usestroke
in this type of vector art, sofill
would be the only property to check specifically.I could make a single file for each "outfit", "hair", and "body shape", then we could use FLTK's built in color chooser to change the color. I think it would be best to use the "with_default" to get the current
fill
each time the user opened it, it is much easier to fine tune a color choice.I think this is about the only way to get that level of configuration for each part.