Raza Posted December 17, 2018 Share Posted December 17, 2018 1. Explanation So, i saw a question about how to change the character's hair in game, and it's possible but not really like you can think. I made it in my game so i would like to share it here for this dude and for everyone else who need it. How it is working ? Very simple. The player will be able to go in a barber shop to choose a new hair cut, and this hair cut will cost a certain price. But how is it working in the back stage ? Simple, the sprite of the character will change with a new hair cut. Let's jump into it. 2. Sprites Spoiler First of all, you will need to have some character sprites that looks the same but with different haircuts. Here are mine forn the exemple : As you can see, they have the same body but not the same hair. Now, let's jump into the real system. 3. Place Spoiler You will now need to create a place where your players are gonna be able to cut their hair. In my game, i made a little barber shop in the town like this : 4. Common Event Spoiler Now, go to the event window and create an event with the name you want, i've called mine with the name of the barber shop. Inside of the event, create an option dialogue where te player can choose between your different haircuts. I added the indication of the price between parentheses. Right after all the different choices, select ''change items'', choose your currency and put the price you want in the amount option. Then, if the player doesn't have enough money, you will need to tell him. So add a little text box after ''item(s) not giver/taken (doesn't have/inventory full)'' : Now, let's do the most important thing, changing the haircut. If the player has the money required, select the option ''change sprite'' and choose the sprite that correspond with the haircut that the player has choosed. Then, your event should looks like this : Then, you've done the biggest part, congrats ! Now, just close the event window, and move back into the place where the player can change his haircut. 5. hairdresser Spoiler Here, we are in the barber shop of my town, just add an event, and this event will be the hairdresser (in my exemple). Then, in the event, add an option window, where you can choose between changing your haircut or leaving. If the player choose nothing, he will just leave the discution, but if he choose ''new haircut''', then you just have to run the event that we made, simple has that ! Your event should look like this : 6. Informations And thats it ! You can now dynamically change your haircut when playing ! I'm sorry if my english isn't right, that's not my native language ! You can of course add as much as haircuts you want, just repeat the tutorial for every single one of them ! If you have questions, i will take the time to respond, and down there, there is some few adds that i've done and you can do if you want : you can add a scissors sound after the option text where te player can choose his haircut. You can do 2 different barbershops, one for men and one for women. Just add an option when you start talking with the hairdresser who checks if your gender is male or female You can teleport the player on a chair when the cissors sound starts to play to add a little bit of life, and teleport him back in the room after like 5 seconds. (using the warp system, and the hold and release player option) AccurateNoodle and Agoraphobic 1 1 Link to comment Share on other sites More sharing options...
Ainz Ooal Gown Posted December 17, 2018 Share Posted December 17, 2018 Cool way of doing it. Now that Intersect has the ability to show images via events you could have an image showing the different hair styles you can change too Link to comment Share on other sites More sharing options...
Raza Posted December 17, 2018 Author Share Posted December 17, 2018 6 hours ago, Ainz Ooal Gown said: Cool way of doing it. Now that Intersect has the ability to show images via events you could have an image showing the different hair styles you can change too great idea Link to comment Share on other sites More sharing options...
AccurateNoodle Posted December 23, 2018 Share Posted December 23, 2018 That works, but using a shop gives more customization options to the player Link to comment Share on other sites More sharing options...
Raza Posted December 24, 2018 Author Share Posted December 24, 2018 On 12/23/2018 at 7:18 AM, Taliel Studios said: That works, but using a shop gives more customization options to the player yeah, sounds even better ! Link to comment Share on other sites More sharing options...
asccurious Posted January 4, 2019 Share Posted January 4, 2019 I always hated sprites, because now what if you want different armor, but same haircut? it gets exponential when you can't have the head graphic be separate. Or if you want a separate helmet graphic, then you need even more sprites. I'm almost wondering if you can add graphic effect to item, and just have a floating helmet graphic on the character depending on which way he is facing. Link to comment Share on other sites More sharing options...
Beefy Kasplant Posted January 4, 2019 Share Posted January 4, 2019 1 hour ago, asccurious said: I always hated sprites, because now what if you want different armor, but same haircut? it gets exponential when you can't have the head graphic be separate. Or if you want a separate helmet graphic, then you need even more sprites. I'm almost wondering if you can add graphic effect to item, and just have a floating helmet graphic on the character depending on which way he is facing. You can, it's called a paperdoll Damian666 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now