Search found 22 matches

by LyannaCore
Sun Aug 09, 2020 8:21 pm
Forum: Ren'Py Questions and Announcements
Topic: How to add custom Text box UI and animate it sliding in
Replies: 5
Views: 395

Re: How to add custom Text box UI and animate it sliding in

Oh, right, forgot to say this method replaces the textbox, so either just replace the current textbox image with a fully transparent one, or maybe just background None And to get it to work, all you'd do is paste my code into your project, probably above the start label where you have your character...
by LyannaCore
Sun Aug 09, 2020 8:01 pm
Forum: Ren'Py Questions and Announcements
Topic: How to add custom Text box UI and animate it sliding in
Replies: 5
Views: 395

Re: How to add custom Text box UI and animate it sliding in

A possible solution to the show/hide problem. It uses a screen that checks if the say screen is being shown to control showing/hiding another screen. Just add show screen textbox_checker just after the start of the game. I tested it using full size (1920x1080) images, so you may need to adjust the n...
by LyannaCore
Sat Aug 11, 2018 2:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Generating buttons via a list
Replies: 6
Views: 2003

Re: Generating buttons via a list

Made a bit of progress on my own and think I got it working. screen systemmap_location_menus(location): modal True imagebutton: idle "gui/systemmap/5percent.png" hover "gui/systemmap/5percent.png" focus_mask None action Hide("systemmap_location_menus") frame: pos system...
by LyannaCore
Fri Aug 10, 2018 8:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Generating buttons via a list
Replies: 6
Views: 2003

Re: Generating buttons via a list

(It seemed like it would be best to re-open this topic rather than create a new one, but I can do that if it's preferred.) So I broke things again by once more adding extra complexity. This is the current code I'm working on. default systemmap_location_lists = { "sol" : #primary location {...
by LyannaCore
Wed Aug 08, 2018 10:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Help writing a function using lists and things
Replies: 3
Views: 511

Re: Help writing a function using lists and things

Thank you both for the help, I got both solutions to work and learned a lot about how to do things in different ways.
by LyannaCore
Wed Aug 08, 2018 4:57 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Help writing a function using lists and things
Replies: 3
Views: 511

[SOLVED] Help writing a function using lists and things

I seem to be unable to resist complicating my life, but my desires often outstrip my abilities. This time I am trying to create a function to determine how far a destination is, and calculate various things relating to that. I created a series of lists that contain distances between a current locati...
by LyannaCore
Wed Jun 20, 2018 12:01 am
Forum: Ren'Py Cookbook
Topic: Quest Log
Replies: 11
Views: 14811

Re: Quest Log

Thank you for the suggestions, but unfortunately the first doesn't work. With my imagebuttons like this: hbox: xpos 90 ypos 60 imagebutton: auto "gui/hud/Apps/Goals/old/current_%s.png" focus_mask True selected goal_app_currenttoggle == True action [ SetField(log, "tvar", "Ac...
by LyannaCore
Sun Jun 10, 2018 1:33 pm
Forum: Ren'Py Cookbook
Topic: Quest Log
Replies: 11
Views: 14811

Re: Quest Log

This seems like a dead topic unfortunately, but in case it's not I could use some help modifying the example to use in my own project. Currently, the buttons to switch between current and completed quests are generated automatically via a for loop, but I'd like to use my own, existing imagebuttons. ...
by LyannaCore
Tue May 29, 2018 5:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Generating buttons via a list
Replies: 6
Views: 2003

Re: Generating buttons via a list

Alright, after more tweaking and changes, I have gotten it to work the way I like. In case anyone else can find this useful, the code is like so. default systemmap_location_lists = { "sol" : { "coordinates": (450, 430), "buttons": [ "Dyson Ring", ], }, "m...
by LyannaCore
Mon May 28, 2018 4:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Generating buttons via a list
Replies: 6
Views: 2003

Re: Generating buttons via a list

Thank you both for the suggestions/help. I didn't know there was a difference between lists and dictionaries, but it makes sense looking at the docs. For the mouse_pos stuff, it was just part of the menu example I found/modified, I think it was intended for an inventory or something. I agree that it...
by LyannaCore
Mon May 28, 2018 1:16 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Generating buttons via a list
Replies: 6
Views: 2003

[SOLVED] Generating buttons via a list

I found a very helpful example on here for creating a menu using buttons, which pops up near the mouse when you click on a location button. http://tinyimg.io/i/L3iB6Uu.jpg default systemmap_location_lists = { "sol", "mercury", "venus", } screen systemmap_location_menus(...
by LyannaCore
Tue May 01, 2018 2:03 pm
Forum: Ren'Py Questions and Announcements
Topic: NVL entry placement adjustment [Solved]
Replies: 1
Views: 538

Re: NVL entry placement adjustment

Well I'm not sure what dumb thing I did to break it originally, but just adding yalign 1.0 to the vbox did what I want.
by LyannaCore
Sat Apr 28, 2018 2:21 pm
Forum: Ren'Py Questions and Announcements
Topic: NVL entry placement adjustment [Solved]
Replies: 1
Views: 538

NVL entry placement adjustment [Solved]

NVL by default starts adding entries at the top and they get tacked on underneath until the list length hits your limit. Is there a way to have them start at the bottom instead, still get tacked on underneath but push the older entries up? I'm guessing that it would require some adjustment to the nv...
by LyannaCore
Sun Mar 25, 2018 9:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with a function for setting facial expressions [solved]
Replies: 4
Views: 556

Re: Help with a function for setting facial expressions

Okay, it was just me being dumb and setting the wrong expression names in the function call. This is perfect, thank you again.
by LyannaCore
Sun Mar 25, 2018 8:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with a function for setting facial expressions [solved]
Replies: 4
Views: 556

Re: Help with a function for setting facial expressions

Thank you so much for the help. I've implemented the better/simpler one (because better/simpler) but it doesn't change the variables. No errors, just not seeming to do anything currently.