Search found 642 matches

by Milkymalk
Sun Jul 14, 2019 11:04 am
Forum: Ren'Py Questions and Announcements
Topic: conditional image and variable
Replies: 5
Views: 312

Re: conditional image and variable

Use a variable reference as the name and change the variable, as seen here: https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=56009&p=514661#p514694 Another option, though more complicated, would be to edit the speech boxes, but that's only necessary if you have changeable names and want to use ...
by Milkymalk
Sat Jul 13, 2019 3:00 pm
Forum: Completed Games
Topic: The Language of Love [BxG, Romance, SoL]
Replies: 3
Views: 1221

Re: The Language of Love [BxG, Romance, SoL]

What does "SoL" stand for?

We really need a glossary for all these abbreviations...
by Milkymalk
Fri Jul 27, 2018 7:57 am
Forum: Ren'Py Cookbook
Topic: Changing mouse pointer midgame.
Replies: 7
Views: 7299

Re: Changing mouse pointer midgame.

No problem. That method changes the cursor by changing a config variable, which can do all sorts of funny things outside of init blocks. Funny thing is, I used this method: setattr(config, "mouse", {"default": [("mousecursor.png", 0, 0) ]}) And revert it with: setattr(config, "mouse", None) Which wo...
by Milkymalk
Wed Jun 20, 2018 11:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with automatically loading files
Replies: 1
Views: 151

Re: Problem with automatically loading files

The problem lies here: "image img = None" is NOT Python and can not be used inside a function. It is Ren'py script and can only used outside of functions or python blocks. You need to be aware that there are actually four(!) languages used by Ren'py: Python, Ren'py script, screen language and ATL. W...
by Milkymalk
Wed Jun 20, 2018 11:40 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Inventory Screen
Replies: 5
Views: 351

Re: [solved] Inventory Screen

You can call a screen with arguments, just like a function. I've been told that defining and calling a screen with arguments is faster than calling it without, even if it's an empty argument list, so I've made it a habit to include them.
by Milkymalk
Wed Jun 20, 2018 1:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Inventory Screen
Replies: 5
Views: 351

Re: Inventory Screen

Just make a screen with a button:

Code: Select all

screen inventorybutton():
    textbutton "Inventory" xalign .95 yalign .05 action Show("inventoryscreen")
Show this screen and let it sit there.
by Milkymalk
Tue Jun 19, 2018 12:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Timeline Save States
Replies: 1
Views: 173

Re: Timeline Save States

I see what you are going for. You want each decision be final and to have impact, and to make the player think about what he wants to choose. That's not really a problem. Remove all keybindings and buttons that bring up the load/save screen and set this as True: define config.has_autosave = True def...
by Milkymalk
Thu May 31, 2018 11:48 am
Forum: Ren'Py Questions and Announcements
Topic: Image scaling / zooming
Replies: 10
Views: 462

Re: Image scaling / zooming

Ah cool, thanks. I always thought LiveComposite was something different than im.composite (due to the "Live" part). But I do see a trend of classes taking the place of functions.
by Milkymalk
Thu May 31, 2018 11:47 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Exception error "required parameter current_name has no value" at the end of code
Replies: 3
Views: 253

Re: [Solved] Exception error "required parameter current_name has no value" at the end of code

Kivik solved it in the other thread already, but it's as I suspected: The previous label carries over into this label, expecting parameters it didn't get. Labels aren't python functions. I you don't tell them what to do after they are finished, they will just go on to whatever is next in the file. I...
by Milkymalk
Thu May 31, 2018 8:12 am
Forum: Ren'Py Questions and Announcements
Topic: Image scaling / zooming
Replies: 10
Views: 462

Re: Image scaling / zooming

Oh okay, I just use it without looking it up :D
What is an alternative way of compositing images that is not deprecated?
by Milkymalk
Wed May 30, 2018 8:54 am
Forum: Ren'Py Questions and Announcements
Topic: Image scaling / zooming
Replies: 10
Views: 462

Re: Image scaling / zooming

It works on its own (even looks okay, just a bit darker where it's translucent), but it doesn't work inside an im.Composite. I can rewrite that part though. Thank you, I can use this!
by Milkymalk
Tue May 29, 2018 4:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Syntax for menu error, please help
Replies: 13
Views: 370

Re: Syntax for menu error, please help

Did you call the label name_accept with parameters? There should be 4.
by Milkymalk
Tue May 29, 2018 2:02 pm
Forum: Asset Creation: Art
Topic: Stats/Inventory Screen Critique
Replies: 5
Views: 666

Re: Stats/Inventory Screen Critique

It looks decent to me. However, the HP/MP almost look cut off in the first frame. (Which would worry me as a player as I need to know what my HP is!) I prefer the look by Moirnoir, FWIW, as it looks a bit more open/intuitive. That's only the preview. Click it and you see the full image :D (It might...