Was it useful?

  • Total voters


Cleric, script kiddie and fudanshi
May 6, 2017
Reaction score
First Language
Primarily Uses
Tutorial topic: how to let the player customize their character (hence the title)
Brief description
Even if I'm not into tutorials about something an extension/studying documentation could do just fine, I've recieved an offer for doing this, so… here comes nothing. Check this tutorial if you'd like the player to choose their character's name/gender (much like in an RPG).​
Template used for this tutorial: Sample Scripted-based UI, 720 x 1280 (my patron wants to develop a mobile game)
  • Having read the Beginner's Guide. I can't help you either otherwise.
Tutorial body
  • Gender selection (in new scene)
    1. First of all, we need to ask the player about their gender. Here's a possible set up:
      Setup 0.PNG Screenshot 0.PNG
    2. Next is the player's choice. Since the we are considering only binary genders (he and she), the player has only two choices: switches are the perfect type of variable in these cases (just consider OFF = "Boy" and ON = "Girl"). Also, we want the game to remember this piece of information for the entire duration on the game (you may need the player's gender anytime during the story), but still having a different copy of it for each save file (no every save file's character may have the same gender); because of that, we are going to use a global switch. I named it "Gender". Please note that while the second choice switches on the desired switch in my example, I haven't set up an action for the first one instead. While it apparently should switch OFF "Gender", all of the switches are automatically initialized at OFF at the start of the game. If you find this coding style too obscure or simply desire to use this scene more than once in your game, just switch it OFF manually at some point before "Show Choices".
      Setup 1.PNG Screenshot 1.PNG
    3. All done! Of course, memorizing the player's gender is pointless, if you don't use it later at some point of the game. Here's an example:
      Setup 2.PNG
    4. Please keep in mind that if your otome is not one of those that never show the MC on screen (like Doki Doki Literature Club for example), you'll need to use this tecnique every time you need to choose your MC's expression, since VNM doesn't let you calculate an expression without scripting (up to 1.0.1077). If you do so, it is higly recommended that you shorten your code using command events.
  • Name input (either in the same scene or not)
    1. First of all, we need to ask the player their name. Here's a possible set up (in a new scene):
      Setup 3.PNG Screenshot 3.PNG
    2. Next is the player's input. We need to save it in a text variable before transferring it to our character. Since we won't need this variable again later, we should use a local text variable. Please notice how the default text input popup window is not optimized for our current resolution. You can fix this using either a better resolution (which will end up making the message box smaller though) or a custom interface which is more suited for our custom resolution.
      Setup 4.PNG Screenshot 4.PNG
    3. It is now time to create our MC: let us move to the database and work on it!
      Setup 5.PNG
    4. After saving your project (so that VN Maker can notice there's a new character), it's finally time to transfer the player's input where we really want it to be.
      Setup 6.PNG
    5. All done! I'm testing to see if it really worked.
      Setup 7.PNG Screenshot 7.PNG Screenshot 8.PNG
Patron: @Valadilene

Latest Threads

Latest Posts

Latest Profile Posts

Doing RPG Maker News for 24th October 2021

I'm not sure how to do this so I'll just ask here, Wheres a good place to post your game (for free) once its done?
I don't know what I'm doing :D
So got my hearing tested to see if it was the cause of my mishearing what people say. Test showed no problems but talked with the doctor about anxiety and ADHD causing hearing issues and she agreed and also added that some people hear things differently. With my anxiety cause I am in fight or flight I pay attention to all the sounds in the area so body knows when react. Can't pay attention to one source.

Forum statistics

Latest member