Search found 94 matches
- Wed Oct 05, 2016 2:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: Translating date in save/load screens
- Replies: 3
- Views: 568
Re: Translating date in save/load screens
I'm currently in the process of translating the Launcher, and I've noticed some keywords and variables inside of strings shouldn't be translated. I would try: # renpy/common/00action_file.rpy:47 old "{#month}January" new "{#month} كانون الثاني" # renpy/common/00action_file.rpy:47 old "{#month}Febru...
- Wed Oct 05, 2016 2:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Translating the main menu
- Replies: 21
- Views: 2397
Re: Translating the main menu
Well.. I updated Renpy and then moved my game files from the old version to the new one, does this count as using the new GUI?PyTom wrote:Are you using the new GUI? It uses these translations, while the old system does not.
Or do I need to create a new project and move my code to it?
- Tue Oct 04, 2016 6:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: Translating date in save/load screens
- Replies: 3
- Views: 568
Translating date in save/load screens
Hello, Did anyone translate the date in the save/load screens? I'm trying to translate them from English to Arabic & I have changed the translation file like this: # renpy/common/00action_file.rpy:47 old "{#month}January" new "{#شهر} كانون الثاني" # renpy/common/00action_file.rpy:47 old "{#month}Feb...
- Mon Oct 03, 2016 4:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: Translating the main menu
- Replies: 21
- Views: 2397
Re: Translating the main menu
Hello, I have updated Renpy to the latest version & got the translation files. However, it is not working. # renpy/common/00action_file.rpy:26 old "{#weekday}Monday" new "{#weekday}الاثنين" # renpy/common/00action_file.rpy:26 old "{#weekday}Tuesday" new "{#weekday}الثلاثاء" This is a snippet from th...
- Wed Sep 28, 2016 4:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: Triggering Events
- Replies: 11
- Views: 833
Re: Triggering Events
Hmm, well if they use the medicine and this runs: if medicineIcon.used: action [Return ("explore_done"), Hide("kitchenMedicine"), Jump("drink_medicine")] Then this will go to label drink_medicine: I don't see "label drink_medicine:" in the code above. If you already have this label created, then yo...
- Wed Sep 28, 2016 2:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Triggering Events
- Replies: 11
- Views: 833
Re: Triggering Events
Hmm, I think the player using the medicine is in the inventory screen. I did not see the code above for the inventory screen. However, if the inventory screen uses action command it can also hide another screen. The Hide command is not exclusive to the screen it's in. Hide can be used to hide other...
- Tue Sep 27, 2016 5:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Triggering Events
- Replies: 11
- Views: 833
Re: Triggering Events
Is it the kitchenMedicine screen you want to hide once the medicine is used? Or which? If it's just the kitchenMedicine screen that needs to close, then the action can do this: action [Return("medicine"), ToggleVariable("medicine", True), Hide("kitchenMedicine")] If not, then sorry...maybe I misund...
- Tue Sep 27, 2016 2:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: Triggering Events
- Replies: 11
- Views: 833
Re: Triggering Events
Okay from the code posted, here is what I see. The loop is running: while not done: ... So, while done is false: ... if not medicine: show kitchenMedicine else: show kitchenExplore Once the medicine is used, I am guessing it's jumping to kitchenExplore because the event is still defined as "not don...
- Mon Sep 26, 2016 3:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Triggering Events
- Replies: 11
- Views: 833
Re: Triggering Events
Hello, hopefully I can help. I would recommend programming the event as a screen all by itself. Then you can simply use call screen to pass control to that screen. Once the event has concluded, the screen only has to hide to resume exactly where the player left off (before using medicine). Dependin...
- Sun Sep 25, 2016 2:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: Triggering Events
- Replies: 11
- Views: 833
Triggering Events
Hello, I need help figuring out the best way to achieve this. I'm trying to trigger an event based on an action from the player. Basically, the player is exploring a place (kitchen in my case), finds a medicine and takes it. Now the medicine is stored in the inventory. The player is still able to co...
- Wed Sep 07, 2016 5:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Hiding Image buttons
- Replies: 2
- Views: 369
Re: Hiding Image buttons
The way you would do it is using variables, say: screen box: add "box.jpg" if item_show: imagebutton idle "tetterwortImagebutton.png" hover "tetterwortImagebutton.png" xpos 750 ypos 395 action [ToggleVariable("item_show", False), ToggleVariable("item1_pickedup", True)] I feel stupid that I didn't t...
- Mon Sep 05, 2016 3:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: Hiding Image buttons
- Replies: 2
- Views: 369
Hiding Image buttons
Hello, I have been looking at multiple codes of how to achieve this but for some reason, I can't get it to work. I have a box (this is the background) with two items, the player should be able to pick them up. I would like to have these items disappear once the player picks them (click on them) scre...
- Tue Aug 23, 2016 4:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Name tag customization
- Replies: 6
- Views: 976
Re: Name tag customization
Thank you so much. This is what I was looking for!trooper6 wrote:How to have the name box in front of the text box was answered here:
viewtopic.php?f=8&t=25117&hilit=order+reverse#p309221
- Sun Aug 21, 2016 4:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: Name tag customization
- Replies: 6
- Views: 976
Re: Name tag customization
So.. I have figured a way around that problem, but there is one thing that I'm still struggling with. It is the position of the character's name. I have tried different approaches but no success what so ever. Any one knows how I can change the alignment or the position? I tried but it didn't work. s...
- Thu Aug 18, 2016 1:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: Name tag customization
- Replies: 6
- Views: 976
Re: Name tag customization
If the name and the text box are being showed are on two different screens then you can use zorder to sort them: https://www.renpy.org/doc/html/screens.html#screen-statement They are in the same screen. Maybe in the code, the textbox should be shown first , then the nametag. Nothing in the code all...