Search found 159 matches

by pucedragonlord
Wed Mar 20, 2013 11:46 am
Forum: Ren'Py Questions and Announcements
Topic: "None type object not callable" [solved]
Replies: 4
Views: 642

Re: "None type object not callable"

Brilliant. That did it, thank you.
by pucedragonlord
Tue Mar 19, 2013 2:13 pm
Forum: Ren'Py Questions and Announcements
Topic: "None type object not callable" [solved]
Replies: 4
Views: 642

Re: "None type object not callable"

that's not actually an empty variable, it's a string that says "None". If run in normal python blocks, it works fine. It's just the "true=runReply()" part of that second question that it doesn't like. I made sure to check for that. hiding nonexistent things sounds good. I'll do that for the first is...
by pucedragonlord
Tue Mar 19, 2013 12:56 pm
Forum: Ren'Py Questions and Announcements
Topic: "None type object not callable" [solved]
Replies: 4
Views: 642

"None type object not callable" [solved]

so I have an "action If()" call in a screen... on "replace" action If(activeMessage.seen == False, true=[SetVariable("unread", unread - 1), SetField(activeMessage, "seen", True)] ) and it works fine unless the condition returns false. I don't want it to do anything in that case, but apparently I can...
by pucedragonlord
Mon Mar 18, 2013 8:34 pm
Forum: Ren'Py Questions and Announcements
Topic: centering text in the namebox [solved]
Replies: 2
Views: 444

Re: how would I go about centering the text in the namebox

Ah, thank you. Strangely, I had just stumbled on the style.say_label stuff. One more thing I can check off.
by pucedragonlord
Sun Mar 17, 2013 2:43 pm
Forum: Ren'Py Questions and Announcements
Topic: centering text in the namebox [solved]
Replies: 2
Views: 444

centering text in the namebox [solved]

I know it's style.say_who_window.something, but I'm not sure what. Most of what I've tried has ended up centering the namebox on screen.
by pucedragonlord
Wed Mar 13, 2013 4:24 pm
Forum: Ren'Py Questions and Announcements
Topic: local variable referenced before assignment
Replies: 2
Views: 350

Re: local variable referenced before assignment

aha. Strange, I haven't had to do that before. It worked, but I'd love to know why, if you know. Also, sort of related question, I have: if activeMessage.seen == False: unread -= 1 activeMessage.seen = True in a python block inside a screen. The activeMessage.seen = True part evaluates, but the unre...
by pucedragonlord
Wed Mar 13, 2013 1:46 pm
Forum: Ren'Py Questions and Announcements
Topic: local variable referenced before assignment
Replies: 2
Views: 350

local variable referenced before assignment

I'm getting an error message that says local variable "unread" referenced before assignment pointing to the line with the arrow below. This has me a bit thrown off because 1) unread isn't local and 2) it's assigned right above this function, and again after the start label. I get the error only when...
by pucedragonlord
Tue Mar 12, 2013 6:51 pm
Forum: Ren'Py Questions and Announcements
Topic: screen running before call
Replies: 0
Views: 322

screen running before call

Below are two screens in a series used for text messaging. For the most part, they work fine, but I'm getting some strange behaviour between these two. What should be happening is once the player gets to the "Sent" screen, that little python block runs, which will add the chosen reply to their mail ...
by pucedragonlord
Sat Jan 12, 2013 12:36 pm
Forum: Ren'Py Questions and Announcements
Topic: appearing/vanishing text on screen question
Replies: 2
Views: 328

Re: appearing/vanishing text on screen question

sounds like a good place to start. So within that would I be able to do something like: transform floatyText(words, xal, yal): show Text(words): xalign xal yalign yal on show: alpha 0.0 linear .5 alpha 1.0 on hide: linear .5 alpha 0.0 pause 5.0 hide Text(words) image floatyTextThing: contains: float...
by pucedragonlord
Fri Jan 11, 2013 4:21 pm
Forum: Ren'Py Questions and Announcements
Topic: appearing/vanishing text on screen question
Replies: 2
Views: 328

appearing/vanishing text on screen question

I'm trying to get an effect where lines of text will dissolve in somewhere (possibly somewhere random, but I might just give the illusion of randomness to avoid actual randoms), wait a bit, then dissolve out. The tricky bit is I want them to do this at different, but overlapping times. For example, ...
by pucedragonlord
Sun Dec 09, 2012 5:21 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]can't find NoRollback class
Replies: 2
Views: 356

Re: can't find NoRollback class

Works exactly the way I had hoped. Thank you again.
by pucedragonlord
Thu Dec 06, 2012 2:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Lots of choices / small screen
Replies: 7
Views: 950

Re: Lots of choices / small screen

Yeah, I'd use a viewport. If you don't know what that is, it's a box that only shows part of a bigger thing, like a small portion of an image, or part of a list too large to fit on screen. I'm using a couple for long lists of messages in my current project. They're pretty nifty. The documentation fo...
by pucedragonlord
Thu Dec 06, 2012 2:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]can't find NoRollback class
Replies: 2
Views: 356

[solved]can't find NoRollback class

I was informed of a trick to disable rollback for a single Class by importing renpy.NoRollback into it when defining the Class, but when I try that it gives me the "module object has no attribute NoRollback." For another piece of code (the shaker object from the cookbook), I had to import renpy.expo...
by pucedragonlord
Mon Nov 19, 2012 11:15 pm
Forum: Ren'Py Questions and Announcements
Topic: misbehaving transition
Replies: 1
Views: 486

misbehaving transition

show MC main at right show Mie main at right2 with move One would think this would move both these images at the same time, but for some reason it doesn't, it moves MC main then Mie main, as if they each had their own with move attached to them. That little chunk gets jumped to directly from the en...
by pucedragonlord
Wed Nov 14, 2012 12:07 am
Forum: Ren'Py Questions and Announcements
Topic: custom tranforms with variable positions [done]
Replies: 5
Views: 708

Re: custom tranforms with variable positions

Brilliant! Thanks again to everyone for all the answers.