Backslash (\) doesn't work for some reasons.

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
BagofLimbs
Newbie
Posts: 7
Joined: Sun Dec 12, 2010 4:18 am
Contact:

Backslash (\) doesn't work for some reasons.

#1 Post by BagofLimbs »

I tried using \ to split line within enclosing text, but Renpy treated it as a character and display the whole "\n" during gameplay, not backlash.
I wonder if it's just me. I have the latest java installed, and my renpy version is 6.11.2b.

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: Backslash (\) doesn't work for some reasons.

#2 Post by Aleema »

Can you post your code you're using?

BagofLimbs
Newbie
Posts: 7
Joined: Sun Dec 12, 2010 4:18 am
Contact:

Re: Backslash (\) doesn't work for some reasons.

#3 Post by BagofLimbs »

Code: Select all

"Since I brought her movie with me today, I guess I should return it to her.\n>You think to yourself."
Something like this. I'm not sure what I did wrong.

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: Backslash (\) doesn't work for some reasons.

#4 Post by Aleema »

Is that arrow (>) supposed to be there? Take that out.

BagofLimbs
Newbie
Posts: 7
Joined: Sun Dec 12, 2010 4:18 am
Contact:

Re: Backslash (\) doesn't work for some reasons.

#5 Post by BagofLimbs »

Yes it is.
I was thinking something just like in Persona, how the thoughts/narrator will be indicated by the arrow.

For example:
Hector, are you alright?
>The concern in her eyes could not be ignored.

The problem is even without the arrow, Renpy could not recognise the backslash (\) :?

User avatar
PyTom
Ren'Py Creator
Posts: 16097
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Backslash (\) doesn't work for some reasons.

#6 Post by PyTom »

The code:

Code: Select all

label splashscreen:
    "Test.\nTest."
    return
Works for me. Does it not for you?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

BagofLimbs
Newbie
Posts: 7
Joined: Sun Dec 12, 2010 4:18 am
Contact:

Re: Backslash (\) doesn't work for some reasons.

#7 Post by BagofLimbs »

Quite strange, maybe it's just this computer. It works fine on the other computers.

Never mind. Thanks anyway.

User avatar
Lumen_Astrum
Dystopian Princess
Posts: 1662
Joined: Mon Nov 08, 2010 8:01 am
Completed: Soul and Heart, Twin Faces
Projects: Soul and Heart Replay; The Court of the Two Sides (tentative title)
Organization: Lion Box Studios
Tumblr: lumenizampel
Location: Philippines
Contact:

Re: Backslash (\) doesn't work for some reasons.

#8 Post by Lumen_Astrum »

Maybe because of the arrow. How about putting a space between the arrow and the slash? I'm not a coder, but maybe that'll do the trick.

Post Reply

Who is online

Users browsing this forum: No registered users