Search found 80 matches
- Wed Jul 12, 2023 12:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Small bug with config.menu_include_disabled
- Replies: 3
- Views: 220
Re: Small bug with config.menu_include_disabled
Well then this is something that should be a feature. When the player is selecting which game version to play at the beginning (Normal, Director's Cut, etc), they should see all the options with the ones they haven't unlocked greyed out. During the game, though, you don't want to see all the unavail...
- Tue Jul 11, 2023 10:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: Small bug with config.menu_include_disabled
- Replies: 3
- Views: 220
Small bug with config.menu_include_disabled
Hopefully this one should be easy to replicate. I've found that, if I turn on the ability to have unselectable menu items greyed out by setting config.menu_include_disabled to True, and then save the game while a menu with greyed out items is displayed, all the greyed items vanish when the game is l...
- Tue Jul 11, 2023 7:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: Problems with text alignment in say box
- Replies: 3
- Views: 244
Problems with text alignment in say box
I'm just cleaning up my game for release, and would like to centre align the text on the say screen. With my basic knowledge of Python, I had imagined I could do something like this: text "f{what : ^82} id "what" pos(450,140) but this just complains about the what string not being ide...
- Fri Jun 30, 2023 11:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: An inventory system help
- Replies: 14
- Views: 940
Re: An inventory system help
I'm now using this inventory system fairly extensively in my game and it's worked wonders - but there's one thing I can't seem to work out so I'm hoping you can help point me in the right direction. I have two characters in my game (actually, more than two but let's not complicate matters), and when...
- Tue Jun 27, 2023 8:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: An inventory system help
- Replies: 14
- Views: 940
Re: An inventory system help
Well, I'm damned if I can work out how to delete my last post - I can't see a delete button anywhere - but I worked it out in the end. I'm not too familiar with python and just had to do a little research on dictionaries. I'm still working with arrays in my head.
- Mon Jun 26, 2023 12:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: An inventory system help
- Replies: 14
- Views: 940
Re: An inventory system help
Hi Jeffster, I've started using this inventory system (or parts of it, anyway) in my game, but have a question. The initial items available in game are defined in the code like this: default items = { "sword": { "idle": "images/sword.webp", "hover": "imag...
- Thu Jun 22, 2023 9:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to create a checkpoint and return to it
- Replies: 6
- Views: 335
Re: How to create a checkpoint and return to it
This all gives me flashbacks of writing network software in the 90s. You can guarantee that two people would be editing the same file at the same time, would delete a file from the disk someone else was using, and no matter how deeply coded the security would be, somebody would always end up overwri...
- Thu Jun 22, 2023 9:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: Setting a variable within a screen not working
- Replies: 6
- Views: 314
Re: Setting a variable within a screen not working
I hadn't been thinking of the menus as a screen so I suppose that does add a level of complexity I wasn't thinking about. Thanks for all your help - in order to get something out, I'll probably end up just hiding the inventory button while menus are displayed and come back to this later. It just mea...
- Wed Jun 21, 2023 7:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Setting a variable within a screen not working
- Replies: 6
- Views: 314
Setting a variable within a screen not working
This has been driving me crazy all day. Consider the following code: menu: "Option 1": jump label1 "Option 2": jump label2 "Option 3": jump label3 label label1: Blah Blah label label2: Blah Blah Label label3: Blah Blah The problem is that I have a screen which can be di...
- Mon Jun 19, 2023 10:03 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to create a checkpoint and return to it
- Replies: 6
- Views: 335
Re: How to create a checkpoint and return to it
Thanks, jeffster. I think I'll have to end up going for the second option even though that's going to be a right royal pain in the... considering all the variables involved. The problem with the saving to disk option is that more than one person might be playing the game or the same player may be pl...
- Mon Jun 19, 2023 7:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to create a checkpoint and return to it
- Replies: 6
- Views: 335
How to create a checkpoint and return to it
Here's what I'd like to achieve in my game: The player reaches the end of a particular scene in which there have been various puzzles, and they are about to move to the next scene. At this point, a message appears listing all the mistakes they made, all the points they failed to earn, with the optio...
- Wed Jun 07, 2023 3:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to fade while everything continues
- Replies: 2
- Views: 147
Re: How to fade while everything continues
Perfect, thanks Jeffster. I had everything working for showing the dust layer, just didn't know how to get rid of it again afterwards without it just vanishing suddenly which would've looked... weird. So thanks again.
Simon
Simon
- Wed Jun 07, 2023 1:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to fade while everything continues
- Replies: 2
- Views: 147
How to fade while everything continues
Hi all, I have a scene with an animated layer containing a semitransparent (png) dust cloud which moves across the image as the action continues. At some point, I want this layer to slowly begin to fade out over, say, a 10 second period while everything else continues as normal. So essentially I'd l...
- Tue Mar 07, 2023 7:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Changing the width of a menu textbutton
- Replies: 2
- Views: 310
Re: Changing the width of a menu textbutton
All working now, thanks. It's usually the little things that trip me up
- Mon Mar 06, 2023 9:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Changing the width of a menu textbutton
- Replies: 2
- Views: 310
Changing the width of a menu textbutton
How do I go about changing the width of the text displayed on textbuttons within the "choice" menu, on a single menu basis. I realise that the width of textbuttons across the system is set by gui.button_text_size, but I want to change it on a per menu basis rather than across the whole gam...