Search found 762 matches

by Per K Grok
Thu Jul 16, 2020 1:08 am
Forum: Ren'Py Questions and Announcements
Topic: Need help
Replies: 4
Views: 115

Re: Need help

First than anything, sorry for the super generic title but I really don't know how to name this problem. If a mod/staff can think of a better name and rename it then please go ahead. I'm want to show a different imagebutton depending on what part of the story the player is. My code is this . . . el...
by Per K Grok
Thu Jul 16, 2020 12:42 am
Forum: Ren'Py Questions and Announcements
Topic: Timed Conversations
Replies: 3
Views: 288

Re: Timed Conversations

Hello, I want to implement a limited amount of time for my characters to interact. For example, my two characters will have a conversation during lunch and when the time runs out it will jump into a scene like "Oh. Class is starting. We should head back." Stopping their conversation, making you mis...
by Per K Grok
Sun Jul 12, 2020 12:59 am
Forum: Ren'Py Questions and Announcements
Topic: How do I properly place an if statement under an if statement?
Replies: 1
Views: 234

Re: How do I properly place an if statement under an if statement?

menu: "Walk around": if playerenergy >= 35: $ playerenergy -= 35 if playerenergy <= 0: $ playerenergy = 0 jump expression renpy.random.choice( ["coco", "mandy", "cocomandy"] ) else: "You don't have enough energy." call beach I want the player to only be able to "walk around" if they have 35 energy,...
by Per K Grok
Sat Jul 11, 2020 1:08 am
Forum: Ren'Py Questions and Announcements
Topic: adding screens to vbox
Replies: 2
Views: 216

Re: adding screens to vbox

I'm trying to use vboxes, but they're only useful if I can add screens to them. When I try to add a screen it tells me 'screen' is not a valid child, and when I search for a list of vbox children I can't find one. Is there any way to add screens to a vbox or grid? If not, is there a way to anchor a...
by Per K Grok
Wed Jul 01, 2020 9:30 am
Forum: Ren'Py Questions and Announcements
Topic: Menu buttons have individual styles
Replies: 3
Views: 302

Re: Menu buttons have individual styles

I was wondering for the choice many how can I make a button different? For example, if one of the choices was a "judgement" stat dice roll (to unlock a possible path) how would I be able to change the colour or button background by defining it as a special button? You could try this menu: "This is ...
by Per K Grok
Fri Jun 26, 2020 11:58 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Videos and Jumps
Replies: 2
Views: 441

Re: Videos and Jumps

I have a bit of an interesting problem that I'm still trying to work out right now. I'm working on another game that involves using just video clips as opposed to images and for the most part... it works fine. The problem comes when implementing a gallery/scene replay option in the game. Since ther...
by Per K Grok
Fri Jun 26, 2020 11:46 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Why my game doesn't work when I save/load it ?
Replies: 11
Views: 806

Re: Why my game doesn't work when I save/load it ?

@ Per K Grok Thamks for your code. It must have taken you a while ! My problem is that's just a small part of my code. In reality, it is larger with a lot of functions like a timer to create and upgrade the buildings, functions to destroy them and rebuild it... And I have a plenty of different buil...
by Per K Grok
Fri Jun 26, 2020 11:25 am
Forum: Ren'Py Questions and Announcements
Topic: Slideshow animation on start menu
Replies: 3
Views: 649

Re: Slideshow animation on start menu

Hey guys, I was wondering if any of you guys know how to set up a slide show on the start menu instead of the static picture that you usually just put there. I mean the renpy coding part. Please help me out here guys. Thank you so much in advance! make an animated image in the script file like this...
by Per K Grok
Fri Jun 26, 2020 11:09 am
Forum: Ren'Py Questions and Announcements
Topic: scene not appearing.
Replies: 2
Views: 354

Re: scene not appearing.

Hello, i Just started making my first game with Ren'Py. I have 2 backgrounds in my code. one named "room1" and the other is called "factory". I'll show my code below. label start: scene room1 show pillowgirl1 with vpunch g "hello" scene factory when i play it in Ren'Py it just shows everything up u...
by Per K Grok
Wed Jun 24, 2020 11:27 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Why my game doesn't work when I save/load it ?
Replies: 11
Views: 806

Re: Why my game doesn't work when I save/load it ?

----- I tried your new code and actually it fixes the bug "cant open the panel when I click on the building". But when I save/load the game and I click on a empty place to build a new building, I can open the "constructable_buildings_screen" which list all the buildings available but when I click o...
by Per K Grok
Tue Jun 23, 2020 2:36 pm
Forum: Ren'Py Questions and Announcements
Topic: What do I have to do to make a screen to behave like quickmenu
Replies: 2
Views: 362

Re: What do I have to do to make a screen to behave like quickmenu

HI, ok, the subject is maybe a little confusing but I didn't know how to ask with a short question another way. I'm working on a gui for a game I want to make (VN Style). In the moment I have the problem that I'm designing a status area that I want to behave a little like the quick menu. 1. appear ...
by Per K Grok
Tue Jun 23, 2020 12:39 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Why my game doesn't work when I save/load it ?
Replies: 11
Views: 806

Re: Why my game doesn't work when I save/load it ?

Hi everyone In my game, the player can create a mini city like in the Travian Game (he clicks on an area and decides which building he wants build). You have an imagemap with some hotspot. When you click on them, it opens a a screen listing some buildings you can build (as image button). Click on a...
by Per K Grok
Mon Jun 22, 2020 4:51 pm
Forum: Ren'Py Questions and Announcements
Topic: In-game Timer
Replies: 4
Views: 327

Re: In-game Timer

you could try this... This is perfect, thanks! But now I want to be able to stop the timer when the user presses a button on screen. I tried to place an if statement around it and have a textbutton setvariable, but the timer only stops behind the scenes and keeps going on screen. Any tips on how to...
by Per K Grok
Mon Jun 22, 2020 12:50 am
Forum: Ren'Py Questions and Announcements
Topic: In-game Timer
Replies: 4
Views: 327

Re: In-game Timer

Heyo! I'm trying to make an in-game timer that shows the time the user has played and formatted like hours:minutes:seconds. I know I need a dynamic displayable to show it but I cant get it working. Any ideas? Thanks! you could try this default hours=0 default minutes=0 default seconds=0 screen time...
by Per K Grok
Sat Jun 20, 2020 2:21 am
Forum: Ren'Py Questions and Announcements
Topic: Integrate youtube videos?
Replies: 6
Views: 320

Re: Integrate youtube videos?

Hi, how can i integrate a youtube video in RenPy WITHOUT downloading the video? (You know copyright) And if theres no internet connection it shouldnt bring a error message. I try figuring it out for some time but only fails.. Of corse i need to resize and position it :) Hope anyone can help me with...