I've tried watching and reading many tutorials over and over. However, no matter what I try to edit, I often have this error saying that I have a mismatched indentation. I don't know what's really wrong, then. I've even counted the number of spaces per line. I even looked at many examples, even on the tutorials. So, the most I could think of as the source of this error is the editing tool that I've chosen. However, I don't know how I can look up and change my editing tool on the ren'py engine. So, I would like some really informative answers on what I can do to fix this mismatched indentation.
I even tried starting a new file and typed up the example formats. I tried to work on a clean slate with a new script file. This still says that I have an indentation error. This error is killing me, and I need to know how I can make this game to have a good idea on my route story formats and if this engine can handle a menu of four options.
This is how my current script looks. I hope that anyone reading this can understand the formatting this file has.
# The script of the game goes in this file.
# Declare characters used by this game. The color argument colorizes the
# name of the character.
define b = Character(“Boss”)
# The game starts here.
Code: Select all
label start:
# Show a background. This uses a placeholder by default, but you can
# add a file (named either "bg room.png" or "bg room.jpg") to the
# images directory to show it.
scene bg room
# This shows a character sprite. A placeholder is used, but you can
# replace it by adding a file named "eileen happy.png" to the images
# directory.
# These display lines of dialogue.
b “Hello based on my tight schedule I have to ask you this"
b “which of one of you two shall join the Freshwater or Saltwater groups"
“She files through a large stack of papers"
“each filing by the fingers makes the papers more crinkled"
b “I’ve decided that..."
menu:
“...young man, Rojo Pisces to the freshwater.":
jump rojofreshwater
“...young lady, Azul Pisces to the saltwater.":
jump azulsaltwater
“...young man, Rojo Pisces to the saltwater.":
jump rojosaltwater
“...young lady, Azul Pisces to the freshwater.":
jump azulfreshwater
#end of menu, start of labels
label rojofreshwater:
b “You, Rojo Pisces."
label azulsaltwater:
b “Azul Pisces, how do you feel being assigned to work with the saltwaters."
label rojosaltwater:
b “Rojo, to the saltwaters. Your sister shall go work with the freshwaters."
label azulfreshwater:
b “Ms. Azul Pisces, I need you to work with the freshwaters.”
# This ends the game.
return
edit: okay, I put in the code tags to the best of my ability. I'm not sure if this is the right way to do this. If I didn't, please, I'd be happy to get some details on what I should and shouldn't do in typing up the code tags. Also, I hope that the indentations that I'm typing while typing this comment will translate to when the text is submitted.
edit 2:Well, I added a set of code tags to the entire script...I think...i hope.
