Search found 644 matches

by Per K Grok
Sat Feb 08, 2020 8:44 am
Forum: Ren'Py Questions and Announcements
Topic: Creating a group
Replies: 3
Views: 387

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: 379

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: 527

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...
by Per K Grok
Fri Feb 07, 2020 4:50 pm
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: 527

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

Good morning Thank you for accepting me into the community. I'm learning renpy, to help my children (10 and 13 years old) who are learning renpy. I come to you with the question, "Ho I can do a reading of the list of variables declared as characters " , this with the purpose of saving them in a lis...
by Per K Grok
Fri Feb 07, 2020 4:03 pm
Forum: Ren'Py Questions and Announcements
Topic: sound effect for text dialogue, audio file cannot be found
Replies: 1
Views: 331

Re: sound effect for text dialogue, audio file cannot be found

I'm trying to play a blip sound effect while a character is speaking and I used part of the renpy code here https://www.renpy.org/doc/html/character_callbacks.html?highlight=callback init python: def voicefont(event, **kwargs): if event == "show_done": renpy.sound.play("sf_beep.wav") elif event == ...
by Per K Grok
Sun Feb 02, 2020 3:20 pm
Forum: Ren'Py Questions and Announcements
Topic: In-game menu problem
Replies: 3
Views: 304

Re: In-game menu problem

bambino358 wrote:
Sun Feb 02, 2020 8:38 am
Hi,
I have a problem with in-game menu.
--------
--------

Is there a way how to change menu choices imediately when I close screen?

Thank you

If you in the screen action also include a jump to the start of the menu, that should update the content of the menu.
by Per K Grok
Sat Jan 25, 2020 3:09 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] style / font change
Replies: 2
Views: 252

Re: style / font change

Hello, good day everyone, i need some help. Is it real, to make one textbutton in another style than other? i mean to change font, size and color of it? i tried to write in gui.rpy something like that: style one: font "fonts/iink.ttf" and than in the screens.rpy i wrote textbutton "name" (some posi...
by Per K Grok
Sun Jan 19, 2020 5:33 pm
Forum: Ren'Py Questions and Announcements
Topic: How to 'stop' game when I show player interactivemap?
Replies: 7
Views: 278

Re: How to 'stop' game when I show player interactivemap?

Hello. So, we got this: player read some text, and then in corner of screen appear button "Map" . Untill player click this button, game mustnt end, and no other text must appear (at least I try make it like this). Whats best way to solve this problem? I would use $ renpy.pause(hard=True) though tha...
by Per K Grok
Wed Jan 15, 2020 4:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Clicker minigame?
Replies: 1
Views: 249

Re: Clicker minigame?

Hello, I was wondering if anyone knows a code where you consistently press a key on your keyboard to fill up a meter (shown on screen). Like a minigame in order to finish. PS. I checked the primitive clicker code found here on the forum but it's not working and not updated. Thanks for those who hel...
by Per K Grok
Tue Jan 14, 2020 1:34 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Coding for menu is breaking the game, and I would like to know why.
Replies: 3
Views: 265

Re: Coding for menu is breaking the game, and I would like to know why.

Hi, I am having a massive problem with my menus. I was adding in a menu, the first menu worked perfectly fine and I was adding in a second menu before that manage to break the entire game. Not only that, when I took out the menu it kind of wrecked the working menu and now the game cannot work any m...
by Per K Grok
Sat Jan 11, 2020 1:57 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Change color of name/label in History window
Replies: 2
Views: 192

Re: Change color of name/label in History window

Hello, I'm looking for a way to change the color of the names in my History window, independently from my default name color. Do you guys know a way to do it please? Open 'screens.rpy' Find 'screen history():' Find ## Take the color of the who text from the Character, if ## set. if "color" in h.who...
by Per K Grok
Thu Jan 09, 2020 1:52 am
Forum: Ren'Py Questions and Announcements
Topic: Playing music file over movie
Replies: 2
Views: 232

Re: Playing music file over movie

leviathanimation wrote:
Wed Jan 08, 2020 10:13 pm
I put music in my main menu and after that, there is a movie file (.mpg) playing. I would like the music of the menu to play over it but when the movie starts, the music just stops and restarts after the video ends.
$ renpy.movie_cutscene("movies/Landing2.mpg", stop_music=False)
by Per K Grok
Mon Jan 06, 2020 5:52 pm
Forum: Ren'Py Questions and Announcements
Topic: (SOLVED!) Livecomposite Minigame - Random Rewards on Click
Replies: 4
Views: 350

Re: Livecomposite Random Rewards on Click (Minigame)

Hi all! I'm still a self-taught going-on-intermediate coder and I'm not quite at my wit's end. What I've built so far as been from researching the documentation and youtube videos, and I'm at the point where I'd like to ask for some insight. I could be looking in the wrong places or using the wrong...
by Per K Grok
Fri Jan 03, 2020 6:57 am
Forum: Ren'Py Questions and Announcements
Topic: pin point precision and sprite placement
Replies: 5
Views: 384

Re: pin point precision and sprite placement

I am working on a mini game and would like to match my sprite placement to predetermined screen coordinates that I have figured out from a background image. unfortunately the coordinates on the image don't match those on the image . there appear to be MARGINS that such that renpy seems to insist th...
by Per K Grok
Tue Dec 31, 2019 2:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Multiple stat based endings not working?
Replies: 2
Views: 256

Re: Multiple stat based endings not working?

Hello, I'd like to start off and say that I have four different meters in my horror/thriller game. Now that I've reached the ending, I keep getting sent to the first ending regardless of what code I use and how many points the player has. The first attempt was this: label endingdecide: if life >= 6...