Search found 18 matches

by mihaeru
Wed Nov 29, 2017 5:07 am
Forum: Ren'Py Questions and Announcements
Topic: distribute values randomly renpy
Replies: 7
Views: 1116

Re: distribute values randomly renpy

If you need to select N random order elements from a list without altering the original list you will need to basically copy the original (easiest with list comprehension in Ren'py as the Revertible version has no .copy method)... copy_list = [ k for k in original_list ] another example just using ...
by mihaeru
Wed Nov 29, 2017 5:03 am
Forum: Ren'Py Questions and Announcements
Topic: distribute values randomly renpy
Replies: 7
Views: 1116

Re: distribute values randomly renpy

You're doing redundant steps, you don't need to re-format the strings like that. Somewhere in there the strings become different from what you have in the array, hence the error. You can simply do this: $ arrayTurnos = ["Jhon","Allyson","Angela"] $ randturn = renpy.random.choice(arrayTurnos) $ rand...
by mihaeru
Tue Nov 28, 2017 1:13 pm
Forum: Ren'Py Questions and Announcements
Topic: distribute values randomly renpy
Replies: 7
Views: 1116

distribute values randomly renpy

Hello I want to have a text that show me a diferent list everytime I use a button. I have this code but it doesn't work. It give me an error everytime I use it with "$ arrayTurnos.remove("%(rand1)s")" but also when I remove this it allways give me the same valor at the end, example : "Jhon, Jhon, Jh...
by mihaeru
Sat Jun 24, 2017 4:41 am
Forum: Ren'Py Questions and Announcements
Topic: how to close this windows in script editor (jedit) [solved]
Replies: 2
Views: 388

Re: how to close this windows in script editor (jedit)

Not sure which edit program you are using, though would guess it is handled in the [View] menu. Try clicking [View] (5 buttons right of [File]) and see which ones have ticks in the sub-menu You're right I was afraid to touch something and make a mess but I tried and the solution was view-->Splittin...
by mihaeru
Sat Jun 24, 2017 4:03 am
Forum: Ren'Py Questions and Announcements
Topic: how to close this windows in script editor (jedit) [solved]
Replies: 2
Views: 388

how to close this windows in script editor (jedit) [solved]

hi I want to close the part it's in the red box
Image
but don't know why...
by mihaeru
Wed Apr 12, 2017 6:00 am
Forum: Ren'Py Questions and Announcements
Topic: Go to specific screen and return to normal with btn [solved]
Replies: 1
Views: 250

Re: Go to specific screen and return to normal with button

Ok so I find a way to Do this by myself: I can use a screen to call it with a textbutton the instructions like in this example: screen text_box(): vbox: text "The title." null height 20 text "This body text." xpos 0.4 yalign 0.2 screen display_preference(): frame: has vbox textbutton"Display" action...
by mihaeru
Wed Apr 12, 2017 5:26 am
Forum: Ren'Py Questions and Announcements
Topic: Go to specific screen and return to normal with btn [solved]
Replies: 1
Views: 250

Go to specific screen and return to normal with btn [solved]

Hi, I want to go to a specific screen in the game (one with the instructions of the game that the player saw previously) in any moment in the game, so I want to have a button than let the player jump to that part again but also a button to return to the spot he was in the story before going to this ...
by mihaeru
Mon Feb 27, 2017 12:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Two expressions at the same time showing [solved]
Replies: 2
Views: 364

Re: Two expressions at the same time showing in the screen

What is wrong with show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text1 show expression Text(_("Text2"), size=50, yalign=0.25, xalign=0.05, drop_shadow=(2, 2)) as text2 Remember: if you show a displayable with same tag, as the existing one, it will replac...
by mihaeru
Sun Feb 26, 2017 8:11 am
Forum: Ren'Py Questions and Announcements
Topic: Two expressions at the same time showing [solved]
Replies: 2
Views: 364

Two expressions at the same time showing [solved]

Hi, I'm wondering how I can make this twice show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text and have 2 different expressions showing at the same time in the screen. Thanks for the help. I know how to have multiple texboxes in the screen but I need it t...
by mihaeru
Fri Feb 10, 2017 8:58 am
Forum: Ren'Py Questions and Announcements
Topic: Changing textbox appearance at runtime for a scene
Replies: 3
Views: 455

Re: Changing textbox appearance at runtime for a scene

I have similar problem here I want to change style.menu_window.xalign in script.rpy f¡le but can't do it. Hope someone give us the solution.
by mihaeru
Fri Feb 03, 2017 11:47 am
Forum: Ren'Py Questions and Announcements
Topic: modify textbox size and position on the go
Replies: 2
Views: 405

Re: modify textbox size and position on the go

The simplest solution by far is to modify say screen itself. You can condition it as you see fit with simple code that will be in one place. gui. and styles can be very confusing if you're new to the engine. I don't know if I'm getting it. Can you make a short example? By the time I'm using this fo...
by mihaeru
Thu Feb 02, 2017 12:59 pm
Forum: Ren'Py Questions and Announcements
Topic: modify textbox size and position on the go
Replies: 2
Views: 405

modify textbox size and position on the go

Hi, Me again xP I have new problem this time with text box I found a lot of resources about changing the position and the size of textboxes but those tutorials were talking about making custom boxes for characters or customizing the default textbox for all the game. What I need is changing it multip...
by mihaeru
Thu Feb 02, 2017 11:46 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Define images at once with for statement
Replies: 3
Views: 1203

Re: Define images at once with for statement

xela wrote:Forgot to mention that there is image/ folder that does this automatically for you, you can find info about it in the docs. You can just throw images in there and they'll get tagged.
works perfectly thanks a lot. :)
by mihaeru
Thu Feb 02, 2017 10:41 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Define images at once with for statement
Replies: 3
Views: 1203

[solved] Define images at once with for statement

Hello as I made in Unity3D in C# with the for statement I want make the work faster defining or declaring my images in the script. I want to define multiple images by calling all at once because them just change they name in 1 number so I can say that I want to define "Image_n" where n is a number t...
by mihaeru
Thu Oct 30, 2014 5:36 pm
Forum: We are a Free Project looking for Partners
Topic: Madness in my Heart; looking for Artist
Replies: 3
Views: 1092

Re: Madness in my Heart; looking for Artist

Broyi wrote:Les mande un mensaje. I sent you a message.
I answered you, although not the style we're looking for, I hope you find one team searching for your style
te contesté, aunque no es el estilo que estamos buscando, espero que encuentres un equipo en busca de tu estilo