Search found 18 matches

by Dosya
Fri Dec 08, 2023 9:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Spacing and sizing does not work correctly in vbox
Replies: 1
Views: 4139

Spacing and sizing does not work correctly in vbox

I have a question. I have a list of tasks that should have a standard height of 169 pixels if there is enough space to display the text. If there is not enough space, then it expands downward along the y-coordinate. The expansion works correctly and there are no problems with it, but because I speci...
by Dosya
Mon Sep 25, 2023 8:18 am
Forum: Ren'Py Questions and Announcements
Topic: Wrong displaying notification for the button
Replies: 1
Views: 193

Wrong displaying notification for the button

I have a question about the button. I have a task button and I want the "!" notification to appear to the left of it, which is currently inside the button frame. I tried to make the notification sign outside the button, but because it is no longer part of the button, the quests_task_anim t...
by Dosya
Wed Aug 30, 2023 12:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Wrong alignment for hbox [SOLVED]
Replies: 3
Views: 452

Re: Ocelot

Then I have one more question: is it advisable to use hbox here at all, if I have the first and last elements constantly changing their size (different characters have different levels of points and maximum points). That's why alignment by spacing is not practical. Is it possible to somehow configur...
by Dosya
Tue Aug 29, 2023 9:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Wrong alignment for hbox [SOLVED]
Replies: 3
Views: 452

Wrong alignment for hbox [SOLVED]

Can someone help me to understand why the alignment doesn't work in this case (the bar is highlighted by a frame)? I want the hbox to be aligned in the middle (so that the outer digits are on the edge of the bar). I can't understand why he leaves space on the right, while filling everything right on...
by Dosya
Fri Jul 21, 2023 8:01 pm
Forum: Ren'Py Questions and Announcements
Topic: A translated line that is made up of translated lines [SOLVED]
Replies: 5
Views: 416

Re: Ocelot

You are absolutely right. Also, thanks to your detailed answer, I understood the translation mechanism in Ren`py a bit more and fixed some other similar issues in the project :). Need to read the documentation more deeply. Thank you very much.
by Dosya
Thu Jul 20, 2023 4:25 pm
Forum: Ren'Py Questions and Announcements
Topic: A translated line that is made up of translated lines [SOLVED]
Replies: 5
Views: 416

Re: Ocelot

No, not really. Default language is fine and join() doing his work. In translated version he only don`t translate lines.
by Dosya
Thu Jul 20, 2023 4:03 pm
Forum: Ren'Py Questions and Announcements
Topic: A translated line that is made up of translated lines [SOLVED]
Replies: 5
Views: 416

A translated line that is made up of translated lines [SOLVED]

Guys, I have a question about translation. I have a screen of a system message. The first argument takes a string or a list. If it's a list, it consists of translated messages that fit into one sentence. I used __() to translate the lines, but the translation does not work (show on default language)...
by Dosya
Mon Dec 21, 2020 1:55 am
Forum: Ren'Py Questions and Announcements
Topic: The while loop does not stop working when the condition is met. [SOLVED]
Replies: 3
Views: 425

Re: philat

Yes, thank you. I already found out what the problem is, but thank you very much anyway ^-^. Can you tell me how to close the threads? I tried to find it, but it wasn't successful.
by Dosya
Mon Dec 21, 2020 12:44 am
Forum: Ren'Py Questions and Announcements
Topic: The while loop does not stop working when the condition is met. [SOLVED]
Replies: 3
Views: 425

The while loop does not stop working when the condition is met. [SOLVED]

I encountered a problem that the loop does not iterate when one of the conditions is met. Can anyone tell me what this might be related to? label battle(player, enemy): show screen battle(player, enemy, FManager.cur_turn) while player.hp != 0 or enemy.hp != 0: $ FManager.incr_move() if FManager.move...
by Dosya
Tue Dec 15, 2020 9:12 pm
Forum: Ren'Py Questions and Announcements
Topic: The atl-animation screen is not displayed(without error)
Replies: 1
Views: 392

The atl-animation screen is not displayed(without error)

Hi all, guys. I am developing a combat system and ran into this problem, that when I call the screenshot with atl-animation it simply does not appear, although as I understand it seems to run. Tried a lot of ways, but I guess it's probably because of the function to call the screen in the battle lab...
by Dosya
Thu Aug 13, 2020 8:34 pm
Forum: Ren'Py Questions and Announcements
Topic: "Inventory" object is not callable
Replies: 2
Views: 284

Re: hell_oh_world

I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 19, in script "????" TypeError: 'Inventory' object is not callable -- Full Traceback ------------------------------------------------------------ Full traceback: File "game/s...
by Dosya
Thu Aug 13, 2020 7:12 pm
Forum: Ren'Py Questions and Announcements
Topic: "Inventory" object is not callable
Replies: 2
Views: 284

"Inventory" object is not callable

Hey, everybody. I'm developing an inventory and I can't figure out the cause of the problem in this case. I suppose that the error is in the way I pass an argument or in the class structure itself. Please, help me guys( init python: import renpy.store as store # inventory system class Item(store.obj...
by Dosya
Wed Aug 12, 2020 6:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Placement of the same type of aitems in one stack + one global problem
Replies: 0
Views: 348

Placement of the same type of aitems in one stack + one global problem

Hey, everybody. I'm in the middle of inventory development and some problems have arisen. The most important thing is that I can't think how to create such an inventory, where the same items were placed in the same slot with their count, for example: in one slot there would be 3 cameras. And the sec...
by Dosya
Wed Jul 29, 2020 9:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems with the class method on return(bound method) [SOLVED]
Replies: 1
Views: 273

Problems with the class method on return(bound method) [SOLVED]

There is a class related to the time in the game. I wrote a method for it to output the current time, but it does not work and knocks out this error. https://i.ibb.co/p4ztSCd/Screenshot-1.png https://i.ibb.co/d2Tpr8x/Screenshot-2.png https://i.ibb.co/h25g9V0/Screenshot-4.png https://i.ibb.co/qs67d81...
by Dosya
Thu Jun 18, 2020 7:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Why textbutton don`t translated on other language? [SOLVED]
Replies: 5
Views: 454

Re: Dosya

The problem was found (a font incompatible with the Russian language). So check more often that your language is compatible with the selected font).