Search found 1460 matches

by xavimat
Fri Jul 03, 2020 1:26 am
Forum: Development of Ren'Py
Topic: Language 'None' dialogue translation
Replies: 3
Views: 6233

Re: Language 'None' dialogue translation

Renpy translation system is designed to translate games that are completed in the original language. Developing a game in several languages at the same time causes those problems. What I do, as rames44 has suggested, is a "translation " also for the original language. And, if I need to cor...
by xavimat
Sat May 09, 2020 7:51 am
Forum: Ren'Py Questions and Announcements
Topic: How to center text?
Replies: 6
Views: 582

Re: How to center text?

xalign is always relative to the container. Here you have label and text inside a vbox. So your xalign 0.5 probably is working Ok: centering the elements inside the vbox. The vbox is not centered in its container. What is the vbox container? The vbox is inside another screen (see the "use"...
by xavimat
Fri Apr 17, 2020 1:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Adding persistent data to images [SOLVED]
Replies: 11
Views: 1188

Re: Adding persistent data to images [HELP]

Are you sure you need persistent variables at all? Can't you use normal variables, default them, change them in the screen and save them as a normal save? That should work. Note that "persistent" variables are shared between saves. So, if you start a new game, you'll find the values of the...
by xavimat
Fri Apr 17, 2020 1:39 pm
Forum: Ren'Py Questions and Announcements
Topic: How to change the initial language?
Replies: 1
Views: 410

Re: How to change the initial language?

"persistent.lang" is not a renpy variable. Neither "lang" is. Those variables don't do anything to the translation system of renpy. 1. You need a None language, that is the original language the game is created. I'm assuming your game is not in originally in English. 2. Usually w...
by xavimat
Tue Mar 31, 2020 2:39 pm
Forum: Ren'Py Questions and Announcements
Topic: null
Replies: 2
Views: 365

Re: Vertical Bar

by xavimat
Mon Mar 30, 2020 8:59 am
Forum: WiP: NaNoRenO
Topic: Ren'Py Multiplayer Adventure Game: Rhaier Kingdom [Nano2020]
Replies: 7
Views: 2167

Re: Ren'Py Multiplayer Adventure Game: Rhaier Kingdom [Nano2020]

i've never heard of a mutliplayer vn before! the concept sounds so interesting, and i think this project has a lot of potential! maybe there could be more incentive to interact with other players, such as tradeable items unique to that specific copy of the game (think of the random fruits in animal...
by xavimat
Mon Mar 30, 2020 6:37 am
Forum: WiP: NaNoRenO
Topic: Ren'Py Multiplayer Adventure Game: Rhaier Kingdom [Nano2020]
Replies: 7
Views: 2167

Re: Ren'Py Multiplayer Adventure Game: Rhaier Kingdom [Nano2020]

Wow, this sounds absoletly amazing! I'm downloading right now and will come back with feedback!! Thanks a lot, cedes I'll love to hear your opinions. I've seen your message on the messages board. :) An online multiplayer game is an awesome idea! I've been looking for stuff my fiancee and I can play...
by xavimat
Sun Mar 29, 2020 6:03 pm
Forum: WiP: NaNoRenO
Topic: Ren'Py Multiplayer Adventure Game: Rhaier Kingdom [Nano2020]
Replies: 7
Views: 2167

Ren'Py Multiplayer Adventure Game: Rhaier Kingdom [Nano2020]

coverimage2.jpg Rhaier Kingdom, a Ren'Py Multiplayer Adventure Visual Novel Game. Updated: April 6th, 2020. The great and powerful Rhaier Kingdom is recruiting young people from the villages. They will attend the Royal Academies on Pykkard and, if they succeed, will serve the King and their People ...
by xavimat
Mon Mar 23, 2020 5:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Screen question from a total newbie
Replies: 8
Views: 749

Re: Screen question from a total newbie

There are many ways of doing it. You can adapt the position of the textbox in the gui.rpy file and in screens.rpy. The same for the choices menu: adapt it in gui.rpy and screens.rpy (search for any property with "choice" in it. You probably want some background image for those two screens ...
by xavimat
Thu Feb 27, 2020 6:55 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] AttributeError:'unicode' object has no attribute 'append'
Replies: 2
Views: 410

Re: AttributeError:'unicode' object has no attribute 'append'

The first call to add_item adds the item and then converts the self.item attribute into a string (that's the "join" part). So the second call tries to add an item to a string. Try using two different attributes. init python: class Inventory: def __init__(self): self.items = [] self.string ...
by xavimat
Thu Feb 06, 2020 4:56 pm
Forum: Ren'Py Questions and Announcements
Topic: How do I show a character that's a variable?
Replies: 1
Views: 599

Re: How do I show a character that's a variable?

You can use brackets to use a variable in image names: https://renpy.org/doc/html/displayables.html#displayables You can use also show expression https://renpy.org/doc/html/displaying_images.html#show-statement, Also, be careful not using the same variable name for characters and sprites (you are us...
by xavimat
Thu Feb 06, 2020 11:18 am
Forum: Ren'Py Questions and Announcements
Topic: Grid based tactical game (is it possible?)
Replies: 3
Views: 793

Re: Grid based tactical game (is it possible?)

Wow, comparing Ren'py and Unity feels pretty strange, like it's not really clear what you want to do. Both programs have really different goals.
Anyway, in renpy you can do that sort of stuff. See Sunrider, for example (https://github.com/vaendryl/Sunrider)
by xavimat
Wed Jan 29, 2020 2:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Social Media Suport In Game
Replies: 6
Views: 1376

Re: Social Media Suport In Game

That said, you can make renpy read and send things to a web page and maybe have that web (not renpy) do the sharing with social media. It's possible to use urllib2 inside renpy to send and read info from a php page. That php can make lots of things, like send automatic emails and update a database. ...
by xavimat
Mon Oct 28, 2019 3:51 pm
Forum: Ren'Py Questions and Announcements
Topic: How to output formatted text from file to a ren'py screen?
Replies: 7
Views: 846

Re: How to output formatted text from file to a ren'py screen?

I have a whole bunch of RTF files of text that's formatted with bold, underline, italic, even including some tables. Instead of copy & pasting each of these into an RPY file, which would involve lots of extra formatting via text tags, styles, properties, etc, it would be easier to simply just o...
by xavimat
Sun Oct 27, 2019 3:44 am
Forum: Ren'Py Questions and Announcements
Topic: How to output formatted text from file to a ren'py screen?
Replies: 7
Views: 846

Re: How to output formatted text from file to a ren'py screen?

Your question includes some different things. - I use codecs.open to open/write utf-8 text files to/from renpy. - you can store that data in variables, and use that variables to show their content in renpy. - formatting text is another matter, you have in renpy text tags, styles, properties... It de...