- Dec 7, 2017
- 84
- 78
Yeah great idea, much better than mine where in the script.rpy you replace "define j = Character("Jack")" with whatever name you want. Then in the Myvirginsister.rpy file replace Jack with [j]. Bugger is that you need to do that with every version. Cudos.Nice! I just noticed the thread here as well, and the dev is here, so I'll repeat what I said on that other forum (I'll avoid naming that certain site to avoid getting slapped by mods):
Wow! That was hot! The visuals were great, but the dev needs to put some more work into the code. A few pointers for the dev:
So, I did some tinkering around, and here are some example code for my suggestions.
- Although this is a KN, it should be simple code work to let you choose the names of both main characters, if you want to change them from their defaults, to make the story more "personal" (from the reader's point of view).
- Mostly, this is just by
You must be registered to see the linksand using a simple variable reference; I've provided some example code below.- If you do this, be careful to not use a blind search-and-replace, especially since the word "jack" is also used as the verb, in addition to the narrator's name.
- Some lines where Lisa was talking, were attributed to Jack, so these need to be fixed. For the future, I'd also suggest having an "outsider" (either a friend, or someone you know might be interested in this type of story) playtest the story, to look for typos or other dialogue errors, visual issues, etc. Could even be a stranger on a forum somewhere, as long as it's not you, just so you can a second set of eyes; when you work on a project, you can easily miss non-obvious issues.
- A different style should be used for the narrator's thoughts, the *** bits before and after the text looks a bit messy. Adding a new "character" with the name of "Jack's thoughts" (or with the changed name); I've included some example code below.
For script.rpy:
This is in the block where you've defined your characters. This will define jt as a "speakable" character representing Jack's internal thoughts, this will also ensure that this character's "spoken" text will be stylized with italics.Python:define l = Character("[Lisa]") define j = Character("[Jack]") define jt = Character("[Jack]'s thoughts",what_prefix="{i}",what_suffix="{/i}")
You don't have permission to view the spoiler content. Log in or register now.
As for Myvirginsister.rpy (the first story in what I assume is going to be some sort of anthology), here's some example code to put right after the introduction, but before going into the story itself:
This will define the variable containing the name of the two main characters, and setting their default if text was left blank. The strip() function will strip whitespaces before and after, just so it will handle if you input spaces as their names instead of actual text.Python:python: Jack=renpy.input("Enter the name of the male main character (leave blank for Jack):", with_none="Jack").strip() if not Jack: Jack="Jack" Lisa=renpy.input("Enter the name of the female main character (leave blank for Lisa):", with_none="Lisa").strip() if not Lisa: Lisa="Lisa"
Then, in the script lines themselves, replace "Jack" with "[Jack]" and "Lisa" with "[Lisa]" - this is one of the most simple ways to do this (and, like I said, avoid the temptation of a simple "search and replace all").
I'll be looking forward to see how the story continues.
Nice to see ways to get around RenPy greatness. Cheers.
BTW Dev, Good start to a VN.
Last edited: