Search found 198 matches

by neometalero
Tue Apr 19, 2022 3:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Error: end of line expected
Replies: 5
Views: 363

Re: Error: end of line expected

Does the error go away if you delete "at saltoRapido"? If yes then you can't use transforms with screens. What you can do is that you can but the transform inside your screen and add an on show/hide to it. Like so: transform transformName: on show: alpha 0 linear 1 alpha 1 on hide: alpha ...
by neometalero
Tue Apr 19, 2022 12:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Error: end of line expected
Replies: 5
Views: 363

Error: end of line expected

I have this screen that shows with a transformation

Code: Select all

show screen palabraIra at saltoRapido
but Im getting the error "end of line expected", no idea what im doing wrong.
by neometalero
Fri Nov 12, 2021 3:51 am
Forum: Ren'Py Questions and Announcements
Topic: Change Image Alpha Channel
Replies: 1
Views: 734

Change Image Alpha Channel

I want to change an image alpha channel without having to show the image again, it's that possible?
by neometalero
Mon Oct 25, 2021 2:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Assign Image Alpha value from variable
Replies: 2
Views: 382

Re: Assign Image Alpha value from variable

Ocelot wrote: Mon Oct 25, 2021 2:29 pm Try pers1Vida/100.0 and see if it works.
That worked, tks a lot!!
by neometalero
Mon Oct 25, 2021 2:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Assign Image Alpha value from variable
Replies: 2
Views: 382

Assign Image Alpha value from variable

I'm trying to have the transparency of a character correlate with how much life it has. I try this but don't show the image, or give any error msg, any idea what to do? show AnimHombReposoLow: pos(400,140) zoom 0.7 #la escala alpha (pers1Vida/100) #la opacidad The life value (pers1Vida) is1 to 100 t...
by neometalero
Sat Oct 09, 2021 2:45 pm
Forum: Ren'Py Questions and Announcements
Topic: language Variable use
Replies: 3
Views: 397

Re: language Variable use

Tks! I used the variable _preferences.language to get the string, and worked just fine
by neometalero
Sat Oct 09, 2021 10:34 am
Forum: Ren'Py Questions and Announcements
Topic: language Variable use
Replies: 3
Views: 397

language Variable use

I'm trying to change a string in a variable according to the selected language, but I'm not managing to get witch variable is the one used for the language change. Any ideas? I'm using this at the moment, but it's not working. if persistent.lang is None: $abstractTxt="fear" #pone el texto ...
by neometalero
Wed Aug 04, 2021 12:10 pm
Forum: Ren'Py Questions and Announcements
Topic: imagebutton action invalid syntax
Replies: 2
Views: 667

Re: imagebutton action invalid syntax

hell_oh_world wrote: Wed Aug 04, 2021 11:54 am

Code: Select all

action [Play("sound", "sounds/Unlock.mp3"), SetDict(persistent.gallery_1_list[0], 1, 0), Hide("HidImg01")]
Tks! that worked great!
by neometalero
Wed Aug 04, 2021 10:16 am
Forum: Ren'Py Questions and Announcements
Topic: imagebutton action invalid syntax
Replies: 2
Views: 667

imagebutton action invalid syntax

Im working on this imagebutton but im not sure of the syntax to include the $ persistent.gallery_1_list[0][1] = 0 or to make the screen hide at the end of the action. screen HidImg01: imagebutton: xpos 1558 ypos 242 idle "HidImgPoints/HIm01.png" hover "HidImgPoints/HIm01Hov.png" ...
by neometalero
Mon Aug 02, 2021 6:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Change values in an arraylist
Replies: 3
Views: 701

Re: Change values in an arraylist

Array / list indices are referenced by numeric indices, so $ persistent.gallery_1_list[0][1] = 0 would reference the first index of persistent.gallery_1_list (the ["KnightArmorConcept01", 1] bit) and then reference the second index of that tks! that worked just fine. I didn't knew what th...
by neometalero
Mon Aug 02, 2021 5:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Change values in an arraylist
Replies: 3
Views: 701

Change values in an arraylist

I want to change values in an arraylist. I have this list default persistent.gallery_1_list = [ ["KnightArmorConcept01", 1], ["KnightArmorConcept02", 0], ["CapeNHoodConcept",0], ["CrossWeaponConcept01",0], ["CrossWeaponConcept02",0], ["CrossWeap...
by neometalero
Sat Jun 19, 2021 5:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Add volume slider for new audio channel in Menu
Replies: 4
Views: 897

Re: Add volume slider for new audio channel in Menu

Alex wrote: Sat Jun 19, 2021 11:34 am Try to apply the proper style to button (or specify it inside a Variable Value - see the link about it).
Tks! I applied the slider style to it and worked just fine.
by neometalero
Sat Jun 19, 2021 10:21 am
Forum: Ren'Py Questions and Announcements
Topic: Add volume slider for new audio channel in Menu
Replies: 4
Views: 897

Re: Add volume slider for new audio channel in Menu

I defined a new audio channel like this init python: renpy.music.register_channel("efectos", "sfx", False) works fine, but now I want to add a slider on the options menu so you can control the volume of this channel. How would I do this? Try to create a variable to store this ch...
by neometalero
Fri Jun 18, 2021 2:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Add volume slider for new audio channel in Menu
Replies: 4
Views: 897

Add volume slider for new audio channel in Menu

I defined a new audio channel like this

Code: Select all

init python:
    renpy.music.register_channel("efectos", "sfx", False)
works fine, but now I want to add a slider on the options menu so you can control the volume of this channel. How would I do this?
by neometalero
Fri Jun 04, 2021 12:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Displaying long texts, Parsing error
Replies: 7
Views: 573

Re: Displaying long texts, Parsing error

You can also use triple-quoted strings: image txScroll02 = Text( """In the year 2121 it started. Humanity was One World Order. Countries still held separate leaders but they all were just puppets to 7 major corporations which owned everything and the few billionaires that controlled ...