Search found 450 matches
- Thu May 23, 2024 10:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: What's the most efficient way to store variables?
- Replies: 11
- Views: 161
Re: What's the most efficient way to store variables?
PS. For some weird reason, you might want to create a separate namespace for all choice-related variables. I'm not sure what is the properest way to set namespaces in Ren'Py, but this should work (for Python 3, i.e. Ren'Py 8.): init python: from types import SimpleNamespace c = SimpleNamespace() # T...
- Thu May 23, 2024 9:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: What's the most efficient way to store variables?
- Replies: 11
- Views: 161
Re: What's the most efficient way to store variables?
Imagine I have a Yes/No question (1) and I want the game to remember that answer, but then I have another Yes/No question (2) and then another one (3) and so on, and I want to save those answers as well. Eventually the game has 100 Yes/No questions, each of them stored individualy, so I'd end with ...
- Thu May 23, 2024 7:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy how to start making minigame
- Replies: 5
- Views: 117
Re: Renpy how to start making minigame
There are tons of minigames presented and discussed in Ren'Py Cookbook: https://lemmasoft.renai.us/forums/viewforum.php?f=51 And generally search the whole forum with keywords like minigame, rhythm etc. this give out this error OSError: Could not open 'assets/DinoWallpaper.png'. b"Couldn't open...
- Wed May 22, 2024 8:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Return viewport to previous position
- Replies: 4
- Views: 180
Re: Return viewport to previous position
When I run this, it just says that a NoneType object has no yadjustment value. Help! TIA. def getxcardgallerypos(): tempvar = renpy.get_widget('CardGallery', 'gallery2') cardypos = tempvar.yadjustment.value screen CardGallery(): ... frame: xpos 250 ypos 0 background None side ("r"): area ...
- Wed May 22, 2024 5:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Outlining only certain text in dialog
- Replies: 5
- Views: 157
Re: Outlining only certain text in dialog
When I do this, the outline doesn't appear and I'm led to believe that this is because I need to also tell the text to physically have an outline to colour. However, I can find nothing about how to add an outline to just specific words rather than for all text in the game. You can add transparent o...
- Wed May 22, 2024 7:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: Pause without skipping the animation(effect)
- Replies: 2
- Views: 271
Re: Pause without skipping the animation(effect)
I want to let the player watch the forest background slowly change to a black background, also can't skip it. I used 'hard pause' to stop the player from skipping and this seems to work well, but still have got a little problem. Even though I've used hard pause, I can still skip the dizolve3 effect...
- Tue May 21, 2024 5:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Button hover broken when used in DynamicDisplayable
- Replies: 2
- Views: 141
Re: Button hover broken when used in DynamicDisplayable
Hi, I'm trying to add a button to a screen using DynamicDisplayable, but for some reason, the button's hover properties does not work on mouse over(clicking the button still executes its function as normal though). Does anyone has an idea what is causing it and what can be done to remedy this? Belo...
- Tue May 21, 2024 5:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Game is stuck in a Screen scene?
- Replies: 5
- Views: 176
Re: Game is stuck in a Screen scene?
I wouldn't bother with any of that, just don't call the screen, instead use show screen. label start: scene credits show screen discord_hover Yeah, it's an option, but then players would instantly fall through to Main Menu with any accidental click or Skipping, and couldn't go back with rollback. T...
- Tue May 21, 2024 2:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Game is stuck in a Screen scene?
- Replies: 5
- Views: 176
Re: Game is stuck in a Screen scene?
label start: scene credits call screen discord_hover Basically, after the call screen, even if I place other scenes, nothing happens. It's stuck forever in that credits scene. Does anyone knows exactly what I'm doing wrong? "call screen" stops the progress until you do Return() from scree...
- Tue May 21, 2024 2:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Disable and enable Saves [SOLVED]
- Replies: 4
- Views: 216
Re: Disable and enable Saves
That worked, but still I can save the game from the little bar on the bottom of the screen. Any way to disable that? You can use Displayable Inspector: point that little bar with the mouse and press Shift-i . You could see that it's screen quick_menu . Examine the file screens.rpy looking for "...
- Mon May 20, 2024 5:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Inventory Help
- Replies: 1
- Views: 169
Re: Inventory Help
For every item you can set an imagebutton (or a hotspot if you use imagemap ). Set conditions (with "if") whether to show for each of those buttons or hotspots. For example, if on map1 you have to find - a case located at pos (100, 800) - and a book located at pos (700, 700): # Set that yo...
- Mon May 20, 2024 5:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to add music and font choices?
- Replies: 1
- Views: 155
Re: How to add music and font choices?
Hi, there! I'm pretty new to Ren'py and have really only mastered the most basic of basics, but I'm working on a project that I want people to be able to choose the music and font for. I have four songs and two fonts that I want people to be able to choose from, and I feel like I should be able to ...
- Mon May 20, 2024 3:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: Need to make a texting function
- Replies: 6
- Views: 294
Re: Need to make a texting function
You wanted to see old msgs too. You can do it with define too.for example massages to jasonfrom yuki default tojasonfromyuki = [] and you need define reverse and for others too.it is better to have some kind of db sender, receiver ,massage ,send time or what you need. Some games using json others m...
- Sun May 19, 2024 5:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Need to make a texting function
- Replies: 6
- Views: 294
Re: Need to make a texting function
You need to define everything and use some db. I made online app so using mysql. Not yet in store.it has chat mail login register review snd other things.i am sending and receiving everything. You must do same localy maybe json i dont know exactly I think TS speaks about showing in-game conversatio...
- Sat May 18, 2024 11:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Problems with Image/Video Colors
- Replies: 3
- Views: 191
Re: Problems with Image/Video Colors
I'm having some trouble with image/video discoloration in Ren'Py. PS. Or could there be some problem with the color profile of the images? E.g. they are saved without color profiles, but Ren'Py assumes by default some other color profile than what they used? See e.g. https://photo.stackexchange.com...