Search found 10 matches
- Fri Jun 22, 2018 10:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to show and move image (Displayable) in the middle of screen interaction?
- Replies: 0
- Views: 397
How to show and move image (Displayable) in the middle of screen interaction?
I have a simple script example which create screen, add some buttons with some "stuff" doing by pushing this button. init -1 python: def some_function(): # some strange logic # ------------------------ # show image on x1, y1 # move image to x2, y2 # hide image # ------------------------ # ...
- Thu May 18, 2017 9:22 am
- Forum: Ren'Py Cookbook
- Topic: Yet another shooting game
- Replies: 0
- Views: 2275
Yet another shooting game
I need some shooting game. So I look here https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=41347 and here https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=13830#p267179 and create my version of shooting game init python: message_target = 'OK!! I am waiting!!!' class Clicked(Actio...
- Tue Mar 14, 2017 2:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: add button functionality to some class
- Replies: 1
- Views: 544
- Fri Feb 17, 2017 9:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: Translation for complex structure in renpy
- Replies: 7
- Views: 1473
Re: Translation for complex structure in renpy
If normal translation doesn't work, ConditonSwitch might, you can condition whichever text is displayed with the language in use. I've never translated anything in Ren'Py but there is no reason for it to fail. The second sentence is horribly translated btw, both in spelling and grammar. Thanks. For...
- Thu Feb 16, 2017 11:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: Translation for complex structure in renpy
- Replies: 7
- Views: 1473
Re: Translation for complex structure in renpy
Hi. I am use this code in my game and have some trouble with translation for tooltip image tooltip_inventory_dark_side_letter = LiveComposite((700, 73), (3,0), ImageReference("information"), (3,30), Text(__("Это первое, что я нашел у себя в карманах. Вы не поверите, но это - письмо!&q...
- Thu Feb 16, 2017 11:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: Translation for complex structure in renpy
- Replies: 7
- Views: 1473
Re: Translation for complex structure in renpy
As I found - "_" is not enough.
Should use double - "__".
Should use double - "__".
- Wed Feb 15, 2017 11:04 am
- Forum: Ren'Py Cookbook
- Topic: Inventory Screen
- Replies: 100
- Views: 101949
Re: Inventory Screen
Hi. I am use this code in my game and have some trouble with translation for tooltip image tooltip_inventory_dark_side_letter = LiveComposite((700, 73), (3,0), ImageReference("information"), (3,30), Text(__("Это первое, что я нашел у себя в карманах. Вы не поверите, но это - письмо!&q...
- Sat Feb 11, 2017 7:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: add button functionality to some class
- Replies: 1
- Views: 544
add button functionality to some class
Hi I want to create some mini game, where user must click on each flying object. So I "steal" some code from RenPy Tutor: init python: import math class Ball(object): def __init__(self, filename, x, y, function=None): self.transform = Transform(child=filename, xanchor=0.5, yanchor=0.5, rot...
- Wed Jan 25, 2017 2:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Translation for complex structure in renpy
- Replies: 7
- Views: 1473
Re: Translation for complex structure in renpy
Thanks.Ocelot wrote:You can use function _ to generate translations for some strings. Do not aply it to lines which do not need to be translated (like id or something like that)
Code: Select all
goals.append(Goal("peter", _("Find and help Peter")))
- Wed Jan 25, 2017 12:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Translation for complex structure in renpy
- Replies: 7
- Views: 1473
Translation for complex structure in renpy
Hi !. First of all. i am sorry for my English. In this topic https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=25245 some dev gave us his code for quest log. I look it in and see this (full code in quests.rpy) goals.append(Goal("peter", "Find and help Peter")) goals.appe...