Search found 7 matches
- Thu Mar 24, 2022 4:14 pm
- Forum: Ren'Py Cookbook
- Topic: Simple minigames (Screen Language only).
- Replies: 127
- Views: 75992
Re: Simple minigames (Screen Language only).
Group battle game. define battle_narrator = Character(None, interact=False) screen battle_screen: vbox: xalign 0.01 yalign 0.05 spacing 5 for each_party_member in party_list: frame: size_group "party" xminimum 250 xmaximum 250 yminimum 75 vbox: text "[each_party_member[name]]" size 22 xalign 0.5 nu...
- Mon Oct 25, 2021 4:28 pm
- Forum: Ren'Py Cookbook
- Topic: Continue button
- Replies: 1
- Views: 1271
Continue button
Well this code is based on this old publication...(https://lemmasoft.renai.us/forums/viewtopic.php?t=48154) And I thought you might be interested in this updated code. init +1 python: def Can_load(): lastsave=renpy.newest_slot() # get the newest slot CanLoad = renpy.can_load(lastsave, test=False) # ...
- Mon Oct 25, 2021 1:50 pm
- Forum: Development of Ren'Py
- Topic: Ren'Py Translator ToolKit
- Replies: 48
- Views: 24867
Re: Ren'Py Translator ToolKit
renpy-ttk-1.7.png The Ren'Py Translation ToolKit is a converter between the Ren'Py native translation format and a PO file, which is usable by editors such as Poedit . Here's The Question imported in it: poedit.png The .po translation file can be easily synchronized whenever you want, including in ...
- Thu Jan 21, 2021 10:59 am
- Forum: Ren'Py Cookbook
- Topic: Detects what type of Game Pad the player is using.
- Replies: 4
- Views: 944
Re: Detects what type of Game Pad the player is using.
I updated the code with your suggestion.
- Thu Jan 21, 2021 12:04 am
- Forum: Ren'Py Cookbook
- Topic: Detects what type of Game Pad the player is using.
- Replies: 4
- Views: 944
Re: Detects what type of Game Pad the player is using.
This looks interesting. I've noticed though, that the same controller reports a different name on different operating systems through the game pad calibration screen. Will this affect anything? The truth is I don't know, I tried this on Windows 10. But the different names can be added in the if, I ...
- Wed Jan 20, 2021 7:09 pm
- Forum: Ren'Py Cookbook
- Topic: Detects what type of Game Pad the player is using.
- Replies: 4
- Views: 944
Detects what type of Game Pad the player is using.
Hi! This is my first post here, I want to share with you this code I made. This code detects the type of joystick the player is using to play, it's a simple code and can be improved. In this case this detects if the joystick is from PS4 or XBOX, and if it is not from any of these brands it returns "...
- Fri Aug 17, 2018 7:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Can RenPy read the players data? (Name)
- Replies: 9
- Views: 4677
Re: Can RenPy read the players data? (Name)
to make it detect the name in windows in this way sorry for my English default player = os.environ.get('username') label start: python: if os.name == 'nt': import os for name in ('LOGNAME', 'USER', 'LNAME', 'USERNAME'): player = os.environ.get(name) elif os.name == 'posix': import os for user in ('L...