Search found 124 matches

by bonnie_641
Tue Aug 31, 2021 6:44 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Multiple variables in a single variable
Replies: 8
Views: 808

Re: Multiple variables in a single variable

You almost got it right... default ucan_move = True default items_list = [ {"name":"uno", "child":"images/d.png", "x_pos":197, "y_pos":202, "can_move": True}, #starts as a true {"name":"dos", "child":"images/d.png", "x_pos":197, "y_pos":202, "can_move": True}, {"name":"tres", "child":"images/d.png"...
by bonnie_641
Mon Aug 30, 2021 11:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Multiple variables in a single variable
Replies: 8
Views: 808

Re: Multiple variables in a single variable

Thank you very much for replying :D try using a list, and a single variable to control all... default ucan_move = True default can_move = [i for i in range(10)] # how many do you need? this one populates 10 booleans This is my short list. $ items_list = [ {"name":"uno", "child":"images/d.png", "x_po...
by bonnie_641
Mon Aug 30, 2021 10:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Multiple variables in a single variable
Replies: 8
Views: 808

[Solved]Multiple variables in a single variable

Edit: I was able to understand about the use of variables. I clarify that what was solved was an issue that was left pending from the previous topic I wrote: https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=62938&p=546109#p545669 But the use of several variables in a variable is still an unknow...
by bonnie_641
Sun Aug 29, 2021 8:56 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make a date system (dating sim framework)
Replies: 3
Views: 1011

Re: How to make a date system (dating sim framework)

(Note: I have looked at the dating sim engine, but it seems to be outdated, and doesn't work the way I want. ) I don't know if this example works for you (it is based on the gas user's theme) init python: class dia_de_la_semana: dia_s = ("domingo", "lunes", "martes", "miércoles", "jueves", "viernes...
by bonnie_641
Sat Aug 28, 2021 10:48 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Change item in list
Replies: 6
Views: 1386

Re: Change item in list

All the time I spent absent from the forum was to resolve this issue. I tried hard. On the one hand, I managed to get her to identify each deck the letter that arrives to her (the corresponding message comes out). But I forgot a detail that is important: each card that arrives to a section cannot mo...
by bonnie_641
Tue Aug 17, 2021 9:13 pm
Forum: Ren'Py Cookbook
Topic: [CODE] Color Lines
Replies: 2
Views: 1861

Re: [CODE] Color Lines

Alex wrote:
Sat Aug 14, 2021 8:31 pm
lines.png
Classic logic game - move balls on the board to form straight lines, 5 or more balls in a line are removed.
I just saw it :oops:
I really liked this game. Thank you very much for sharing.
by bonnie_641
Tue Aug 17, 2021 8:53 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Change item in list
Replies: 6
Views: 1386

Re: Change item in list

(...) And in my_dragged function: # Let's place dragged item over item it was dropped onto. items_list[ind]["child"]["current"] = items_list[ind]["child"]["face"] # <--- change card's image #renpy.restart_interaction() # <--- to redraw card, but you already have it some lines below drags[0].snap(dr...
by bonnie_641
Mon Aug 16, 2021 9:52 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Change item in list
Replies: 6
Views: 1386

[Solved]Change item in list

Hello everyone. I have been practicing about lists. However, I have this problem. The list, at the beginning, shows the cards face down. $ items_list = [ {"name":"uno", "child":"images/d.png", "default_x_pos":197, "default_y_pos":202, "x_pos":197, "y_pos":202}, {"name":"dos", "child":"images/d.png",...
by bonnie_641
Fri Aug 13, 2021 6:59 pm
Forum: Ren'Py Questions and Announcements
Topic: About Renpy documentation
Replies: 5
Views: 1395

Re: About Renpy documentation

screen actions can call/run a function, but can't "create" a function. Oops :oops: I didn't know that XD Forgive my ignorance. In other words, use this as a reference, knowing it isn't an official guide. With that out of the way, here it is: https://github.com/jbondguy007/reading-renpy-screens-docs...
by bonnie_641
Thu Aug 12, 2021 5:02 pm
Forum: Ren'Py Questions and Announcements
Topic: About Renpy documentation
Replies: 5
Views: 1395

Re: About Renpy documentation

First of all I apologize for not answering in time (my laptop stopped working until I could buy the adapter). Thank you for taking the time to answer my questions. So the question is this; what part of the documentation causes you trouble? (...) (if it is screen language that is confusing you, do le...
by bonnie_641
Fri Aug 06, 2021 8:06 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Creating an image with flash effect.
Replies: 2
Views: 736

Re: Creating an image with flash effect.

Well, long story short. I need to create some readability. So every time an event results in a stat loss or gain there will be a border (either red or green) flashing to indicate a change. The easy way I found to do it was: show border_red pause .05 hide border_red Problem is I have to do this hund...
by bonnie_641
Wed Aug 04, 2021 9:17 pm
Forum: Ren'Py Questions and Announcements
Topic: About Renpy documentation
Replies: 5
Views: 1395

About Renpy documentation

After 3 years of joining this forum, I learned a lot about programming a game. Thanks to the community I progressed a lot in this project. I am very happy that everyone is willing to help (and I try to do the same when I can). However, I tried many times to follow the documentation and it was a tota...
by bonnie_641
Tue Aug 03, 2021 1:52 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Regards image path with renpy.show() function
Replies: 8
Views: 927

Re: Regards image path with renpy.show() function

$ renpy.show("pic", at_list=[ Transform(size=(300, 300)) ]) Where is it in the documentation? I didn't see it anywhere XD Is there any way to see it in the source code? any command? Thank you. I learned something new (I will rectify the errors I have in my game). Thanks for your time. You are welco...
by bonnie_641
Tue Aug 03, 2021 1:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Add text in image in list
Replies: 2
Views: 605

Re: [Help]Add text in image in list

Probably just make the list a list of displayables and use add instead. define disps = ( Text("txt1"), Text("txt2"), Fixed("image name", Text("txt3")) ) screen test(): for d in disps: add d It worked! :D Thank you very much <3 I leave backup in case I forget this process XD (or for someone who need...