Search found 17 matches
- Fri Jun 09, 2023 9:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: screen: how to run a function conditionally?
- Replies: 3
- Views: 125
Re: screen: how to run a function conditionally?
But not having something changing on the screen when it's shown is exactly what I want (see my first code example). The function should not only run when the screen is shown. It can and should be executed anytime the conditional is true and should be part of the screen prediction. The problem is, th...
- Fri Jun 09, 2023 8:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: screen: how to run a function conditionally?
- Replies: 3
- Views: 125
screen: how to run a function conditionally?
I have a little issues getting a function to run properly in a screen after an if statement. There is an if statement in the screen and if it's true, it should show some screen elements and run a function in the background that does some calculations for me. The function takes one argument and this ...
- Sat Apr 29, 2023 11:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: Cannot localize tooltip string in screens - what's wrong?
- Replies: 2
- Views: 503
Re: Cannot localize tooltip string in screens - what's wrong?
Argh, I actually even know this.
Thanks for bumping me in the correct direction! This does the trick.
Thanks for bumping me in the correct direction! This does the trick.
- Sat Apr 29, 2023 8:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: Cannot localize tooltip string in screens - what's wrong?
- Replies: 2
- Views: 503
Cannot localize tooltip string in screens - what's wrong?
I am using the tooltip function in screens to show tooltips for different textbuttons or hotspots. For some weird reason, these texts are not localized. For example things like these: inventory.rpy: (...) textbutton "{image=/images/cursorsicons/icon_inventory.webp}" style "inventory_b...
- Tue Apr 04, 2023 6:33 am
- Forum: Ren'Py Questions and Announcements
- Topic: Zooming ATL displayables that have coordinates (without them jerking)
- Replies: 2
- Views: 252
Re: Zooming ATL displayables that have coordinates (without them jerking)
Thanks for the many ideas! It helped already. I think what I will do is to go for solution 1 and include them into our pipeline. My script know the coordinates and the size I need so it's actually quite easy to parse it and just throw out an out-generated .rpy file with Composites and then use these...
- Tue Apr 04, 2023 5:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: Zooming ATL displayables that have coordinates (without them jerking)
- Replies: 2
- Views: 252
Zooming ATL displayables that have coordinates (without them jerking)
I try to zoom an animation out of several frames, created in ATL. However, the animation jerks out as soon as it zooms. This is a capture directly from the situation in Renpy: https://abload.de/img/pythonw_wndqskvod9ureu5.gif The animation is created out of frames that are cropped and have positions...
- Tue Jul 12, 2022 3:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to create "invisible" imagebuttons or hotspots?
- Replies: 2
- Views: 269
Re: How to create "invisible" imagebuttons or hotspots?
Sometimes you find a possible answer just when you posted a question: I just realized I can put a transform to a hotspot with "at". When the transform has full alpha, the hotspot is invisible. I think that should be it: transform fullalpha: alpha 0.0 hotspot (0,0,200,1097) action {...} at ...
- Tue Jul 12, 2022 2:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to create "invisible" imagebuttons or hotspots?
- Replies: 2
- Views: 269
How to create "invisible" imagebuttons or hotspots?
I'm searching for a way to include invisible hotspots or imagebuttons to a screen or an imagemap. Currently, I use the regular hotspot function from imagemaps. However, these hotspots take the graphics from the ground, idle or hover images. The screens have random animations added to them, so these ...
- Mon Feb 21, 2022 11:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Signing MacOS build: bundle format unrecognized
- Replies: 5
- Views: 533
Re: Signing MacOS build: bundle format unrecognized
Ah, that might be it. While I'm on Renpy 7.4.11 now, the build in question was compiled with 7.4.4.1439. So that might be it! Sorry for that and thanks for taking a look! My bad! Are there any risks using the symlink workaround or should I recompile everything with the newest version just to be sure...
- Wed Feb 16, 2022 8:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Signing MacOS build: bundle format unrecognized
- Replies: 5
- Views: 533
Re: Signing MacOS build: bundle format unrecognized
Sorry for triple posting: I can confirm that the workaround from Stack Overflow works for the problematic directory structure of Renpy builds when codesigning isn't working: - Move the folders within the .App Application folder from ./MacOS to ./Resources and symlink them back to ./MacOS - This keep...
- Wed Feb 16, 2022 12:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Signing MacOS build: bundle format unrecognized
- Replies: 5
- Views: 533
Re: Signing MacOS build: bundle format unrecognized
According to this post, codesign doesn't want folders with periods in the MacOS folder, which Renpy has ("python2.7"). This is the same issue, I guess:
https://stackoverflow.com/questions/377 ... tory-names
https://stackoverflow.com/questions/377 ... tory-names
- Wed Feb 16, 2022 11:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: Signing MacOS build: bundle format unrecognized
- Replies: 5
- Views: 533
Signing MacOS build: bundle format unrecognized
I use the Renpy notarization tool to notarize my Mac Build with Apple but I just can't get the app signed and submitted. When I try to sign it after unpacking with my Cert, this is the error I get: ./notarize.sh {myapp} sign_app {myapp}.app: bundle format unrecognized, invalid, or unsuitable In subc...
- Fri Aug 13, 2021 3:36 pm
- Forum: Development of Ren'Py
- Topic: Google Analytics in RenPy games does not work
- Replies: 3
- Views: 10636
Re: Google Analytics in RenPy games does not work
I had problems with the Google Analytics solution at first, too. Then I realized that I was using the wrong Google Analytics version. I thought I might leave a note here for anyone having a similar issue: It's important you use the "Universal Analytics" version with the identifiers startin...
- Fri Apr 16, 2021 1:14 pm
- Forum: Ren'Py Cookbook
- Topic: telegram messenger (4 version)
- Replies: 123
- Views: 42378
Re: telegram messenger (2 version)
This is really an awesome messenger. Is there an option to "autoplay" audios? So as soon as audios are sent to the messenger, the audioplayer is started right away?
- Fri Oct 16, 2020 10:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to wipe from center?
- Replies: 2
- Views: 539
Re: How to wipe from center?
you need to post your code what you are using The ATL code was posted above. I actually didn't do much more then showing it on top of the the image to be wiped over. ATL just didn't preserved the alpha. However, I just realized, that CropMove() actually allows for the definition of a custom Crop-Mo...