Search found 673 matches

by Per K Grok
Mon May 25, 2020 9:33 am
Forum: Ren'Py Questions and Announcements
Topic: Imagemap or what?
Replies: 3
Views: 56

Re: Imagemap or what?

So guys, I have a question In my game I want a character in the mid of the screen, but also, I want that on click on the character it opens a menu with choices and I don't know what's the best way to do that, imagebutton, imagemap? The image has a transparent png background You can do this with a p...
by Per K Grok
Mon May 18, 2020 5:52 am
Forum: Ren'Py Questions and Announcements
Topic: Text bubbles based on type and position?
Replies: 1
Views: 119

Re: Text bubbles based on type and position?

I want to have text bubbles where I also will keep the standard text box (the default one) when there are instructions. There will be three types of text bubble forms - while speaking, screaming, thinking. And the position will be "fixed" mostly I want to create 8 different position (lets say my mo...
by Per K Grok
Sun May 10, 2020 1:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Arcs unimplemented? (geometry)
Replies: 1
Views: 135

Re: Arcs unimplemented? (geometry)

Hi all. I'm trying to create a pie chart. I started by following the Creator-Defined Displayables example and managed to get a circle drawn to the screen with a custom displayable using canvas.circle(...). Then I tried canvas.arc(...), but I get an exception that says error: Not Implemented. Is the...
by Per K Grok
Wed May 06, 2020 5:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Call a function in RenPy
Replies: 6
Views: 161

Re: Call a function in RenPy

Thank you :D def hello_world(): "Hello World" hello_world() But why If I do something like in the upper code, I can't get the text in Dialogue box? :( try def hello_world(): renpy.say(None, "Hello world") https://www.renpy.org/doc/html/statement_equivalents.html?highlight=renpy%20say#renpy.say
by Per K Grok
Tue May 05, 2020 4:38 pm
Forum: Creator Discussion
Topic: Non-VN gameplay: pygame or other lib?
Replies: 1
Views: 470

Re: Non-VN gameplay: pygame or other lib?

Hello! What is the best way today to implement alternate gameplays in a Ren'Py VN? (not talking about doing a full arcade game with it... but to have VN phases alterning with more tactics gameplays, for example) Are there any natural links between Ren'Py and some libs like Pygame, Pyglet, and so on...
by Per K Grok
Wed Apr 29, 2020 1:02 am
Forum: Ren'Py Questions and Announcements
Topic: Change the position of the text box for a specific character
Replies: 1
Views: 125

Re: Change the position of the text box for a specific character

So, for one character I want to see the textbox displayed in the middle of the screen, the textbox for now will be the stock one in Renpy. I've seen a bunch of posts going about the position of Name boxes, but the text box position is not clear for me, I saw one posts where they edited the screens ...
by Per K Grok
Tue Apr 28, 2020 4:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Adding a namebox image to the history screen
Replies: 7
Views: 171

Re: Adding a namebox image to the history screen

Thanks, that got the images in there and alternating properly. Though now everything's misaligned: historyexample2.png How would I go about getting everything lined up to where it's supposed to be? ----- I think you could fix that by adding a top and left margin to this line frame background None b...
by Per K Grok
Tue Apr 28, 2020 2:21 pm
Forum: Ren'Py Questions and Announcements
Topic: How do you get mp4 files to play in game?(Solved)
Replies: 4
Views: 182

Re: How do you get mp4 files to play in game?

I'm trying to get a few cut scenes involving mp4 files to play, I try looking up this up in the wiki but I don't quiet fully understand how it works. Do I set up a "movie" in the start label and put a "play" command when I get to the scene, or is there some kind special command for it? Thank you in...
by Per K Grok
Tue Apr 28, 2020 2:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Adding a namebox image to the history screen
Replies: 7
Views: 171

Re: Adding a namebox image to the history screen

Now for the next issue here. For my GUI, I have a pair of images that are supposed to be seated behind the speaker's name (when there is one) in the History screen, alternating with every other speaker: history_name1.png history_name2.png And the finished product is supposed to look like this: 4-3 ...
by Per K Grok
Sun Apr 26, 2020 11:00 am
Forum: Ren'Py Questions and Announcements
Topic: defining with textbutton
Replies: 1
Views: 151

Re: defining with textbutton

hey guys im trying to define whether the choice in a text button is False or True, but the way I set it up has me stumped. This could be a way of doing it. define trivia_question=[["Where's my dog","Tavern","Home","Garden", 3], ["Where's my mom","Park","School","Living Room", 2]] screen trivia_scre...
by Per K Grok
Fri Apr 24, 2020 2:09 pm
Forum: Ren'Py Cookbook
Topic: color map [update 2020-04-24]
Replies: 3
Views: 717

Re: color map [update 2020-04-24]

update in OP :)
by Per K Grok
Fri Apr 24, 2020 1:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem saving after using im.load_surface
Replies: 2
Views: 143

Re: Problem saving after using im.load_surface

Hello there. I encountered a saving error when I tried using "im.load_surface" function. ------ Any help is appreciated! OK. So I see you have been using my colormap code. I was surprised to see this problem. I has been using this code in my wip game for months. Surely I must have made a save or tw...
by Per K Grok
Sun Apr 19, 2020 1:08 am
Forum: Ren'Py Questions and Announcements
Topic: Affect ypos in image definition?
Replies: 1
Views: 161

Re: Affect ypos in image definition?

I'm still a beginner, and the positioning in this game has been giving me hell lately. I use a series of defined placement transforms to place my characters, which includes a zoom transform so I can get them the right size while allowing them to be bigger so they can look good up close as well. I r...
by Per K Grok
Fri Apr 17, 2020 3:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Adding persistent data to images [SOLVED]
Replies: 11
Views: 473

Re: Adding persistent data to images [HELP]

Basicly, this is used the group the image items as one displayable image: def draw_girl(st, at): #Scales, positioned, and combine the dressup items into one displayable return LiveComposite( (0, 0), (0, 0), im.FactorScale("base.png", 1.5, 1.5), (80, 468), im.FactorScale("skin%d.png"%skin, 1.5, 1.5)...