Search found 2521 matches

by Alex
Thu May 07, 2020 1:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Have NVL mode fit in a box
Replies: 11
Views: 743

Re: Have NVL mode fit in a box

Kinmoku wrote:
Tue May 05, 2020 4:49 am
...
Try

Code: Select all

            viewport id "vp":
                #draggable True
                yinitial 1.0
This might be that game isn't progress 'cause it treats mouse click over the viewport as an attempt to drag it.
by Alex
Sat May 02, 2020 3:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Showing game stats on file slots?
Replies: 24
Views: 523

Re: Showing game stats on file slots?

... Looks like you ought to move all the sizing and other stuff to the 'save_slot' screen. In 'test_save_scr' then you can use your own variables, like $ store.save_name = name+", "+job+"|"+money+"|"+clef+"|"+hours+" h and "+minutes+" m in town"+"|"+metnum+"|"+maxnum+"|"+songs hbox: text "{size=16}...
by Alex
Sat May 02, 2020 2:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Showing game stats on file slots?
Replies: 24
Views: 523

Re: Showing game stats on file slots?

... Hm, in my sample 'save_name' variable is used as it usually used. So, as long as your 'save_name' variable is stored in save file it should show up in load screen properly. Check if you set it properly in "test_save_scr" screen (in my sample). Also, check the "file_slots" screen if you use the ...
by Alex
Sat May 02, 2020 11:45 am
Forum: Ren'Py Questions and Announcements
Topic: Showing game stats on file slots?
Replies: 24
Views: 523

Re: Showing game stats on file slots?

...My problem here is that "save_name" takes only one string and, as I said in my original post, I'd like to have some parts of the text aligned to the left, others to the center and others to the right. ... You could try to make such a system: - make a screen to dynamicaly set 'save_name' variable...
by Alex
Wed Apr 29, 2020 3:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 324

Re: Need to click twice to advance in certain dialogue

There are many ways to achieve the goal in Ren'Py. You could call the screen to make player interact with this screen only until it returns something. You could set modal property to the screen, so game won't go farther until you hide this screen. You can use ui.interact to wait for something to be ...
by Alex
Tue Apr 28, 2020 3:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 324

Re: Need to click twice to advance in certain dialogue

... What are the screens show screen statsbar show screen lui(aim) show screen lsb(aim) they seem to be never hided? Any chance that you hide them by first click and only then can click to go farther in game? And what's the screen 'girlsb' that you hiding by clicking the button? action [(SetVariabl...
by Alex
Tue Apr 28, 2020 2:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 324

Re: Need to click twice to advance in certain dialogue

...EDIT: Okay, a little note on this one: as you surely know "memotuto" is a tutorial of the minigame, which is called only once, if "memotuto" has never been seen in the system before. Okay, turns out that if I delete persistent and go through this label again, the line of dialogue "You want me to...
by Alex
Tue Apr 28, 2020 12:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 324

Re: Need to click twice to advance in certain dialogue

Adrian_DVL wrote:
Tue Apr 28, 2020 9:23 am
...
Since you've called 'memotuto' and 'memo' labels, check if game properly returned back from 'aim_win' or so label.
by Alex
Thu Apr 23, 2020 3:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Have NVL mode fit in a box
Replies: 11
Views: 743

Re: Have NVL mode fit in a box

... Try this sample screen nvl(dialogue, items=None): frame: pos (400, 100) side "c": area (0, 0, 480, 500) viewport id "vp": draggable True yinitial 1.0 vbox: spacing gui.nvl_spacing use nvl_dialogue(dialogue) ## Displays the menu, if given. The menu may be displayed incorrectly if ## config.narra...
by Alex
Tue Apr 21, 2020 4:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Have NVL mode fit in a box
Replies: 11
Views: 743

Re: Have NVL mode fit in a box

Kinmoku wrote:
Tue Apr 21, 2020 4:27 am
...I don't mind even having a scrollbar for this to work, but I'm sure there must be a solution :(
Try to put the nvl box with dialogues inside a viewport - viewtopic.php?f=8&t=23434#p293323
by Alex
Tue Apr 21, 2020 4:03 pm
Forum: Ren'Py Questions and Announcements
Topic: can a 'hovered' event have a delay before activating?
Replies: 1
Views: 141

Re: can a 'hovered' event have a delay before activating?

Try to make a transform that change alpha from 0 to 1 taking some time, and apply this transform to your tooltip screen's content. transform my_tr: alpha 0.0 0.5 linear 0.5 alpha 1.0 screen strength_TT(): text "STRENGTH" at my_tr https://www.renpy.org/doc/html/atl.html#transform-statement
by Alex
Mon Apr 20, 2020 2:11 pm
Forum: Ren'Py Questions and Announcements
Topic: config.mouse changes not applying (Solved!)
Replies: 2
Views: 166

Re: config.mouse changes not applying

Just a shot in the dark, check if you have some config.mouse declaration in other file in your game folder?
by Alex
Sun Apr 19, 2020 12:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved with a workaround] Issues returning to main menu from a screen using simple python and code within a label
Replies: 5
Views: 335

Re: Issues returning to main menu from a screen using simple python and code within a label

ComputerArt.Club wrote:
Fri Apr 17, 2020 11:49 am
...When tag is changed to menu the following code doesn't work:

Code: Select all

on "show" action OpenURL(...)
This is actually the whole point of this parental gate, so that line is important. ...
Sorry, for late reply, and you also can try

Code: Select all

timer 0.1 action OpenURL(...) repeat False
by Alex
Thu Apr 16, 2020 2:19 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 575

Re: Problem: Viewport is changing my adjustments range

screen rpg_map: fixed: viewport: scrollbars None draggable True id "map_viewport" area (0, 0, config.screen_width, config.screen_height) You still use 'fixed'... try screen rpg_map: side "c":# b r": area (0, 0, config.screen_width, config.screen_height) viewport: scrollbars None draggable True id "...
by Alex
Thu Apr 16, 2020 2:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Viewport is changing my adjustments range
Replies: 15
Views: 575

Re: Problem: Viewport is changing my adjustments range

... there must be something elsewhere in my code or maybe even my setup that's somehow interfering with the viewport positioning. Try to get rid of position calculations - put your map in a grid or v/hboxes. I've got issues when tried to calculat individual positions of tiles. Looks like it makes t...