How can i recolor pictures?

Hello. I'm trying to write character generator, but i have no idea how can i recolor pictures like hairstyles etc.
I think that picture 2 is combined with gradient.png and then its laying on the hair basis, but i dont know the way it should be going.
Can u tell me what should i do to recolor pictures? Thanks!
upload_2018-4-1_21-49-24.png
Could you be a bit more specific about the bit of coding you are referring to.
Hello. I'm trying to write character generator, but i have no idea how can i recolor pictures like hairstyles etc.
I think that picture 2 is combined with gradient.png and then its laying on the hair basis, but i dont know the way it should be going.
Can u tell me what should i do to recolor pictures? Thanks!
View attachment 86231
if you not have software you can maybe try a online color changer.
https://www141.lunapic.com/editor/?action=tintoir
if you need use code , just inject hex tint in the sprite.

sprite.tint = 0xf45642;
look on google for hex reference.
Could you be a bit more specific about the bit of coding you are referring to.
I havent started to write code now, im just trying to understand how can i recolor pictures without graphics editor, only with JS code.
if you not have software you can maybe try a online color changer.
https://www141.lunapic.com/editor/?action=tintoir
if you need use code , just inject hex tint in the sprite.

sprite.tint = 0xf45642;
look on google for hex reference.
So i need to use html, css, jquery to tint image with code?
Nvm, i read the the sprite code in js files xd
no, image in rmmv use pixi api.
Picture or graphic are not related to element html.
To color html you need use css, but to color a sprite you need use js.
Also Rmmv dont use jquery libs.
I recommended you first to follow some tutorial on youtube to understand how the core work.
Add some console.log inside the rpg_sprites.js to try understand how all work.
no, image in rmmv use pixi api.
Picture or graphic are not related to element html.
To color html you need use css, but to color a sprite you need use js.
Also Rmmv dont use jquery libs.
I recommended you first to follow some tutorial on youtube to understand how the core work.
Add some console.log inside the rpg_sprites.js to try understand how all work.
I think Sprite.SetColorTone is suits me.
PS. Can u name some really usefull tutorials which can tell me how the core works, not "just rewrite this code and you will be fine "
take a look in this play list
https://www.youtube.com/channel/UCWQj-MDI50Z7J5qW_41EFGw/playlists
Sorry for interrupting, but i really want to know the way basic char generator does recolors of every part, because i want to do generator which does the same characters.

Could you be a bit more specific about the bit of coding you are referring to.
I want to do the basic character creator after starting new game. (Implement it in the game as starting scene)
del
Double-post notice: Mavelyssa

Double posting is where you post straight after yourself within 72 hours - and you've done it twice now. If you want to add something, just use the Edit button on your earlier post and add the additional info/comment. If you want to quote more than one person, use the Multiquote option, then they will all go into the same post. Often, though, there is no need to quote if all you are doing is making it clear who you are replying to. Instead type @ followed by the person's username. As you are typing it, a dropdown list appears. Select the name you want, and that will tag the person and let them know that you have replied to them.
Sorry for interrupting, but i really want to know the way basic char generator does recolors of every part, because i want to do generator which does the same characters.
Are you talking about the character generator in the RMMV editor?

If you are talking about the editor character generator, be aware that:
1.) It is not written in Javascript, it is written in C++ using the Qt application framework
2.) The source code for the editor is not available to the public

If you're looking for the basics of creating an in-game character generator with Javascript, you may be able to study this plugin:
http://sumrndm.site/character-creator-ex/
Are you talking about the character generator in the RMMV editor?

If you are talking about the editor character generator, be aware that:
1.) It is not written in Javascript, it is written in C++ using the Qt application framework
2.) The source code for the editor is not available to the public

If you're looking for the basics of creating an in-game character generator with Javascript, you may be able to study this plugin:
http://sumrndm.site/character-creator-ex/
Ok, now i think about saving the character sprite in img/facer or img/pictures folder, but i dont know how to save sprites.
And his plugin has huge problems with coloring.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-recolor-pictures.93480/