Search found 18 matches
- Sat Nov 18, 2017 2:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Best way to wait for user input?
- Replies: 5
- Views: 4116
Re: Best way to wait for user input?
Sorry to take so long - things have been a bit hectic. "ibox" is my interaction box - currently just three buttons for look, talk, map. I call the screen and it returns either "map" or else a label string based on chapter and location variables. So if the location (set by the map...
- Sun Nov 12, 2017 8:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: Best way to wait for user input?
- Replies: 5
- Views: 4116
Re: Best way to wait for user input?
Basically, I have a UI panel with buttons to move, talk, etc, and I put that up with call rather than show. So this means that the UI gets displayed and execution waits until it gets a click. Then I return back with a label string. Then I do some bookkeeping, call the label and when that returns I l...
- Thu Nov 02, 2017 8:43 am
- Forum: Ren'Py Cookbook
- Topic: "Shuttering" a GUI panel
- Replies: 3
- Views: 3512
Re: "Shuttering" a GUI panel
I rather like this design. It's pretty awesome! Thank you! :D Are you able to have more than 3 clickable icons with this? Oh yeah. It's just an imagemap, so it can be as simple or as complex as you like. If so, I might just use it for my next game, since I'm trying to go for a simple "social m...
- Tue Oct 31, 2017 9:30 am
- Forum: Ren'Py Cookbook
- Topic: "Shuttering" a GUI panel
- Replies: 3
- Views: 3512
"Shuttering" a GUI panel
Dead simple one, this. Hope it's not old news to too many of you. Suppose you have a box with buttons in it as part of your GUI. I have one that looks like this: https://i.imgur.com/3ghxkbw.png Now, suppose you want to be able to collapse that box so it takes up less screen space. Not hide it comple...
- Sun Oct 29, 2017 9:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Difficulty with pauses between images
- Replies: 3
- Views: 379
Re: Difficulty with pauses between images
If you want the pause to be unskipable, you can replace "pause 5.0" with "$ renpy.pause(5.0, hard=True)". I want them to be able to click through it. What I could do is take the timeout away entirely. That works, but I worry that people might not realise a click was needed. That...
- Sun Oct 29, 2017 7:55 am
- Forum: Ren'Py Questions and Announcements
- Topic: Difficulty with pauses between images
- Replies: 3
- Views: 379
Difficulty with pauses between images
What I want to do: I have some title cards made up for chapter breaks and the like. So what I want to do black out the screen (that bit works then show this card: https://i.imgur.com/vt5A4ov.png Then I want a 5 second pause before showing a second card: https://i.imgur.com/jFxhNDS.png And another 5 ...
- Sun Oct 29, 2017 7:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can I blit onto an imagemap?
- Replies: 6
- Views: 1019
Re: Can I blit onto an imagemap?
Good ideas! Thank you all. I wouldn't have thought of ImageMagick, but it would do the job nicely. Is there a pure Python implementation? I'm not sure what I'd have to do to bundle it. Putting a screen over the hotspot works, but I still need several different images for each area. Tooltips are an i...
- Sat Oct 28, 2017 2:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can I blit onto an imagemap?
- Replies: 6
- Views: 1019
Can I blit onto an imagemap?
Let's start with the "Why" of it: I have a navigation screen. It's basically circles with connectors and a label for each area. https://i.imgur.com/S5T2chd.png But when you hover you get more detail about the area. https://i.imgur.com/LbkBB9X.png The thing is, the station starts off needin...
- Tue Oct 24, 2017 5:09 pm
- Forum: Ren'Py Cookbook
- Topic: A Location Manager
- Replies: 1
- Views: 3276
Re: A Location Manager
Got a rather better version of that together. Uses a loop to generate the menu as well as labels based on the location code. Handles locked doors and hidden passages as before. And there's a sample project with a five room layout to demo how it works. I hope someone finds it useful. I updated the fi...
- Tue Oct 24, 2017 4:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: Best way to wait for user input?
- Replies: 5
- Views: 4116
Re: Best way to wait for user input?
Yes, I get it. But if it gets to the end of a section of narrative, it runs off the end of that and onto the next one. If I jump it somewhere else, it continues down the file looking for narrative to display. I need a way to get it to stop talking and wait for a button press. I was curious how other...
- Tue Oct 24, 2017 4:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: Best way to wait for user input?
- Replies: 5
- Views: 4116
Best way to wait for user input?
One thing I've noticed is that, left to it self, Renpy runs off the end of the current scene and straight into the next one. Which is very useful if you're doing a pure VN of course, but if your project is driven by screen interaction, you need to suspend the narrative until the player clicks on som...
- Mon Oct 23, 2017 9:47 am
- Forum: Ren'Py Cookbook
- Topic: A Location Manager
- Replies: 1
- Views: 3276
A Location Manager
I'm writing code where the player explores a space station. As usual with these things, there are locked doors, hidden passages and the like. And I've been getting into all manner of mess trying to keep track of where the player is, how many times he's been there, whether a passage is usable or not....
- Sat Oct 21, 2017 5:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help writing a Messagebox/Alert dialog
- Replies: 2
- Views: 1008
Re: Help writing a Messagebox/Alert dialog
Thanks, I'll try those.
(I figured that None as an action probably wasn't right. I just couldn't work out what was right )
(I figured that None as an action probably wasn't right. I just couldn't work out what was right )
- Sat Oct 21, 2017 3:33 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help writing a Messagebox/Alert dialog
- Replies: 2
- Views: 1008
Help writing a Messagebox/Alert dialog
Is there an easy way of doing a popup message with an "OK" button or similar? I tried writing my own. screen ahem(msg): modal True side 'c': vbox: text _("{b}Ahem!{/b}") text _(msg) textbutton _("Gotcha") action None That's broken in a number of interesting ways. I know...
- Sat Oct 21, 2017 2:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Aliasing images
- Replies: 0
- Views: 321
Aliasing images
In the interests of making work for myself, I'm allowing the player to choose their gender, and then pick a face. (Well, I only have one face for each at the moment, but soon!) Anyway, I have a lot of images kicking around and I need to check gender each time I want to manipulate one. That's only go...