Search found 611 matches

by Per K Grok
Fri Feb 21, 2020 2:00 am
Forum: Ren'Py Questions and Announcements
Topic: Imagemap not showing up.
Replies: 6
Views: 187

Re: Imagemap not showing up.

So what am I doing wrong, or is the code out of date or something similar?[/b] You are not following the model in the cookbook example. In that example you first define the screen. Then your game code starts, and in that code the screen is called. What you are doing is that you define the screen in...
by Per K Grok
Thu Feb 20, 2020 2:07 am
Forum: Ren'Py Questions and Announcements
Topic: Label starts in the middle
Replies: 5
Views: 144

Re: Label starts in the middle

hapciupalit wrote:
Wed Feb 19, 2020 3:17 pm
---
I got one more question. Won't many ifs screw the performance? If for example I have a chat of 100 lines.
Writing those lines will probable be boring and tiring for you, but no problem for the computer to handle. :D
by Per K Grok
Wed Feb 19, 2020 1:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Label starts in the middle
Replies: 5
Views: 144

Re: Label starts in the middle

Is it possible to create a way for the label to skip seen parts of a label? I'm doing a chat system and you can exit anytime you want and open it the same way. My problem is that everytime I open the chat label it starts from the beginning. I'm thinking on adding some id's to each of the lines or s...
by Per K Grok
Fri Feb 14, 2020 4:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Simple Mailbox Using persistent data [HELP]
Replies: 1
Views: 168

Re: Simple Mailbox Using persistent data [HELP]

I've seen other's using a similar mail box function but none of those save the letters in your indox after exiting the game. I've tried using it myself by adjusting the code a bit, even after reloading and exiting the game, the mail box is empty again. How do I make the messages save using persiste...
by Per K Grok
Wed Feb 12, 2020 2:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Rename the M.C. in the preferences menu?
Replies: 1
Views: 191

Re: Rename the M.C. in the preferences menu?

Hello! At the beginning of my game, the player has the option to rename the main character according to this code: menu .name: "Your current name is [mc]." "Change name": $ mc = renpy.input("What's your name? (2-10 characters)", allow=" 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", length...
by Per K Grok
Wed Feb 12, 2020 1:44 pm
Forum: Ren'Py Questions and Announcements
Topic: Making a pop-up screen to show statistics
Replies: 5
Views: 339

Re: Making a pop-up screen to show statistics

Thanks for replying gas. Unfortunately I have never used quick menu and I don't know where to start. I thought I could copy from a thread like this - https://lemmasoft.renai.us/forums/viewtopic.php?t=40657 but it all looks strange to me and I think I will just get myself into trouble :( I appreciat...
by Per K Grok
Wed Feb 12, 2020 1:21 pm
Forum: Ren'Py Questions and Announcements
Topic: user input on 3x3 tic tac toe board?
Replies: 4
Views: 267

Re: user input on 3x3 tic tac toe board?

Basically, I want for the player to make 9 different text inputs before being presented with a screen that has randomly assigned those variables to spaces on the board. ----- OK, I'm still unsure where you are going with this, but I can give you something to start with. The code below will let you ...
by Per K Grok
Tue Feb 11, 2020 2:40 pm
Forum: Ren'Py Questions and Announcements
Topic: [help] inventory with images
Replies: 4
Views: 218

Re: [help] inventory with images

Thank you very much now the problem I have is that the items in the inventory come out anywhere, do you know any way of putting in what positions they can appear? I did a test-run of the code and it seems to work fine. I think that you might not understand what the code does. Therefore you do not k...
by Per K Grok
Mon Feb 10, 2020 4:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [help] inventory with images
Replies: 4
Views: 218

Re: [help] inventory with images

Hello sorry for the inconvenience someone would tell me how I make this inventory be with images, that objects appear with images, not in the form of text. Thank you very much. --------------------------------------------------------------------------------------------------------------------------...
by Per K Grok
Mon Feb 10, 2020 1:22 pm
Forum: Ren'Py Questions and Announcements
Topic: user input on 3x3 tic tac toe board?
Replies: 4
Views: 267

Re: user input on 3x3 tic tac toe board?

Hi, I'm quite new to programming with Ren'py but am working on a to-do 'game' where the user inputs what they want to do on each square of a tic tac toe grid. Once entered, the game will randomly select what the user should do next. I know the baseline of what I need is all in just having the playe...
by Per K Grok
Sun Feb 09, 2020 4:38 am
Forum: Ren'Py Questions and Announcements
Topic: Does not expect a block
Replies: 1
Views: 305

Re: Does not expect a block

..... I would like to get it working once before putting it aside. Indenting is not the problem. The 'jump to different label' should not be in your definition of the layered image at all. Defining a layered image will not in itself show the image. You need a separate command for that. try this lay...
by Per K Grok
Sat Feb 08, 2020 8:44 am
Forum: Ren'Py Questions and Announcements
Topic: Creating a group
Replies: 3
Views: 344

Re: Creating a group

I want to create layered image characters, but can't find how to make the group in the first place. If I want to make a new image I add (for example) image r = 'characters/robin.png' to my image.rpy file. I assumed it might be similar to this, adding something like: group r = 'characters/robin/body...
by Per K Grok
Sat Feb 08, 2020 7:12 am
Forum: Ren'Py Questions and Announcements
Topic: After video ends, it flashes to a previous scene's picture before going to the next scene.
Replies: 3
Views: 330

Re: After video ends, it flashes to a previous scene's picture before going to the next scene.

How do I fix this problem of after a video in the code ends, it flashes to a previous scene's picture for a sec before moving on to the scene? The coding looks like this: scene room with Dissolve (.5) #Character speak and a few lines later image faint = Movie(play="faint.webm", pos=(0, 0), anchor=(...
by Per K Grok
Sat Feb 08, 2020 4:01 am
Forum: Ren'Py Questions and Announcements
Topic: Question - How read all character declared for make a drop-down menu on automatic script [SOLVED]
Replies: 10
Views: 468

Re: Question - How read all character declared for make a drop-down menu on automatic script

The idea also, part of the principle, of creating modular and reusable code, that is, that it can be used or adapted to other games easily. Again thank you for the time spent In case the problem is not yet solved. I'm still not clear on what you want to do. This code will make something like a drop...