Search found 140 matches
- Mon Dec 18, 2023 2:06 pm
- Forum: Creator Discussion
- Topic: Best way to add patreon-only content to your game
- Replies: 5
- Views: 6918
Re: Best way to add patreon-only content to your game
I've never dealt with Patreon as a game dev, but I think most devs who do use it rely on trust. They trust that their patrons won't leak exclusive content. And if a leak does happen, their reaction is usually reactive, not proactive. I assume this "solution" won't satisfy your needs, so l...
- Sun Dec 17, 2023 3:25 pm
- Forum: Creator Discussion
- Topic: Best way to add patreon-only content to your game
- Replies: 5
- Views: 6918
Best way to add patreon-only content to your game
Hi friends! How's it going? I was just wondering... What would be the best way to implement content that's only available for certain people, like for instance people on a certain tier on Patreon, on your game? I've been mumbling around the idea of adding a DLC to my most successful game, Melodic Da...
- Sun Oct 22, 2023 12:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Problems with renpy.get_mouse_pos()
- Replies: 1
- Views: 1200
Problems with renpy.get_mouse_pos()
Hi guyes! My problem is simple. I have this: def getmouse(): global mx, my mx = renpy.get_mouse_pos()[0] my = renpy.get_mouse_pos()[1] And this: imagebutton: xpos xini ypos yini idle item.pic hovered [Function(getmouse), Show("ithov", tt=item.tt)] unhovered Hide("ithov") action N...
- Sun Oct 22, 2023 9:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help with dynamic matrix
- Replies: 1
- Views: 1391
Help with dynamic matrix
Hi guys! Here's the thing: I have a class with objects that have png images that I want to put on a screen as a grid: class Item(renpy.store.object): def __init__(self, id, pic, tt, size): self.id = id self.pic = pic self.tt = tt self.size = size # it takes 1(40*40), 2(80*40), 3(40*80), 4(80*80), 5(...
- Wed Sep 13, 2023 4:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Different text style for no apparent reason
- Replies: 6
- Views: 439
Re: Different text style for no apparent reason
It is displayed as many times as there are words in kwords. The loop is in wrong place. First you should check if any of the words are selected and only then you should make a loop. Strange indeed. Could it be that the text block is displayed/overlaid twice for some reason and therefore appears &qu...
- Wed Sep 13, 2023 4:07 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Different text style for no apparent reason
- Replies: 6
- Views: 439
Re: Different text style for no apparent reason
Not really, the style should work. But it could be that you use a text tag in the line e.g. {b} and this causes the text to be displayed in bold (second photo). If you use something like this make sure to close the tag at the end of the line/word. Actually I'm not using any tag in any on my texts. ...
- Tue Sep 12, 2023 1:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Different text style for no apparent reason
- Replies: 6
- Views: 439
[Solved] Different text style for no apparent reason
Hi friends! Something weird's going on in my game and I can't get to know why that is. I have three texts on a screen with exactly the same style properties. In fact, I created a text style just to include the tree texts in it. Here's the whole screen: screen pmadc(): zorder 7 for kword in kl.kwords...
- Sun Sep 10, 2023 1:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: text_align not working for some reason
- Replies: 1
- Views: 389
text_align not working for some reason
Hi friends! Okay, maybe I'm being dumb but, while I've always got my text_align properties to work, this is not the case. For some reason, text_align isn't working for me in a text statement, nor 0.0, neither 0.5, neither 1.0, while the rest of the text properties work perfectly fine. I'm guessing t...
- Fri Sep 08, 2023 8:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] ymaximum not working
- Replies: 4
- Views: 337
Re: ymaximum not working
Good point xD
Anyone, I can take this thread as solved. Thank you!
- Fri Sep 08, 2023 7:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] ymaximum not working
- Replies: 4
- Views: 337
Re: ymaximum not working
On the other hand, if your text is too long, you can check for its length within a function and then just show a part of it (let's say up to 128 characters per message) and add "..." or whatever. Example for text cutting: init python: def cutText(what): if len(what) > 32: return what[0:32...
- Thu Sep 07, 2023 4:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] ymaximum not working
- Replies: 4
- Views: 337
[Solved] ymaximum not working
Hi friends! I have some trouble about positioning. I have some sort of messaging app, so I have my chats with people and, on the main screen of the app, a list with all chats. The thing is that I want to show a small preview of the last message of each chat below the name of each character, next to ...
- Tue Sep 05, 2023 3:44 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Trouble choosing right events in ATL
- Replies: 2
- Views: 264
Re: Trouble choosing right events in ATL
ATL events like "on show" only work with the "showif" statement, not with regular "if" inside screens. https://www.renpy.org/doc/html/screens.html#showif-statement screen psg(): zorder 2 showif ish[0] != "": add "shad/shad[ish[0]].png" xpos -20 ypos...
- Tue Sep 05, 2023 3:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Calling a label while another one is flowing
- Replies: 2
- Views: 257
Re: Calling a label while another one is flowing
No it's not possible. Labels are used for the main game flow / dialogue. Think of it as reading a book. You can only read one sentence at a time. If you want something to update independently of the game flow, put it inside a screen that's always present and uses timers for example. Or put it insid...
- Tue Sep 05, 2023 7:46 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Calling a label while another one is flowing
- Replies: 2
- Views: 257
[Solved] Calling a label while another one is flowing
Hi! I think this isn't possible but here goes nothing: I have a label that's flowing constantly in my game, showing screens with images and videos and time pauses. At a given time, a button that calls another label pops up. Clicking it causes the game to call (or jump) to this label, but the first l...
- Mon Sep 04, 2023 3:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Trouble choosing right events in ATL
- Replies: 2
- Views: 264
[Solved] Trouble choosing right events in ATL
Hi guys! Let's see if I can explain my problem: I have a screen like this: screen psg(): zorder 2 if ish[0] != "": add "shad/shad[ish[0]].png" xpos -20 ypos 200 at shapp0 else: add "shad/no[nosh].png" xpos -20 ypos 200 if ish[1] != "": add "shad/shad[ish[...