Search found 2515 matches

by Alex
Fri Sep 18, 2020 3:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Resize an Image turns it invisible
Replies: 2
Views: 47

Re: Resize an Image turns it invisible

Try 'zoom', like

Code: Select all

show BPer:
    pos (1030, 100)
    zoom 0.5
https://www.renpy.org/doc/html/atl.html ... perty-zoom
by Alex
Thu Sep 17, 2020 2:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to make mouse positions work?
Replies: 3
Views: 45

Re: How to make mouse positions work?

The problem might be due to you actually not hiding all those "la1", "la2", "la3", etc. screens.

Code: Select all

screen la1:
    if la1 == True:
        timer 0.5 action Hide("laa"), Jump ("Next_Label") #< ---
(all screens hide the "laa" screen)
by Alex
Mon Sep 14, 2020 2:11 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] fading effect starting from the top?
Replies: 4
Views: 135

Re: fading effect starting from the top?

Not quite understand what you want to achieve... Do you need a laser beam image to move over the screen? Or custom fade transition to change images (backgrounds and sprites)? For the first one check the docs for ATL - https://www.renpy.org/doc/html/atl.html and tutorial game. For the second - this t...
by Alex
Tue Sep 08, 2020 3:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Error message when image button hovered (hovered instead of hover)
Replies: 2
Views: 95

Re: "TypeError: 'ImageReference' object is not callable" when image button is hovered

Tojaw wrote:
Tue Sep 08, 2020 3:24 pm
... That is surprising, considering that the hovered image and the idle image are the same. Does anyone have an idea?
The thing is that 'hovered' is an action to run when button is hovered. Try 'hover' instead.
https://www.renpy.org/doc/html/screens.html#imagebutton
by Alex
Tue Sep 08, 2020 2:06 pm
Forum: Ren'Py Cookbook
Topic: Simple minigames (Screen Language only).
Replies: 97
Views: 49085

Re: Simple minigames (Screen Language only).

Hello! thank you for the wonderful codes! I have a question, how do you make the enemy in group battle heal themselves instead of attacking the player? Like they can choose to attack you or heal themselves when it's their turn. Is that possible? thanks! Edit: I also want to know how to use my turn ...
by Alex
Sat Sep 05, 2020 9:05 am
Forum: Ren'Py Questions and Announcements
Topic: Jigsaw minigame problem
Replies: 4
Views: 173

Re: Jigsaw minigame problem

jamesm80 wrote:
Sat Sep 05, 2020 5:43 am
Thanks, I looked into it, but is not exactly what I'm looking for.
Some more links...))
viewtopic.php?f=8&t=53537#p503894
viewtopic.php?f=8&t=58381&p=526695#p526695
by Alex
Sat Sep 05, 2020 2:39 am
Forum: Ren'Py Questions and Announcements
Topic: Jigsaw minigame problem
Replies: 4
Views: 173

Re: Jigsaw minigame problem

SusanTheCat have made a jigsaw-puzzle game out of that example - viewtopic.php?f=51&t=16151#p209837

You can try modifyed version of it - viewtopic.php?f=51&t=16151#p294340
by Alex
Sat Sep 05, 2020 2:32 am
Forum: Ren'Py Questions and Announcements
Topic: Composite images for an in-game submenu
Replies: 2
Views: 129

Re: Composite images for an in-game submenu

I'm wanting to add a smartphone in my game as an in-game menu that the player can interact with. By choosing one of the apps on the phone, the screen of the phone will change to display additional buttons/options. In order to do this though, I need a way to display images within the existing phone ...
by Alex
Fri Sep 04, 2020 3:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Custom Screen parts don't align properly
Replies: 3
Views: 109

Re: Custom Screen parts don't align properly

You've set xpos and ypos for a viewport - try to set them for the frame instead.
by Alex
Tue Sep 01, 2020 8:59 am
Forum: Ren'Py Questions and Announcements
Topic: RenPy Animation vs .mov
Replies: 2
Views: 180

Re: RenPy Animation vs .mov

You should see the difference if you'll try to show animation out of 20-30 fullscreen-size images...;)
by Alex
Fri Aug 28, 2020 3:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Dialog locks with viewport screen
Replies: 6
Views: 190

Re: Dialog locks with viewport screen

Asmodeev wrote:
Thu Aug 27, 2020 7:03 pm
...So if I don't find better solution or this bug will not be fixed, key "dismiss" action Return() will do the work.
"It's not a bug - it's a feature" (c)
Imagine, you trying to drag the viewport but the game determines your click as a "dismiss" and advances through the game.
by Alex
Thu Aug 27, 2020 5:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Dialog locks with viewport screen
Replies: 6
Views: 190

Re: Dialog locks with viewport screen

Well, then you could make a button onscreen to advance through the game (instead of just click anywhere on screen).

Code: Select all

textbutton "Next" action Return()
by Alex
Thu Aug 27, 2020 2:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Clicking a button and showing a fullscreen image.
Replies: 2
Views: 185

Re: Clicking a button and showing a fullscreen image.

Try something like screen my_gallery_scr(): vbox: align (0.5, 0.5) imagebutton: idle "some_portrait_img_1" action Show("my_img_scr", img = "image_one") imagebutton: idle "some_portrait_img_2" action Show("my_img_scr", img = "image_two.png") textbutton "Close" action Hide("my_gallery_scr") # or actio...
by Alex
Thu Aug 27, 2020 2:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Dialog locks with viewport screen
Replies: 6
Views: 190

Re: Dialog locks with viewport screen

Asmodeev wrote:
Wed Aug 26, 2020 9:05 pm
... So if this behavior is avoidable — any advice is appreciated
Try to add rather wide scrollbar at the right side of your viewport to let player scroll the viewport instead of drag it.
by Alex
Fri Aug 07, 2020 3:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Unwanted screen appearing when rolling back. How to exclude things from rollback?
Replies: 3
Views: 366

Re: Unwanted screen appearing when rolling back. How to exclude things from rollback?

zombiehead wrote:
Tue Jul 28, 2020 1:28 pm
...Upon rolling back, the screen is shown again and gets stuck there. ...
Just a thoughts:
- wait 2 seconds to see if the notification screen will hide,
- try to add 'repeat True' parameter for the timer.