Search found 30 matches
- Mon Sep 21, 2020 8:49 am
- Forum: Development of Ren'Py
- Topic: [SUGGESTION] Queue notifications
- Replies: 0
- Views: 5273
[SUGGESTION] Queue notifications
Hello! I'm working on a large Renpy Game for a while now with a few QTE and reactive mini-games and I would really love to be able to queue notifications. Right now, the notifications last 2 secs and are overwritten by the last one so it's hard to give the player critical information using this func...
- Thu Jan 30, 2020 2:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Variable scope between platforms
- Replies: 2
- Views: 538
Re: Variable scope between platforms
Thank you Angelo Seraphim for your answer. Your post made me realized that my mindset wasnt Pythonic enough. I was trying to store object in a Python list like an array in other languages. That is why I tried to pre-create a list with its elements set to a null value * by the len but it wasnt making...
- Thu Jan 23, 2020 10:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Variable scope between platforms
- Replies: 2
- Views: 538
[Solved] Variable scope between platforms
Hi, I have a Renpy project working perfectly fine on Windows and MacOS but raising an exception when running under Linux. I get a NameError not defined on a [None] * len(i). Linux pretend that i isnt defined and I can't figure why. Here a simplified sniplet of my script code : init: $ renpy.music.re...
- Wed Oct 23, 2019 10:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: ARGH, Dump_Text tool not working
- Replies: 17
- Views: 3613
Re: ARGH, Dump_Text tool not working
Hi! I am trying to use this tool for my project but when my game start I get this error : I'm sorry, but an uncaught exception occurred. While running game code: File "game/dump_text.rpy", line 3, in script init python hide: File "game/dump_text.rpy", line 3, in script init pytho...
- Tue May 07, 2019 9:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: Inline IF possible in a sayer string?
- Replies: 3
- Views: 366
Re: Inline IF possible in a sayer string?
Thank you.
- Tue May 07, 2019 8:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Inline IF possible in a sayer string?
- Replies: 3
- Views: 366
Inline IF possible in a sayer string?
Hello! I was wondering if it was possible to add a inline if to a sayer string? For example, if I want my sayer to say there is 2 apples, I would like to add a "s" to apple if apple is more than 2. myCharacter "There is " + str("s" if apple > 1) + " in the basket&q...
- Mon Mar 25, 2019 2:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Show a screen and notification over movie_cutscene
- Replies: 1
- Views: 246
Show a screen and notification over movie_cutscene
Hi!
I'm facing a new challenge with the movies in Renpy. I am trying to show a screen and notification over a running movie_cutscene. Is it possible?
I'm facing a new challenge with the movies in Renpy. I am trying to show a screen and notification over a running movie_cutscene. Is it possible?
- Mon Mar 25, 2019 2:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Load a movie from a defined variable
- Replies: 1
- Views: 281
Re: Load a movie from a defined variable
I figure it out by myself. Using movie_cutscene instead of movie fixed my issue
https://www.renpy.org/doc/html/movie.ht ... e_cutscene
https://www.renpy.org/doc/html/movie.ht ... e_cutscene
- Mon Mar 25, 2019 1:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Load a movie from a defined variable
- Replies: 1
- Views: 281
Load a movie from a defined variable
Hello! I'm trying to load a movie from a random value from a defined array to a variable : I have a simple array/list such as stage_loop = ["path/to/movie.webm","path/to/movie.webm","path/to/movie.webm","path/to/movie.webm"] When I try : $ selected_movie = ran...
- Wed Feb 13, 2019 10:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I need help creating a grid map overlay with movement restrictions
- Replies: 1
- Views: 251
I need help creating a grid map overlay with movement restrictions
Hello, I am planing a new ambitious Renpy project and I am trying to figure out how to create an interactive semi transparent grid map overlay that would go over a background image of a city. This grid would allow my character to move on the map using a click on any gray box located next to her curr...
- Thu Jul 27, 2017 9:15 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] SetVariable in imagebutton
- Replies: 2
- Views: 658
Re: SetVariable in imagebutton
Thank you a lot Natalie! It works!
- Thu Jul 27, 2017 8:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] SetVariable in imagebutton
- Replies: 2
- Views: 658
[SOLVED] SetVariable in imagebutton
Hello! I am trying to set the value of a class object variable into an image button but its not working. SetVariable("myClass.variable", True) imagebutton auto "gui/mybutton_%s.png" action [ SetVariable("myClass.variable", True), Play ("sound", "sfx/email...
- Sat Jul 22, 2017 11:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to hide say box from a screen?
- Replies: 1
- Views: 2627
How to hide say box from a screen?
Hi, I have a python script tracking stats and calling a screen (renpy.show_screen) if a variable is greater or equal to a value. The screen show up as expected however the say box overlay over the said screen. I tried to pause renpy from the screen script or tried to find a way to hide the say box b...
- Wed Jul 19, 2017 10:03 am
- Forum: Ren'Py Questions and Announcements
- Topic: Vertical progressive bar
- Replies: 0
- Views: 392
Vertical progressive bar
Hello! I am trying to find a tutorial or some examples to get some inspiration to program a vertical progress bar for my game. Something that would look like the picture I have attached to this post. When I search for this, I get many vbar examples for the GUI but nothing like a progress bar in Renp...
- Tue Jul 11, 2017 9:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do you call a function in a regular renpy label script?
- Replies: 2
- Views: 2420
How do you call a function in a regular renpy label script?
Hi! Its probably a very noob question but, I have a very simple function located in its own file that looks like this : File ambiance sfx manager.rpy init python: def AmbianceManSFX(): renpy.play("sfx/ambiance light city.ogg", "ambiance") I want to call this function in the middl...