I could be wrong, but I don't think you want to have the $ inbetween the if and the variable name.
Renpy has an if statement.
Search found 22 matches
- Sat Nov 03, 2012 2:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: SyntaxError: invalid syntax in variables
- Replies: 3
- Views: 2571
- Sat Nov 03, 2012 2:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Showing a screen with a transition
- Replies: 8
- Views: 1240
Re: Showing a screen with a transition
Tried that, still doesn't work. Interestingly I'm using a default style for the UI elements and the buttons seemed to glow, ie the text colour gets brighter and stays that way....like it's hitting some kind of loop condition. Interestingly also, when I added an else that did $ phone_offset = phone_o...
- Sat Nov 03, 2012 2:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Showing a screen with a transition
- Replies: 8
- Views: 1240
Re: Showing a screen with a transition
I'll give that a go
- Sat Nov 03, 2012 10:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Showing a screen with a transition
- Replies: 8
- Views: 1240
Re: Showing a screen with a transition
OK, another small problem. I wanted to make some buttons to scroll through a text message on the phone $ phone_message = "You got mail\nand it's cool\nthat we can\nscroll through\na message\nYou got mail\nand it's cool\nthat we can\nscroll through\na message" $ show_p = True $ phone_offset = 0 show ...
- Sat Nov 03, 2012 9:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: Showing a screen with a transition
- Replies: 8
- Views: 1240
Re: Showing a screen with a transition
That worked awesomely Arowana I guess I was getting confused between transitions and transforms and didn't really know which was the right one to use. It "should" have worked with the transition, but works awesomely with the transform. The image is small. 334x444px Is it possibly because I didn't sp...
- Fri Nov 02, 2012 8:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Showing a screen with a transition
- Replies: 8
- Views: 1240
Showing a screen with a transition
Ok, so off the back of the last post, I have been advised to use a screen instead of calling my UI elements with python code, which is fine, however I can only get the Dissolve transition to work when showing the scree and can someone tell me why I have to use such rediculous x/ypos values when usin...
- Fri Nov 02, 2012 6:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Performing ATL within a python function
- Replies: 0
- Views: 366
Performing ATL within a python function
So, let's say I have a piece of code as follows, The show_phone function calls a ui element. I had to do it this way because I couldn't find a way to transition a ui window. I wanted the phone to slide in and then the UI to appear, but I couldn't get that, so I cheated slightly. The ATL block shows ...