Search found 1975 matches

by Alex
Sun Nov 18, 2018 7:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Inventory Help
Replies: 18
Views: 205

Re: Inventory Help

Well, you've deleted the "side "c r":" line... It must be vbox: pos (363, 0.05) anchor (0.0, 0.0) #### inventory slots frame: background Frame("images/inventory_screen.png", 1, 1) #file name including path from game folder (if needed) side "c r": # size of the inventory visible area area (0, 0, inv_...
by Alex
Sun Nov 18, 2018 5:50 pm
Forum: Ren'Py Questions and Announcements
Topic: reset of variable when main menu
Replies: 1
Views: 22

Re: reset of variable when main menu

If you want to store your variable properly use default statement -https://www.renpy.org/doc/html/python.h ... -statement

If you need your variable to persist through different gameplays use persistent variables instead - https://www.renpy.org/doc/html/persistent.html
by Alex
Sun Nov 18, 2018 5:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Inventory Help
Replies: 18
Views: 205

Re: Inventory Help

Hm, could you make a sample project with all images and inventory code and share it to let people try to find solution?
by Alex
Sat Nov 17, 2018 6:40 am
Forum: Ren'Py Questions and Announcements
Topic: Inventory Help
Replies: 18
Views: 205

Re: Inventory Help

The next thing to check is the size of "inventory_screen.png" - is it big enough for inventory frame? If not - try to stretch it, like background Frame("images/inventory_screen.png", 1, 1) https://www.renpy.org/doc/html/displayables.html#Frame Edit: # some images image candy = "images/items/candybar...
by Alex
Thu Nov 15, 2018 3:22 pm
Forum: Development of Ren'Py
Topic: Too much choices
Replies: 8
Views: 155

Re: Too much choices

Well, in Ren'Py you can achieve the desireable result in number of ways (in most cases ). So, you can try to mess with styles (modify existent or create your own) or hardcode the properties in screens without using any special style - choose what suits best for you. The modern gui system designed to...
by Alex
Thu Nov 15, 2018 2:02 pm
Forum: Development of Ren'Py
Topic: Too much choices
Replies: 8
Views: 155

Re: Too much choices

Well, if you consider it a bug only when the game crashes, then this is definitely not a bug. :) ... Yes, it's not a bug, this is the default behaviour of choice screen. This feature is just not out of box, due to not so much people ask about it. You can post here - https://lemmasoft.renai.us/forum...
by Alex
Thu Nov 15, 2018 1:44 pm
Forum: Ren'Py Questions and Announcements
Topic: Inventory Help
Replies: 18
Views: 205

Re: Inventory Help

Yes, you can set background property for frame, containing slots, and for each slot (that is button). This might be pre-made image (having relevant size) or a Frame("img.png", 1, 1) that will shrink/stretch to the size of the frame/button. Try vbox: pos (0.05, 0.05) anchor (0.0, 0.0) #### inventory ...
by Alex
Wed Nov 14, 2018 8:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Inventory Help
Replies: 18
Views: 205

Re: Inventory Help

Change this part #### Choose one option and delete the other: # # 1) show just text text item["name"] align (0.5, 0.5) # 2) show an image #add item["img"] align (0.5, 0.5) to #### Choose one option and delete the other: # add item["img"] align (0.5, 0.5)
by Alex
Wed Nov 14, 2018 3:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Inventory Help
Replies: 18
Views: 205

Re: Inventory Help

Try something like screen onscreeen_button(): textbutton "Inv" text_size 50 align (0.95,0.05) action If(not renpy.get_screen("inventory_scr"), Show("inventory_scr"), Hide("inventory_scr")) screen inventory_scr(): default description = None vbox: pos (0.05, 0.05) anchor (0.0, 0.0) #### inventory slot...
by Alex
Wed Nov 14, 2018 12:57 pm
Forum: Development of Ren'Py
Topic: Too much choices
Replies: 8
Views: 155

Re: Too much choices

You need to modify choice screen, check this thread - viewtopic.php?f=8&t=52172
by Alex
Wed Nov 14, 2018 12:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Say function mysteriously broken for one specific character?
Replies: 1
Views: 46

Re: Say function mysteriously broken for one specific character?

Somewhere in the script.rpy you've redefined your m character to transform m, a-a-nd - got an error while trying to use m as a speaking character... "The meadow blurs before as you're jerked backwards, passing through the darkened veil of the doorway." transform m: linear 3 zoom .1 hide m with disso...
by Alex
Fri Nov 09, 2018 6:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Error while trying to show a inventory screen
Replies: 3
Views: 89

Re: Error while trying to show a inventory screen

Try define circleirisout = ImageDissolve("imagedissolve circleiris.png", 1.0, ramplen=8) https://www.renpy.org/doc/html/transitions.html#ImageDissolve Also check slots for label "weapon" xalign 0.5 yalign 0,5 text_size 14 for yalign it must be 0.5 not 0 , 5 The same for label "Current Item" xalign 0...
by Alex
Wed Nov 07, 2018 12:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Current Battery Level
Replies: 9
Views: 286

Re: Current Battery Level

This should be in a cookbook...;)