Search found 21 matches

by andriodmactemporary
Thu Jul 29, 2021 9:07 am
Forum: Ren'Py Questions and Announcements
Topic: Regards Changing Background Scene Using Python
Replies: 3
Views: 194

Re: Regards Changing Background Scene Using Python

Thanks for the reply, but how can I achieve renpy.show(filename) instead of defining "image bg image"
by andriodmactemporary
Wed Jul 28, 2021 8:44 am
Forum: Ren'Py Questions and Announcements
Topic: Regards Changing Background Scene Using Python
Replies: 3
Views: 194

Regards Changing Background Scene Using Python

We could change the background scene with Renpy by using "scene bg image", but how to attain this functionality using Python?

Thanks in Advance.
by andriodmactemporary
Sun May 30, 2021 6:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with phone messaging system
Replies: 0
Views: 1173

Help with phone messaging system

I have created a messaging system in which each message is displayed with an HBOX, and messages are stored in a dictionary field of array type data structure. Whenever I want to add a new message, I will append that message to the dictionary field array. Then due to for loop messages hbox's will be ...
by andriodmactemporary
Thu May 13, 2021 10:25 am
Forum: Ren'Py Questions and Announcements
Topic: Regards Python execution pause for a certain amount of seconds
Replies: 6
Views: 885

Re: Regards Python execution pause for a certain amount of seconds

Can you replace it with a series of one-line Python statements (and use renpy.pause) and check if it fixes the problem. IIRC python blocks are considered single statement, so there could be your problem. No use, the same problem is occurring it is waiting entirely for 6 seconds and redrawing the sc...
by andriodmactemporary
Thu May 13, 2021 4:58 am
Forum: Ren'Py Questions and Announcements
Topic: Regards Python execution pause for a certain amount of seconds
Replies: 6
Views: 885

Re: Regards Python execution pause for a certain amount of seconds

Ocelot wrote:
Wed May 12, 2021 2:45 pm
Is this a part of function or just written in script? Is it a part of a single Python statement?
It is wrapped under python block.
by andriodmactemporary
Tue May 11, 2021 4:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Regards Python execution pause for a certain amount of seconds
Replies: 6
Views: 885

Re: Regards Python execution pause for a certain amount of seconds

Well, this code actually works exactly as you want. If you were to inspect list values you would see that they are exactly what you would expect at any given moment. What you really see is that you probaly do not see any screens redrawing. This is because nothing in the code is telling RenPy "user ...
by andriodmactemporary
Tue May 11, 2021 2:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Regards Python execution pause for a certain amount of seconds
Replies: 6
Views: 885

Regards Python execution pause for a certain amount of seconds

Here from the code how to pause the code execution for a certain amount of seconds after each line of execution. If I employ this method program combining all the seconds (2+2+2 = 6 seconds) and pausing the program only once for 6 seconds. But, I need to pause the program 2 seconds after appending a...
by andriodmactemporary
Wed Apr 07, 2021 8:54 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Regards view of view box
Replies: 2
Views: 291

Re: (Solved) Regards view of view box

https://i.ibb.co/PjSXZHV/Capture.png Here has shown in the image, how can I take the view of the viewport scroll to the end when I enter the screen which contains that respective viewport every time? Set the yinitial property of the viewport to 1.0, like viewport id "vp": draggable True yinitial 1....
by andriodmactemporary
Wed Apr 07, 2021 8:45 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Regards vpgrid with indefinite children sizes
Replies: 8
Views: 439

Re: (Solved) Regards vpgrid with indefinite children sizes

Ocelot wrote:
Tue Apr 06, 2021 11:27 am
has vbox is just a shorthand for writing vbox: and indenting everything below one level. Also I was bored and made message window autoscroll to the bottom when new message is added. Post if you need it.
Thanks a lot for the clarification, also, I have logic for auto-scrolling so, thanks.
by andriodmactemporary
Tue Apr 06, 2021 9:44 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Regards view of view box
Replies: 2
Views: 291

(Solved) Regards view of view box

Image

Here has shown in the image, how can I take the view of the viewport scroll to the end when I enter the screen which contains that respective viewport every time?
by andriodmactemporary
Tue Apr 06, 2021 9:19 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Regards vpgrid with indefinite children sizes
Replies: 8
Views: 439

Re: Regards vpgrid with indefinite children sizes

You can place viewport anywhere with any size, including in the corner of the screen. Internally vpgrid is literally a viewport, if you couldn't do something with viewport, you wouldn't be able to do this with vpgrid. And if you add vbox with all messages (dynamically filled) it will have scrollbar...
by andriodmactemporary
Mon Apr 05, 2021 4:59 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Regards vpgrid with indefinite children sizes
Replies: 8
Views: 439

Re: Regards vpgrid with indefinite children sizes

Ocelot wrote:
Mon Apr 05, 2021 4:50 pm
Why vpgrid? Why not viewport and vbox?
Can't use the viewport because it is being displayed at the corner of the screen.
Also, can't use vbox because I need a component with scrolling functionality because messages will be added dynamically.
by andriodmactemporary
Mon Apr 05, 2021 4:40 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Regards vpgrid with indefinite children sizes
Replies: 8
Views: 439

Re: Regards vpgrid with indefinite children sizes

Image

Here every message is of the same size, but when I insert an image (for ex, dimension of 128x128) in this vpgrid, that image is being overlapped on the messages.
by andriodmactemporary
Mon Apr 05, 2021 10:50 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Regards vpgrid with indefinite children sizes
Replies: 8
Views: 439

(Solved) Regards vpgrid with indefinite children sizes

How to create vpgrid which consists of children of different dimensions/sizes ?