Search found 31 matches

by Aoide
Tue Oct 06, 2015 9:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Dynamic declaration of LiveComposite?
Replies: 2
Views: 220

Re: [SOLVED] Dynamic declaration of LiveComposite?

That worked perfectly, thanks so much!
by Aoide
Tue Oct 06, 2015 6:03 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Dynamic declaration of LiveComposite?
Replies: 2
Views: 220

[SOLVED] Dynamic declaration of LiveComposite?

I need to make my LiveComposite declaration dynamic (ie. use the same code to declare a composite with, say, 2 images and then a different composite with, say, three images), but I've been unable to find anything that would show me how to do that. Instead of: LiveComposite( (100,100), (0,0), "images...
by Aoide
Tue Sep 08, 2015 8:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Is there an imagebutton for Displayables?
Replies: 4
Views: 333

Re: Is there an imagebutton for Displayables?

Kia, thanks for your help! I think Wolf may have given me a way to get what I want to work. :) Did you try to use ImageReference("name") already? Worked for me. If i understood you correctly that could help I wasn't aware of that function (apparently it's only on the old wiki and not the new documen...
by Aoide
Tue Sep 08, 2015 4:35 am
Forum: Ren'Py Questions and Announcements
Topic: Is there an imagebutton for Displayables?
Replies: 4
Views: 333

Is there an imagebutton for Displayables?

Is there any way to have an imagebutton (or equivalent) using an image that is already a Displayable? As a test, I set this up: transform tHUD_test: ypos -0.2 on idle: easein 0.3 ypos -0.2 on hover: easein 0.3 ypos -0.14 screen testHUD: window: xfill True yfill True imagebutton idle "images/rope.png...
by Aoide
Tue Sep 02, 2014 1:29 am
Forum: Ren'Py Questions and Announcements
Topic: [S] Hover functionality using a creator-defined displayable?
Replies: 2
Views: 1122

Re: [S] Hover functionality using a creator-defined displaya

Thanks, PyTom! I had moved around the renpy.redraw() a few times, but that was one combination that I apparently didn't try out... :oops: Anyway, for those who are interested, here is a working version of the test program: # ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ # # test.rpy [Animation tes...
by Aoide
Mon Sep 01, 2014 12:30 am
Forum: Ren'Py Questions and Announcements
Topic: [S] Hover functionality using a creator-defined displayable?
Replies: 2
Views: 1122

[S] Hover functionality using a creator-defined displayable?

My problem has been SOLVED, thanks! (I couldn't get [SOLVED] to fit in the subject heading...) How can I get a child displayable to animate based on a mouse hover? I've been working on a menu code using creator-defined displayables to replace the default Ren'Py main menu. I've hit a snag when it co...
by Aoide
Mon Oct 17, 2011 7:10 am
Forum: Development of Ren'Py
Topic: Submitting a framework?
Replies: 6
Views: 1207

Re: Submitting a framework?

I've uploaded the framework to the Frameworks Wiki page . I intend to write supporting documentation this week, but for now the English/Japanese keyboard should be plug-and-play for their respective languages. I was kind of wondering if it supported input-method style functionality, but that's compl...
by Aoide
Sun Oct 16, 2011 3:39 am
Forum: Development of Ren'Py
Topic: Submitting a framework?
Replies: 6
Views: 1207

Re: Submitting a framework?

Awesome, thanks :) The easiest way is to create an account on the wiki, and let me know what it is. I'm UnicornStudiosOsaka on there too; I created an account when I updated the Japanese translation page. Can you describe how this framework works, to the end user? Like how they enter non-basic chara...
by Aoide
Sun Oct 16, 2011 12:59 am
Forum: Development of Ren'Py
Topic: Submitting a framework?
Replies: 6
Views: 1207

Submitting a framework?

I've recently completed a soft keyboard system for Ren'Py that allows users to input characters in both English and Japanese (with the ability to expand into other languages). Since renpy.Input currently disallows special characters, I wanted to offer this as a framework for people who need a more f...
by Aoide
Sun Oct 16, 2011 12:29 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Showing a screen at position
Replies: 2
Views: 337

Re: Showing a screen at position

If you can use Show instead of ShowMenu for your screen, the following code should work: screen parent_screen: frame: textbutton _("Show this_screen") action Show("this_screen",x=350) screen this_screen: frame: xpos x text "This screen" The Show() function allows for variables to be passed to the sc...
by Aoide
Sat Oct 15, 2011 2:07 am
Forum: Ren'Py Questions and Announcements
Topic: Screen questions
Replies: 4
Views: 422

Re: Screen questions

You need to define currentChar.

Stick this somewhere and it should work:

Code: Select all

init:
    $currentChar = 0
You can set currentChar to whatever value you want; it'll act as a default value.
by Aoide
Fri Oct 14, 2011 10:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Screen questions
Replies: 4
Views: 422

Re: Screen questions

1) I have a character-selection menu made of imagebuttons in the main menu. They return a value to a variable 'currentChar'. I saw that the way to get that variable was to call the screen after the start label, then write $ currentChar = _return. But because the screen is the main menu, it would be...
by Aoide
Fri Oct 14, 2011 10:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Keeping windows of variable height/width within the screen
Replies: 2
Views: 405

Re: Keeping windows of variable height/width within the scre

Thanks for your reply. In a future version of Ren'Py it might be nice to have a screen property like "forceonscreen True" to force the particular screen element to stay within the config.screen_width and config.screen_height parameters. I got the code to work for the most part, except that the very ...
by Aoide
Fri Oct 14, 2011 4:04 am
Forum: Ren'Py Questions and Announcements
Topic: Keeping windows of variable height/width within the screen
Replies: 2
Views: 405

Keeping windows of variable height/width within the screen

I'm currently designing a map module that allows users to specify the placement of markers on a map and will display the place name in a window when the cursor hovers over the marker. I want to insert a check to see if any part of the window is out of screen boundaries and adjust accordingly, but I ...
by Aoide
Wed Jul 13, 2011 9:12 pm
Forum: Development of Ren'Py
Topic: 6.12.x: Translation Support
Replies: 12
Views: 2158

Re: 6.12.x: Translation Support

You can simply overwrite the screen. That still makes it work like a hack, though, because the new menu would overwrite whatever changes the user has made to their menu. Not to mention that it would be repetitive code; overwriting the entire menu means copying/pasting several lines of code in order...