r/RenPy • • 5h ago

Showoff Neon Babylon - A Noir-Comic Parody NSFW

Post image
11 Upvotes

itch.io - Patreon

I'm pleased to announce our debut game: Gotham: Neon Babylon.

Right now, it's a proof of concept, but we hope the art style and writing inspire you all to take a look and maybe support the ongoing development.

We're committed to quality content and have a strict zero-AI policy. Everything you see here is made by hand.


r/RenPy • • 27m ago

Question How do I change the position of the large "SAVE" and "PREFERENCE"

1 Upvotes

I'm fairly new to Ren'Py, I tried dialogues and texts a few months ago, and now I'm trying to make a small project as a bonus for my thesis.

I need to put the "Save" and "Preference" texts lower and possibly make them smaller

How do I change the size and Positioning of the "SAVE" and "PREFERENCE" Texts in the Save and Preference menus? I'll also add another question regarding whether I can enlarge the RETURN button on the bottom left


r/RenPy • • 4h ago

Question Assistance with robo-barbie's chat_program code.

2 Upvotes

Hello - I'm having a huge headache with this one piece of code unfortunately and am either looking for pointers from people who have used it before OR anyone who might just have a clue as to what it is that's going wrong. ( I have looked for tutorials but have unfortunately come up empty: as I learn better through explainations and visuals/observation, hence why I've come forward here, ahaha. )

Firstly, the menu choice screen looks like this now, as outlined in robo-barbie's instructions:

screen choice(items, channel=active_window, chat_menu=True):
    style_prefix "choice"


    if chat_menu:
        # This is the choice menu for the chatroom. Style as you like
        frame:
            background None
            area (500, 100, 1369, 1640) #(851, 1129, 1349, 194)OLD
            if active_window == current_window:
                vbox:
                    xalign 0.0
                    spacing 0
                    yalign 0.5
                    for i in items:
                        textbutton i.caption:
                            if not i.kwargs.get("auto_send", True):
                                action i.action
                            else:
                                action [Function(chat_message, cn, i.caption, channel, is_player =True), i.action]
                            xmaximum 1300
                            background None
                            text_xalign 0.0


    else:
        # This is the choice menu for normal ADV mode. Style as you like
        vbox:
            xalign 0.5 yalign 0.5
            for i in items:
                textbutton i.caption action i.action:
                    xalign 0.5

Now I was able to get the screen to show up within the VN - there was some finangling to get all the text and the UI (a .png image) itself to show in the middle, text is all where it should be. ( Hence the #(851, 1129, 1349, 194)OLD comment, that's the original area.

In a seperate .rpy, called 'screens_chat.rpy' I sorted each section with labels to organise a little better.

label firstchat:
    $ reset_chats()
    scene comp1
    $ _rollback = True # disable rollback (robo public enemy #1)
    window hide # get rid of say screen
    show screen chat_messages_view # show chat screen (main function of the game)


    kiyo "Morning." (c= "#general", ot = cn)
    
    menu: 
        "gooooood morning, kiyoshi!":
            $ affinity += 1
            pass
        "hiiii kiyo~":
            $ affinity += 2
            pass
        "good morning!":
            pass   
    
    kiyo "Lock in."
    
    kiyo "Let's get some work done." (ot = cn)

The first label works fine, with the menus and such.

The SECOND label, I struggled with. I came up with the same error until I did some mucking about with the way I input the text. It DOES work now.
( It was specifically at the menu part: )

menu: 
        "are you okay?":
            cn "can't sleep?"
            kiyo "Nah. It's kinda… Difficult to."
            cn "..."
            cn "..."
            cn "are you texting me with your head out the window?"
            kiyo "So what if I am?"
            cn "you're going to make yourself sick smoking all the time."
            kiyo "Nah."
            cn "i did research on it."
            kiyo "Nah."
            cn "i'm being serious!"
            kiyo "Nah."
            $ affinity += 3
            $ renpy.pause()
            pass
        "why are you up so late?":
            kiyo "Can't sleep."
            cn "oh."
            cn "why?"
            kiyo "Dunno."
            cn "can I do anything?"
            kiyo "You're chatting to me."
            cn "oh."
            kiyo "Yeah."
            cn "well I don't sleep,"
            cn "so we can chat for as long as you like, kiyo."
            kiyo "Thanks, Cyph."
            $ affinity += 3
            $ renpy.pause()
            pass
    hide screen chat_messages_view

So that worked. And still works with label 3 written up, however with label 3; it ONLY allows me to pick the 'Ignore his message' option, otherwise the first one comes up with an error.

THE LABEL:

label chat3:
    $ reset_chats()
    scene comp1
    $ _rollback = True # disable rollback (robo public enemy #1)
    window hide # get rid of say screen
    show screen chat_messages_view # show chat screen (main function of the game)
    
    cn "kiyoooooooo?" (c = "Kiyoshi", ot = cn)


    menu: 
        "checking in."(c = "Kiyoshi"):
            kiyo "I'm doing bad." # should be the text response, but doesn't work.
            pass
        "{i}Don't message him.{/i}" (auto_send=False):
            pass
    $ reset_chats()


    cn "kiyo??"(c = "Kiyoshi")


    menu: 
        "checking in."(c = "Kiyoshi"):
            kiyo "Doing bad." # should be the text response, but doesn't work.
            $ renpy.pause()
        "{i}Don't message him.{/i}" (auto_send=False):
            kiyo "hhhhhhhhhhhhhhhhhhhhhhhhhhhh"(c = "#crashing_out")
            $ renpy.pause()
            $ kmurder += 1
            pass
    $ reset_chats()
    
    cn "kiyo...."(c = "Kiyoshi")


    menu: 
        "checking in??":
            kiyo "I'm doing bad."  # should be the text response, but doesn't work.
            $ affinity += 3
            $ renpy.pause()
            pass
        "{i}Don't message him.{/i}" (auto_send=False):
            kiyo "hhhhhhhhnnnnnnnn"(c = "#crashing_out")
            $ kmurder += 1
            $ renpy.pause()
            pass
    hide screen chat_messages_view
    jump firstchat #this was just to test if the rest of the code worked with this written up already; it does.

The error message:

[code]
I'm sorry, but an uncaught exception occurred. While running game code:
  File "game/screens_chat.rpy", line 257, in script
    menu:
  File "game/chat_program.rpy", line 234, in chat_message
    chat_pause(wait_time)
    ~~~~~~~~~~^^^^^^^^^^^
  File "game/chat_program.rpy", line 393, in chat_pause
    renpy.call_screen("fake_chat_pause", timer)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception: Cannot start an interaction in the middle of an interaction, without creating a new context. -- Full Traceback ------------------------------------------------------------ Traceback (most recent call last):
  File "game/screens_chat.rpy", line 257, in script
    menu:
  File "renpy/ast.py", line 1825, in execute
    choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
             ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/exports/menuexports.py", line 135, in menu
    rv = renpy.store.menu(new_items)
         ~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "renpy/exports/menuexports.py", line 418, in display_menu
    rv = renpy.ui.interact(mouse="menu", type=type, roll_forward=roll_forward)
         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/ui.py", line 306, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/display/core.py", line 2163, in interact
    repeat, rv = self.interact_core(
                 ~~~~~~~~~~~~~~~~~~^
        preloads=preloads,
        ^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
        **kwargs,
        ^^^^^^^^^
    )
    ^
  File "renpy/display/core.py", line 3263, in interact_core
    rv = root_widget.event(ev, x, y, 0)
         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "renpy/display/layout.py", line 1281, in event
    rv = i.event(ev, x - xo, y - yo, cst)
         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/display/layout.py", line 1281, in event
    rv = i.event(ev, x - xo, y - yo, cst)
         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/display/layout.py", line 1281, in event
    rv = i.event(ev, x - xo, y - yo, cst)
         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/display/screen.py", line 805, in event
    rv = self.child.event(ev, x, y, st)
         ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "renpy/display/layout.py", line 1281, in event
    rv = i.event(ev, x - xo, y - yo, cst)
         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/display/layout.py", line 1510, in event
    rv = super(Window, self).event(ev, x, y, st)
         ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "renpy/display/layout.py", line 273, in event
    rv = d.event(ev, x - xo, y - yo, st)
         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/display/layout.py", line 1281, in event
    rv = i.event(ev, x - xo, y - yo, cst)
         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/display/behavior.py", line 1189, in event
    return handle_click(self.clicked)
           ~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "renpy/display/behavior.py", line 1111, in handle_click
    rv = run(action)
         ~~~^^^^^^^^
  File "renpy/display/behavior.py", line 404, in run
    new_rv = run(i, *args, **kwargs)
             ~~~^^^^^^^^^^^^^^^^^^^^
  File "renpy/display/behavior.py", line 411, in run
    return action(*args, **kwargs)
           ~~~~~~^^^^^^^^^^^^^^^^^
  File "renpy/common/00action_other.rpy", line 618, in __call__
    rv = self.callable(*self.args, **self.kwargs)
         ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "game/chat_program.rpy", line 234, in chat_message
    chat_pause(wait_time)
    ~~~~~~~~~~^^^^^^^^^^^
  File "game/chat_program.rpy", line 393, in chat_pause
    renpy.call_screen("fake_chat_pause", timer)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/exports/statementexports.py", line 341, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/ui.py", line 306, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "renpy/display/core.py", line 2129, in interact
    raise Exception(
        "Cannot start an interaction in the middle of an interaction, without creating a new context."
    )
Exception: Cannot start an interaction in the middle of an interaction, without creating a new context. 

Sorry for the long post - I genuinely cannot wrap my head around why the menus work sometimes and then don't work other times.

Perhaps it's a silly little issue I've missed - as I'm not the world's best coder, but if anyone can point me in the right direction I'd be exceptionally grateful.

TLDR: The menus work with this code sometimes, they don't work othertimes. Have I made a mistake?


r/RenPy • • 2h ago

Discussion Un créateur ambitieux de 18 ans qui développe un roman visuel romantasy en l'écrivant d'abord.

Thumbnail reddit.com
1 Upvotes

r/RenPy • • 1d ago

Showoff People seemed to like my character sprites. Here is an animation I commissioned of one of my characters, Lucy, + more of her sprites. Would love feedback + your character ideas!

Thumbnail
gallery
403 Upvotes

r/RenPy • • 1d ago

Showoff Thank you Reddit :3

Thumbnail
gallery
78 Upvotes

I currently have a hyperfixation on a bunch of characters my friends and I made and in one of those moments I decided I wanted to try to do a video game. I have 0 coding knowledge/ experience whatsoever and it's a very very simple and short vn - an hour at most.

But whenever I had a question I could look through this sub Reddit or even ask a question and everyone was so kind and helpful and it just helped a lot with my process. Y'all are so sweet I wanted to show what I could do :D


r/RenPy • • 5h ago

Question Why am I getting this error?

Post image
1 Upvotes

I am trying to use my Mac laptop to continue developing my project, but I keep getting this error when I try to launch my project. I’m pretty sure I’ve moved the renpy folder out of the read-only location and out of my iCloud and everything, so I’m at a complete loss. What the hell am I doing wrong? 😭


r/RenPy • • 6h ago

Question Renpy ne veut pas ce lancer

Post image
1 Upvotes

Bonjour pour la première fois je voulais lancer renpy pour créer un visual novel mais le jeux ne ce lance pas j'ai beau désinstallé et re installé ça ne fonctionne pas est-ce-qu'il y a des gens qui peuvent m'aider s'il vous plaît (excusez-moi si je fais des fautes d'orthographe)


r/RenPy • • 1d ago

Showoff Solo-devving my dream game in renpy for 9 years now, I made a key visual artwork for it!

43 Upvotes

My game's title is SOFTWAR! It's a pun on Software and War. and it's what i call a NETWORK BATTLE ADVENTURE. made in Renpy, but it's shaping to be a full-blown JRPG instead of a normal kinetic VN.

The game is inspired by Fate series, and Megaman Battle Network!
I'm still struggling writing the rest of the story, but i have so much fun drawing new characters and thinking about their abilities!

what do you think of this poster art i cooked up? uwaaa


r/RenPy • • 1d ago

Question Nearly finished my project!

11 Upvotes

Currently I'm in the last steps to finish my first big project! I'm excited and can't wait to finally publish it on Steam 😊

How did you guys feel when you finished/published your first project? And how was it after it was done?


r/RenPy • • 22h ago

Question Blinking animation question

4 Upvotes

Okay so I'm still currently figuring out how to do blinking/lip flap animations, but I thought I'd ask before I get too deep into writing code: can blinks be "dynamic" for lack of a better word?

Like if I have the images "eyes relaxed," "eyes happy," and "eyes sad" but I don't want to have to make new animations for every single one, as I have only one "blink" image, is there a way to tell Ren'Py that "eyes normal" = whatever image is showing?? Like I have my eyes grouped in a layered image, so in my head it should work, but does it in practice?

Let me know if this explanation doesn't make any sense


r/RenPy • • 1d ago

Discussion Would u play vn with characters like these?

Thumbnail
gallery
76 Upvotes

This is probably beta splash art sketch


r/RenPy • • 21h ago

Question How to fix RecursionError:maximum recursion depth exceeded on renpy visual novel

Thumbnail
gallery
3 Upvotes

This is my first time making a visual novel and I don’t understand How to fix this


r/RenPy • • 1d ago

Question How do i change the nvl box style?

2 Upvotes

Im currently making my first vn and wanted to make the nvl box style not be a gradient but more like tsukihime, however i couldnt find any tutorial on how to do that.


r/RenPy • • 19h ago

Question Modifying code

0 Upvotes

( I don’t do punctuation so… sorry?)

So I downloaded a game and I wanna cheat I don’t wanna work for nothin usually I’d find it a fairly simple thing to go in the code and just edit it using the notebook I haven’t needed to cheat all that often in games and so I tried the same thing as usual but there is such an abundance of code that opening it in the notes app compresses it into gibberish so my main questions are
What do I use to examine the code .1
2. How can I tell which file is most important (contains the money value)
3 how can I delete my player save data
4 (optional) if possible is there a roundabout way to change it without doing too much
And no it doesn’t have command counsels I don’t know where to find and activate that in the code
I would very much appreciate it if someone could simplify the steps to what I want to do down to a 3rd grader level please and thank you


r/RenPy • • 1d ago

Showoff Updated my VN...

Thumbnail
gallery
33 Upvotes

Hi! I've been making Do This Properly on my own (writing, art and code), and the 0.2 update adds Day 1 of Leon's route.

He's your childhood friend. He's very calm, he makes you breakfast, and he won't open the door. You get through the day with him, then search his apartment while he's out at dinner.

Some Ren'Py bits I had fun with:

  • The night search is a screen with clickable spots over the background, and you only get three actions before he's home

  • 8 deaths, and after each one you can retry from just before the choice (it saves a checkpoint slot before the risky ones)

  • Timed choices, which you can turn off in settings

  • A gallery where clicking a CG again cycles through its variations

It's free on itch: https://jindalu.itch.io/do-this-properly

Content warnings are on the page (stalking, captivity, violence, gore).

Feedback welcome, especially on the search screen!


r/RenPy • • 2d ago

Showoff Updating my Main Menu Screen

Thumbnail
gallery
46 Upvotes

Finally updating the Main Menu to my project This Won't Work;

(it'll be updated in-game in the next coming update for this month, November 30)

(First image is the old one, second the new)

It's a Domestic Horror Thriller, for anyone curious, a extended demo is available to download on itch.io for free 👇

https://vinceakatori.itch.io/this-wont-work


r/RenPy • • 1d ago

Question i kinda need help

Post image
6 Upvotes

what the heck does this mean


r/RenPy • • 1d ago

Self Promotion I ported the full Ren'Py 8.6.1 SDK to Android: make and test visual novels on your phone, no PC

1 Upvotes

Hi! I've been working on an Android build of the Ren'Py launcher and engine. It's a free, open source APK, and it runs the real launcher on your phone:

Create New Project with the full GUI template

Launch Project runs your game inside the app (a "‹ Launcher" button takes you back)

Navigate Script, Check Script (Lint), Change GUI, translations and Extract Dialogue all work

Edit your scripts in any editor app (Acode, QuickEdit…); projects are plain files in RenPyProjects

Script errors show Ren'Py's error screen and never close the app

Building the final release (Windows/Mac/APK of your game) still needs the desktop SDK; the project folder is the same on both.

It's an unofficial community port. Bug reports are very welcome; there's a crash log built in.

Download and screenshots: https://github.com/eren-coder07/RenPy-Android-Port


r/RenPy • • 2d ago

Showoff third main menu! surely I'll like this one

Post image
39 Upvotes

im like 89% happy with it lol but i still feel like it could be better :D


r/RenPy • • 2d ago

Question want my visual novel to have a phone the player can check… how do i go about adding and coding this?

9 Upvotes

i have this idea to have my MC's phone be something you can open at any time while playing through the game.

i'm immediately thinking of Vincent's phone in Catherine: Full Body. as you play, you can open the phone, which comes up on the screen, and check for new messages.

how would i go about building this? where would i put the images in this case? and how can i make the messages change, with new ones showing up as the game goes on? alternatively, is this something that’s possible within renpy? thank you!


r/RenPy • • 1d ago

Question [Solved] Looping menu trouble

1 Upvotes

I can't figure out how to allow the player to play through all menu options, with the played through options becoming invisible. I've been searching the subreddit, and I cannot figure it out.

I tried doing a menuset but it keeps coming back with the error "menuset not defined" but idk what it wants me to do TmT

Someone please help 🙏🙏🙏


r/RenPy • • 3d ago

Showoff first visual novel demo 'Nurse, Disturbed' ! :D

Thumbnail
gallery
210 Upvotes

i posted on here a few months ago showing the progress of my visual novel that i was making for a university project! i uploaded it to itchio https://hardcorebisnis.itch.io/nurse-disturbed !!

nurse, disturbed is a psychological horror vn about an unstable nurse, with 2 endings so far !

i made this for a games art uni project and it was my first time using renpy so its very simple lol, i also ended up rushing for some aspects to make my deadline :,((( but i want to continue with this game and add more writing, music, etc.


r/RenPy • • 3d ago

Showoff Eileen 🩷 NSFW

Post image
28 Upvotes

I get it now..


r/RenPy • • 2d ago

Question ¿Que precauciones debo tomar a la hora de traducir un juego directamente reemplazando el texto desde el codigo?

1 Upvotes

Buenas. Estoy haciendo mi primera traduccion.

Estuve consultando tutoriales en youtube y reddit pero no dieron resultados, los programas automaticos de decompilado y traduccion automatica. Tuve que usar la pagina de github para extraer los archivos .rpa y luego usar el notepat para acceder al codigo.

Aclaro que ni siquiera la opcion de generar traduccion de renpy logre acceder al codigo para empezar a reemplazar el texto.

El codigo a mi punto de vista es bastante complejo. Lo siguiente lo voy a expresar de forma simple porque no entiendo sobre programacion. Muchos de los dialogos estan escritos sobre multiples variables; esta lleno de texto con diferente tipo de fuentes; y usa un ingles medieval con multiples abreviaturas, la pesadilla de los traductores automaticos.

Creo que tome un juego dificil para empezar a traducir pero esto lo hago con la motivacion de un fan.