Search found 36 matches

by Angelo Seraphim
Sun Feb 04, 2024 4:11 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved... for now] Problem with ATLs applied to say screen and SideImage
Replies: 4
Views: 576

Re: Problem with ATLs applied to say screen and SideImage

Update: Your suggestion works. Here's what I've done: screen say_text_box(): zorder -1 showif renpy.get_screen("say"): if persistent.dialogue_art_boxes: add "gui/textbox_shape_1.png": yalign 1.0 yoffset 90.0 at say_box_appear(0.075) add SideImage() align (0.5, 1.0) xpos -240 xanc...
by Angelo Seraphim
Sun Feb 04, 2024 2:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved... for now] Problem with ATLs applied to say screen and SideImage
Replies: 4
Views: 576

Re: Problem with ATLs applied to say screen and SideImage

Thank you for the reply. Yes, I suspect that the say screen is being hidden and shown every time the text changes. I do have config.window set to "auto", and I've tried setting it to "hide" to see if that changes anything, but got the same results. I do want to avoid using window...
by Angelo Seraphim
Sun Feb 04, 2024 10:44 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved... for now] Problem with ATLs applied to say screen and SideImage
Replies: 4
Views: 576

[Solved... for now] Problem with ATLs applied to say screen and SideImage

Hello all, I hope everyone is having a great day! I recently updated my project to the newest version of Ren'Py (8.2.0) Since using this version I have noticed some changes to the behaviour of ATLs. In short, the ATLs (transforms) are applied to elements in the say screen and the SideImage. However,...
by Angelo Seraphim
Mon Dec 12, 2022 5:14 am
Forum: Ren'Py Questions and Announcements
Topic: Font commercial use
Replies: 2
Views: 277

Re: Font commercial use

I think it should be fine. But if you have any doubts just copy (or download) the license and place it in a folder - perhaps a font folder in your game's directory.
by Angelo Seraphim
Sat Sep 03, 2022 3:07 am
Forum: Ren'Py Questions and Announcements
Topic: Using a function with text
Replies: 4
Views: 348

Re: Using a function with text

Hm... Maybe try something like this:

Code: Select all

init python:
    def test_func():
        return "something"
        ## However your function or class is set up.
... And then use the .format() method.

Code: Select all

 text "{}".format(Ava_stats.affeection())
See if that works for you.
by Angelo Seraphim
Sun Jun 27, 2021 7:13 am
Forum: Ren'Py Cookbook
Topic: (Persistent) Ren'Py Achievements w/ Download link
Replies: 7
Views: 4371

Re: Using Ren'Py Achievements and making them persist

In the class "__init__" method, you may want to provide a "fit" property to the "Transform", as the default ("fill") will mess with aspect ratios. "contain" avoids messing with aspect ratio, will use 100 for the big dimension and keep the other one ...
by Angelo Seraphim
Tue Mar 09, 2021 3:16 pm
Forum: Ren'Py Cookbook
Topic: Betatester mode
Replies: 2
Views: 2250

Re: Betatester mode

This is fantastic! Will definitely utilise this in my game. Great job!
by Angelo Seraphim
Mon Mar 01, 2021 4:26 pm
Forum: Ren'Py Cookbook
Topic: (Persistent) Ren'Py Achievements w/ Download link
Replies: 7
Views: 4371

Re: Using Ren'Py Achievements and making them persist

UPDATE 4th MARCH 2021 I've done a few more testing. There are times when the achievement is rewarded but doesn't show up in the achievement screen. The changes; For the __eq__ you can do; def __eq__(self, value): return all((self.name == value.name, self.message == value.message)) This seems to wor...
by Angelo Seraphim
Fri Feb 12, 2021 5:25 pm
Forum: Ren'Py Cookbook
Topic: (Persistent) Ren'Py Achievements w/ Download link
Replies: 7
Views: 4371

Re: Using Ren'Py Achievements and making them persist

UPDATE 12th FEB 2021 Okay, so I've figured out the problem. So, in the screen that displays the achievements, instead of: ## Granted trophies for t in Trophy.Trophies: ## Change this line... if achievement.has(t.name): ... ... do: ## Granted trophies for t in persistent.my_victories: ## ... to this...
by Angelo Seraphim
Fri Feb 12, 2021 12:00 pm
Forum: Ren'Py Cookbook
Topic: (Persistent) Ren'Py Achievements w/ Download link
Replies: 7
Views: 4371

Re: Using Ren'Py Achievements and making them persist

Thank you! :D From: https://www.youtube.com/watch?v=j89RDm0nNAs For all the trophy/achievement hunters. This took me a long time to figure out, but I'm happy to have got it working. If anybody is interested in learning how to create a persistent list I will create a simple walkthrough tutorial on t...
by Angelo Seraphim
Mon Feb 08, 2021 1:39 pm
Forum: Ren'Py Cookbook
Topic: (Persistent) Ren'Py Achievements w/ Download link
Replies: 7
Views: 4371

(Persistent) Ren'Py Achievements w/ Download link

Latest update (5 / JULY / 21) Hello, everyone! I've decided to make an achievement system using RenPy Achievements. :!: UPDATE (I figured it'd be easier to create a downloadable file including a short tutorial and the code.) :!: Here's a quick video of what it looks like in my game so you can get a...
by Angelo Seraphim
Mon Feb 08, 2021 8:51 am
Forum: Ren'Py Questions and Announcements
Topic: Character Moving Forward while Talking
Replies: 2
Views: 1131

Re: Character Moving Forward while Talking

Hi @GoingGoingKeith, Here's what I use in my game: init python: def stacey_callback(event, interact=True, **kwargs): if not interact: return ## Voice bleeps if event == "show_done": renpy.sound.play("audio/voice/stacey_bip.wav", channel='voice_bleeps', fadein=0.1) elif event == &...
by Angelo Seraphim
Thu Jan 21, 2021 9:58 am
Forum: Ren'Py Questions and Announcements
Topic: Possible to get a list of images currently shown on screen?
Replies: 4
Views: 1739

Re: Possible to get a list of images currently shown on screen?

Hi @Woetoo I think this only might be what you are looking for - https://www.renpy.org/doc/html/displaying_images.html?highlight=images#renpy.list_images It states; Returns a list of images that have been added to Ren'Py, as a list of strings with spaces between the name components. I believe on tha...
by Angelo Seraphim
Wed Jan 20, 2021 5:58 am
Forum: Ren'Py Questions and Announcements
Topic: Renpy.music playing out of nowhere!
Replies: 4
Views: 763

Re: Renpy.music playing out of nowhere!

screen skip_indicator (): on 'show' action Play ('music', 'faster.mp3') on 'hide' action Play ('music', 'normal.mp3') screen galereya(): python: renpy.music.play("menu.mp3", fadeout=10.0, fadein=15.0) frame Uh... not sure if this is relevant. ------------------------------------------- @K...
by Angelo Seraphim
Wed Jul 22, 2020 2:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Help Needed: Making a profanity filter
Replies: 1
Views: 330

Help Needed: Making a profanity filter

Hi, all! I hope everyone is doing well. So I've been working on creating a code that can filter/censor bad words on the fly. Below is my pseudo code. :mrgreen: So I was kind of messing around with this code that is made to censor bad words and it seems to work as intended (outside of RenPy). But now...