Search found 126 matches

by orz
Fri Sep 25, 2015 5:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Animated movement with AlphaMask problem [SOLVED]
Replies: 14
Views: 1499

Re: Animated movement with AlphaMask problem

Okay, you'll have to do some rethinking as to how you've coded it. The point of AlphaMask is to take an image, a mask, and to spit back one image - not something with multiple components. If you need them to be separate components, you have to program it *as separate components*. How to do it exactl...
by orz
Fri Sep 25, 2015 12:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Animated movement with AlphaMask problem [SOLVED]
Replies: 14
Views: 1499

Re: Animated movement with AlphaMask problem

I misunderstood your problem - skimmed too fast. Thought you were saying only one part was moving when you wanted all of it to move, not the opposite.

I'll have to do some reading on what exactly AlphaMask is and does.
by orz
Fri Sep 25, 2015 12:25 pm
Forum: Ren'Py Questions and Announcements
Topic: GUI Coding- Skips Main Menu, No Exception Error Given
Replies: 1
Views: 399

Re: GUI Coding- Skips Main Menu, No Exception Error Given

Try changing "screen main_menu:" to "screen main_menu():"
by orz
Fri Sep 25, 2015 12:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Trouble with python string interpolation
Replies: 1
Views: 346

Re: Trouble with python string interpolation

If you're using interpolated strings in a screen, use square brackets instead. It's simpler, and faster.

Example:

Code: Select all

init python:
    foo = "John Jacob Jingleheimer Schmidt"

screen test:
    text "Hello, my name is [foo]"

label start:
    call screen test
by orz
Fri Sep 25, 2015 12:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Animated movement with AlphaMask problem [SOLVED]
Replies: 14
Views: 1499

Re: Animated movement with AlphaMask problem

Why not make the image a composite (using LiveComposite) and just moving that around?
by orz
Fri Sep 25, 2015 12:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Can I use any function from PyGame in RenPy?
Replies: 1
Views: 315

Re: Can I use any function from PyGame in RenPy?

As far as I know, you can import pretty much anything written in python, including PyGame.

Now, getting it to work with RenPy the way you want or think it should work will probably require a bunch of hoop-jumping.
by orz
Mon Sep 14, 2015 8:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Misaligned overlapping screen
Replies: 8
Views: 746

Re: Misaligned overlapping screen

You could, instead, make a transform with the simple properties of "xpadding 0" and "ypadding 0", and just make all of your frames use that transform. That way it's essentially a "default".
by orz
Sun Sep 13, 2015 7:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Using SetVariable outside of action in imagebutton[SOLVED]
Replies: 8
Views: 599

Re: Can you use SetVariable outside of action in imagebutton

Pretty sure using SetVariable automatically runs restart_interaction, but Function does not.

That said, you *can* use SetVariable outside of an action... but that's neither here nor there.
by orz
Sat Sep 12, 2015 7:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Viewport with Buttons and Foreground
Replies: 4
Views: 1288

Re: Viewport with Buttons and Foreground

tiliv, I believe renpy saves the difference between the children, instead of constantly keeping multiple full ones.

I stumbled upon this a while ago when I was looking at the images renpy had loaded and found that it had the differences cropped between my "idle" and "hovered" imagemap.
by orz
Sat Sep 12, 2015 7:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Stopping interaction with other screens while 'say' is up
Replies: 2
Views: 259

Re: Stopping interaction with other screens while 'say' is u

I'm not sure if I have what you're wanting 100% correct in my head, but have you tried setting "modal True" whenever you call a Say screen on top of a viewport?
by orz
Fri Sep 11, 2015 7:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Misaligned overlapping screen
Replies: 8
Views: 746

Re: Misaligned overlapping screen

Could you post a screenshot of what you're describing? For some reason I'm not visually getting it.
by orz
Thu Sep 03, 2015 1:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton custom path
Replies: 19
Views: 1505

Re: Imagebutton custom path

You should resolve the issue in some other way. Also, using "temp" so many times as a name is very unreadable for anyone else -- it's hard to figure out the intent behind what you're trying to do with your code. It's fine for very temporary testing and when you're the only one reading it, but good v...
by orz
Thu Sep 03, 2015 12:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton custom path
Replies: 19
Views: 1505

Re: Imagebutton custom path

I think he was asking more in general terms. Edit: Either way, here's a problem in the coding logic you have. You instanced a class, and stored that instance in a variable. Later, you try adding that variable (containing the instanced class) to two other variables. You then try using those two other...
by orz
Thu Sep 03, 2015 11:20 am
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton custom path
Replies: 19
Views: 1505

Re: Imagebutton custom path

Oh right this is class should I copycopy it? That function isn't even in the class. And if it was, if you were wanting to use it like a class method or something like that, it'd require "self" as a parameter. Also, what trooper6 said is correct - I'm pretty sure there's a much easier way of doing w...