Search found 49 matches

by ForklessAnon
Sat Oct 03, 2015 2:23 am
Forum: Ren'Py Questions and Announcements
Topic: curious ATL behavior
Replies: 6
Views: 439

Re: curious ATL behavior

I've tried that, all that does is add a fixed element on the outside of the ATL. The issue seems to be within the ATLTransform in relation to how the Fixed element affects the layout. When looking at the inspector, the structure of the image that is added to the is the ATL wraps a Fixed which holds ...
by ForklessAnon
Fri Oct 02, 2015 2:11 pm
Forum: Ren'Py Questions and Announcements
Topic: curious ATL behavior
Replies: 6
Views: 439

Re: curious ATL behavior

In relation to the thread subject, I ran across a strange occurrence that might be a bug with either the ATL or viewports. Problem: I'm trying to have a screen that can browse various images including those used as backgrounds. It has 2 modes: actual size and fitted zoom. It works perfectly with the...
by ForklessAnon
Mon Jun 01, 2015 11:26 am
Forum: Ren'Py Questions and Announcements
Topic: Animating a separate shadow on hover [SOLVED]
Replies: 4
Views: 638

Re: Animating a separate shadow on hover

SinnyROM wrote:I think I found a way to implement the separate shadows. You can use the hovered and unhovered properties of the imagebuttons and assign the appropriate transition to the shadow.

Code: Select all

*SNIP*
BY JOVE IT WORKS!
Finally. Thank you very much!
by ForklessAnon
Fri May 22, 2015 1:35 am
Forum: Ren'Py Questions and Announcements
Topic: Animating a separate shadow on hover [SOLVED]
Replies: 4
Views: 638

Re: Animating a separate shadow on hover

perhaps you should have two different animation and a function to make the shadow animation start and end when you hover the button. you can create the shadow as a button too but I don't think you can achieve hovering two objects at the same time. I've tried that, but to no avail. Though I probably...
by ForklessAnon
Wed May 20, 2015 4:08 am
Forum: Ren'Py Questions and Announcements
Topic: Animating a separate shadow on hover [SOLVED]
Replies: 4
Views: 638

Animating a separate shadow on hover [SOLVED]

I've been stuck on this animation issue for a while now. What I want to happen is when one of the main menu buttons are hovered, a separate shadow image is animated slightly different than the button itself. The shadow should offset down and to the right. I've tried various ways I could think of inc...
by ForklessAnon
Wed Apr 15, 2015 12:11 am
Forum: Ren'Py Questions and Announcements
Topic: Automatically clear nvl text [Solved]
Replies: 4
Views: 1164

Re: Automatically clear nvl text

Like I said, I'm not seeing that issue. Alright so it's something else in my code that's being screwy. Thanks for the help. Edit: Turns out that the info object was mucking up the rollback state for some reason. It works now. Edit2: MUCH simpler way that I should have used from the begining. ### Fu...
by ForklessAnon
Tue Apr 14, 2015 1:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Automatically clear nvl text [Solved]
Replies: 4
Views: 1164

Re: Automatically clear nvl text

philat wrote:I tried running your code (with a minor edit to make nvl_cleared a regular global variable). It seems to work fine with rollback for me.
Here's a video that displays the rollback bug when using said solution: http://puu.sh/hdQf7/2d9d3d13b3.mp4
by ForklessAnon
Tue Apr 14, 2015 8:32 am
Forum: Ren'Py Questions and Announcements
Topic: Automatically clear nvl text [Solved]
Replies: 4
Views: 1164

Automatically clear nvl text [Solved]

I've been doing some tests on reducing needed code for the story scripts of my game. I'm looking at a way to remove the need to have "nvl clear" by having it automatically run nvl_clear() after a certain amount of lines have been displayed. I've tried a few ways to accomplish this (nvl_clear() on ch...
by ForklessAnon
Sun Apr 12, 2015 5:11 pm
Forum: Ren'Py Questions and Announcements
Topic: TypeError: __call__() got an unexpected keyword argument.
Replies: 6
Views: 1360

Re: TypeError: __call__() got an unexpected keyword argument

## The color of an idle widget face. widget = "images/button_idle.png", ## The color of a focused widget face. widget_hover = "images/button_idle.png", ## The color of the text in a widget. widget_text = "#FFFFFF", ## The color of the text in a selected widget. (For ## example, the current value of...
by ForklessAnon
Mon Mar 23, 2015 7:51 am
Forum: Ren'Py Questions and Announcements
Topic: vbox problem. Number of buttons change placement. [SOLVED]
Replies: 2
Views: 481

Re: vbox problem. Number of buttons change placement.

When using the align property, both the pos and anchor values are set to that value. If you want to keep it at the same height, you'll need to set the second value in the vbox align tuple to either a specific pixel amount or set it to 0.0 which guarantees the anchor to be set at the very top. Using ...
by ForklessAnon
Sat Nov 22, 2014 7:37 pm
Forum: Ren'Py Questions and Announcements
Topic: image manipulators inside ATL (solved)
Replies: 7
Views: 1479

Re: image manipulators inside ATL

If I'm understanding how the image is supposed to be shown, here's an alternate version that seems to work (needs some tweaks to fit the source images). image logo: im.Composite( (300,300), #Required size. Make each dimension just a bit bigger than the largest value in that direction. (0,0), "images...
by ForklessAnon
Sat Nov 22, 2014 1:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Upgrading to 6.18 broke my screen code. [Solved]
Replies: 2
Views: 359

Re: Upgrading to 6.18 broke my screen code.

Oh. Good. config.interact_callbacks works. Thanks Tom!
by ForklessAnon
Sat Nov 22, 2014 12:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Upgrading to 6.18 broke my screen code. [Solved]
Replies: 2
Views: 359

Upgrading to 6.18 broke my screen code. [Solved]

I recently got back into development after a hiatus and upgraded to 6.18 from 6.17. In 6.17 (I believe it was the February release) the following code worked properly. {Removed} After I updated to the most recent release it stopped working properly. The buttons operate correctly but the audio is mes...
by ForklessAnon
Sat Nov 22, 2014 11:38 am
Forum: Ren'Py Questions and Announcements
Topic: image manipulators inside ATL (solved)
Replies: 7
Views: 1479

Re: image manipulators inside ATL

You could try im.AlphaMask( ) in combo with Solid( ). (This code is untested) image logo: "gfx/logo/logo_wing_white.png" alpha 0.0 zoom 5.0 xalign .5 yalign .5 parallel: linear 2.0 rotate 360 parallel: easein 2.0 zoom .7 parallel: linear 2.0 alpha 1.0 linear 1.0 im.AlphaMask(Solid('#fff'), "gfx/logo...
by ForklessAnon
Sun Nov 16, 2014 11:33 am
Forum: Ren'Py Questions and Announcements
Topic: Using unicode.. automatically? [solved]
Replies: 4
Views: 714

Re: Using unicode.. automatically?

I'll have to study enabling unicode strings by default, but that's certainly a 6.19 feature at the earliest. I'm not sure if this would work for renpy, but on another python project (made with 2.6), I used import sys reload(sys) sys.setdefaultencoding("utf-8") As the very first thing the program wo...