Search found 1307 matches

by namastaii
Sun Sep 15, 2019 11:31 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to keep the namebox centered even with longer names.
Replies: 3
Views: 391

Re: Trying to keep the namebox centered even with longer names.

xpos is more for pixel location (xpos 356) etc
xalign is 0-1 with 0.5 being the center so you'll want to use that instead
you can also use text-align 0.5 for centered text
by namastaii
Sun Sep 15, 2019 11:20 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Working with Numerous Characters...
Replies: 6
Views: 395

Re: Working with Numerous Characters...

also some advice I have is you can definitely separate all your code into different files. you can have an .rpy file just for defining your variables.
by namastaii
Sun Sep 15, 2019 11:19 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Working with Numerous Characters...
Replies: 6
Views: 395

Re: Working with Numerous Characters...

I think when defining the actual variables themselves, you would would to have a list at the beginning with 0. I don't really know if there is a way to shorten it unless you were to maybe define some python class that holds a template of information which I don't fully have an example of or know the...
by namastaii
Sun Sep 15, 2019 10:26 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Working with Numerous Characters...
Replies: 6
Views: 395

Re: Working with Numerous Characters...

I guess what you could try is something like this: $ renpy.jump("".join(["beachparty_", bestfriend])) So you would only use one line assuming you have 30 beachparty labels per best friend character. also I just tested this and it works as well, it's a bit simpler to type: $ renpy.jump("beachparty_{}...
by namastaii
Sun Sep 15, 2019 9:43 am
Forum: General Discussion
Topic: Script files disappearances?
Replies: 5
Views: 1914

Re: Script files disappearances?

I never experienced this with Editra but I use Atom now and I prefer it
by namastaii
Sun Sep 15, 2019 9:30 am
Forum: Ren'Py Questions and Announcements
Topic: Opening an txt file
Replies: 2
Views: 387

Re: Opening an txt file

If you're trying to give a message to the player, you can just put the text in a screen and show the screen during gameplay. Yes, you can open an external .txt file but I don't think there is any reason why you'd need to and it's not going to work in the way you want so just give the users any infor...
by namastaii
Sun Sep 15, 2019 9:22 am
Forum: Development of Ren'Py
Topic: Fixing the lag while in-game?
Replies: 2
Views: 1726

Re: Fixing the lag while in-game?

You've posted a lot of what you've been trying to implement in your game and it's not an engine problem. My games don't lag. If you're adding in a lot of heavy-performance tasks then it's probably going to hinder the smooth gameplay.
by namastaii
Sun Sep 15, 2019 9:12 am
Forum: Ren'Py Questions and Announcements
Topic: Flying textbox
Replies: 4
Views: 473

Re: Flying textbox

No.
by namastaii
Sun Sep 15, 2019 9:11 am
Forum: Ren'Py Questions and Announcements
Topic: Using im.MatrixColor inside a conditionswitch (while using variables inside file name)
Replies: 5
Views: 538

Re: Using im.MatrixColor inside a conditionswitch (while using variables inside file name)

when I do it that way I get an error saying the variable doesn't exist. if I take out the im.matrixcolor then it reads the variable fine. so I don't really know. we ended up just making a .png layer to trigger in the live composite instead but yeah not sure why this wouldn't work. I asked in discord...
by namastaii
Sat Sep 14, 2019 6:30 pm
Forum: Development of Ren'Py
Topic: Coding Dialogue Statements easier!
Replies: 16
Views: 2314

Re: Coding Dialogue Statements easier!

You still have to put quotations around the strings in the dialogue though. Or the script can't read them. The suffixes and such are just to add to it when it plays in-game. You can't use it to replace actual syntax
by namastaii
Sat Sep 14, 2019 6:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Using im.MatrixColor inside a conditionswitch (while using variables inside file name)
Replies: 5
Views: 538

Re: Using im.MatrixColor inside a conditionswitch (while using variables inside file name)

I did haha (I commented below the first example I tried that) and yeah doesn't seem possible, I had to go with another route
by namastaii
Fri Sep 13, 2019 9:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Question About Best Approach to Character Creation
Replies: 2
Views: 438

Re: Question About Best Approach to Character Creation

I actually just barely released a code (I was going to use this sprite and layers for my own project but I decided to go a different route) so you can use this code as an example to look off of. Also you can take a look at the folder structure. You shouldn't need to have that many subfolders. My exa...
by namastaii
Fri Sep 13, 2019 5:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Defining speed and size of character text
Replies: 4
Views: 428

Re: Defining speed and size of character text

slow_cps - int or True If a number, shows text at the rate of that many characters per second. If True, shows text at the speed taken from the "Text Speed" preference. slow_cps_multiplier - float The speed of the text is multiplied by this number. This can be used to have a character that speaks at...