Search found 87 matches

by jw2pfd
Thu Apr 27, 2017 2:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Automatically use transform when showing image
Replies: 6
Views: 1215

Re: Automatically use transform when showing image

I think the easiest way is to stick with transforms separated by commas. There are two things I looked up that are very roughly in the ballpark of what you're describing:
https://renpy.org/doc/html/displayables.html#At
https://renpy.org/doc/html/config.html? ... _transform
by jw2pfd
Fri Apr 21, 2017 11:52 am
Forum: Ren'Py Questions and Announcements
Topic: Readback - Excluding Text?
Replies: 6
Views: 1462

Re: Readback - Excluding Text?

Are we talking about the rollback feature or is this a different feature..? And I don't know about you but when I tested this, changing _history didn't do anything. I may have misunderstood, but I interpreted the question to be about the History tab on the menu and the desire for some things to not...
by jw2pfd
Thu Apr 20, 2017 6:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Labels not being recognized
Replies: 3
Views: 582

Re: Labels not being recognized

Sorry if this is an incredibly dumb question, but I am very new to this. Either way, I have 5 different labels (3 options that lead into 2 other options for a total of 5 different labels); however, none of the labels are recognized. This is because of how the syntax should be. You are writing lines...
by jw2pfd
Thu Apr 20, 2017 5:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Readback - Excluding Text?
Replies: 6
Views: 1462

Re: Readback - Excluding Text?

https://renpy.org/doc/html/history.html
The _history variable can be used to disable and re-enable history storage.
by jw2pfd
Thu Apr 20, 2017 3:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Moving menu buttons?
Replies: 4
Views: 2164

Re: Moving menu buttons?

Then my next question is; can transform be more randomised? So it'd be more difficult to click on the buttons? You can make it as random as you want really. It depends on the type of behavior you want the buttons to exhibit and then could make a transform that does it. I kept my example simplified ...
by jw2pfd
Wed Apr 19, 2017 8:28 pm
Forum: Ren'Py Questions and Announcements
Topic: TypeError: 'unicode' object is not callable
Replies: 7
Views: 5522

Re: TypeError: 'unicode' object is not callable

I think your problem is in these two lines: input default "FirstName" length 10 allow "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" changed persistent.mc input default "LastName" length 10 allow "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" c...
by jw2pfd
Wed Apr 19, 2017 4:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Moving menu buttons?
Replies: 4
Views: 2164

Re: Moving menu buttons?

The short answer is yes. This is definitely possible. It uses screen language and ATL. Learn more about those things in these links: https://renpy.org/doc/html/screens.html https://renpy.org/doc/html/screen_actions.html https://renpy.org/doc/html/atl.html I messed with some code that doesn't provide...
by jw2pfd
Tue Apr 18, 2017 3:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Showing a new Menu once a goal is reached
Replies: 6
Views: 905

Re: Showing a new Menu once a goal is reached

I think he is trying to point out that they're the same conditional: if leave >= 3: This means they're checking for exact the same condition instead of different ones. This isn't causing any sort of syntax error though. When does the error occur while the program is running? Is it right when the men...
by jw2pfd
Tue Apr 18, 2017 2:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton appears before animation
Replies: 4
Views: 595

Re: Imagebutton appears before animation

It's possible to prevent the user from clicking it for a set amount of time. I would try it this way although there may be an easier way. In your main code, you can add a variable just before you call the screen. $ loaded = False # whatever code you have for your call screen Then you can add a timer...
by jw2pfd
Mon Apr 17, 2017 9:07 pm
Forum: Ren'Py Questions and Announcements
Topic: how to "redeclare" images?
Replies: 2
Views: 417

Re: how to "redeclare" images?

Try this: label csf: $ outfit = "f" #<-- this is the only line to change, make it a single equals sign scene closet with Dissolve(0.5) show cf "very classy!" There is a difference between the single equals and double equals. A single equals will assign a value. The double equals ...
by jw2pfd
Mon Apr 17, 2017 8:53 pm
Forum: Ren'Py Questions and Announcements
Topic: string variable within a string variable
Replies: 3
Views: 709

Re: string variable within a string variable

Try this: default povname = ##defined by the player with code and I'm not typing all that here default lover = "Guy" default ending = "Guy and " + povname + "'s Good End" #<--- here is the change This is because of how string operations work. The bracketed variable name...
by jw2pfd
Sat Apr 15, 2017 3:26 pm
Forum: I am a Programmer, Director, or Other
Topic: Ren'Py/Python Programmer [available]
Replies: 0
Views: 534

Ren'Py/Python Programmer [available]

I am a programmer with many years of experience and I have messed with Ren'Py and Python off and on for over four years. It has been a long time since I have made an effort to get back into makings VNs. I have shared some of my code in the cookbook section in the past. (https://lemmasoft.renai.us/fo...
by jw2pfd
Thu Apr 13, 2017 10:08 pm
Forum: Ren'Py Questions and Announcements
Topic: I am getting an AttributeError? [Solved]
Replies: 2
Views: 868

Re: I am getting an AttributeError?

The variable fbpwmag1 seems to hold a simple integer value when the 'buy' function is called, but it looks like it needs to be an 'Item' object from your code. You should check the last time value of fbpwmag1 is changed before the line that causes the error runs.
by jw2pfd
Tue Nov 22, 2016 5:34 am
Forum: Ren'Py Questions and Announcements
Topic: Moveout not working at all? [SOLVED]
Replies: 1
Views: 411

Re: Moveout not working at all?

I believe this is because 'moveout' only triggers on 'hide' and not on 'show'.

Code: Select all

    hide sample character_1 happy with moveoutright   #change your line of code to this
Also, when you copy and paste code, it works better if you use the code tag so people can see the correct indentation.
by jw2pfd
Tue Nov 22, 2016 5:25 am
Forum: Ren'Py Questions and Announcements
Topic: Disable skipping for a scene, with skip all button
Replies: 4
Views: 3478

Re: Disable skipping for a scene, with skip all button

I am not sure if this will suit your exact purposes or not, but a hard pause may work for what you need. https://www.renpy.org/doc/html/other.html#renpy.pause $ renpy.pause(5.0, hard=True) #replace 5.0 with whatever time you actually need The hard flag being set to True makes it so users can't click...