Search found 17 matches

by jac600
Sun May 13, 2018 9:52 am
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

Re: How to call for a variable within a factor scale

It works! Thank you so very much. Sorry I had missed your mention of indexing in the prior message. Here in the finished code. image character_0: LiveComposite( (1000,1000), (0,0), "builder/[orientation_[1]]/head/head_[head_[1]]_outline.png", (0,0), "builder/[orientation_[1]]/body/body_[body_[1]]_ou...
by jac600
Sun May 13, 2018 9:41 am
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

Re: How to call for a variable within a factor scale

Perfect! Finally is it possible to extend the usage of [variable] to allow for indexed statements? If not, is it possible to implement multiple conditional statements to change the variables used within the image declaration?
by jac600
Sun May 13, 2018 9:22 am
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

Re: How to call for a variable within a factor scale

I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. That would be perfect, but whenever I tried that, I get the incorrect indention error. Likewise is there a way to make indexes work in the place where you have image character_0 = LiveComposite...
by jac600
Sat May 12, 2018 10:27 pm
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

Re: How to call for a variable within a factor scale

image side character_0 = LiveComposite( (0,405), (0,0), im.FactorScale("builder/front/head/head_1_outline.png", 0.3), (0,0), im.FactorScale("builder/front/body/body_2_outline.png", 0.3), (0,0), im.FactorScale("builder/front/arms/arms_2_outline.png", 0.3), (0,0), im.FactorScale("builder/front/ears/ea...
by jac600
Sat May 12, 2018 4:16 pm
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

Re: How to call for a variable within a factor scale

Greetings Kivik, We had always needed indexing, we just tried to simplify the original problem and didn't expect indexing to cause any errors outside the scope of the issue at hand. So from what you're saying interpolation won't work within a Im.FactorScale which we're currently using to reduce imag...
by jac600
Fri May 11, 2018 8:01 pm
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

Re: How to call for a variable within a factor scale

Greetings Kivik, Such interpolation works when done with text, however it isn't loading properly when used inside of an image declaration, hints the original issue. Likewise the indexing is relevant as this system will be applied to multiple characters within the game. Is there any way that such ind...
by jac600
Fri May 11, 2018 6:18 pm
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

Re: How to call for a variable within a factor scale

Essentially what we're trying to achieve is an extension of such.

image test_file:
test_image_[1] + "/head_1.png"
zoom 0.3

This doesn't work because the images are loaded before the code that defines test_image_[1]. Is there any way to work around this?
by jac600
Fri May 11, 2018 4:53 pm
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

Re: How to call for a variable within a factor scale

Sorry, further development. This is the example he gave. So this is sort of an extension of the problem stated prior. default test_image_ = ["test_1","test_2","test_3"] image test_file = im.FactorScale(test_image_[1] + "/head_1.png", 0.3) label issue_test: show image test_file return I'm sorry, but ...
by jac600
Thu May 10, 2018 6:16 pm
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

Re: How to call for a variable within a factor scale

Here's a response back from him.

Works: default test_file = "[test_image]/head_1.png"
Doesn't Work: default test_file = im.FactorScale("[test_image]/head_1.png", 0.3)

Within I'm.FactorScale it doesn't seem to be picking up the interpolation.
See original error.
by jac600
Thu May 10, 2018 5:27 pm
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 939

How to call for a variable within a factor scale

Question: How do I get [test_image] to read as "test'? In essence, I want im.FactorScale("[test_image]/head_1.png", 0.3) to read as im.FactorScale("test/head_1.png", 0.3) Simplified Sample Of The Problem: default test_image = "test" default test_file = im.FactorScale("[test_image]/head_1.png", 0.3) ...
by jac600
Fri Apr 27, 2018 5:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Interpolation in variable names
Replies: 1
Views: 226

Interpolation in variable names

Howdy, my friend has ran an issue involving Renpy. Outside of using strings he cannot interpolate variables properly. This is the example given. label test: $ character_value_1 = 1 $ character_value_2 = 2 $ character_value_3 = 3 $ character_value_4 = 4 $ character_value_5 = 5 $ x = 5 while x > 0: $ ...
by jac600
Fri Apr 20, 2018 2:56 pm
Forum: Ren'Py Questions and Announcements
Topic: How do I transfer held image variable into another image variable
Replies: 5
Views: 324

Re: How do I transfer held image variable into another image variable

Great Kivik! So the issue got fixed but a certain part of the problem wasen't covered with your solution. My friend was able to make a work around with your solution.
by jac600
Thu Apr 19, 2018 6:52 pm
Forum: Ren'Py Questions and Announcements
Topic: How do I transfer held image variable into another image variable
Replies: 5
Views: 324

Re: How do I transfer held image variable into another image variable

Hi there, thanks for the quick response again Alex, this is a message he wanted me to send you back. Says he's going for a image held in variable he can transfer to other variables Basically, if I have image player_initiative_token = "init_head_4.png" image player_initiative_coin = "init_head_5.png"...
by jac600
Thu Apr 19, 2018 6:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Side Images Not Appearing With Variable Styled Names!
Replies: 4
Views: 278

Re: Side Images Not Appearing With Variable Styled Names!

Thanks everybody! You replied super fast and were able to help out. My friend was skeptical, but your solution did solve his problem Alex! All of you have an awesome day.