Search found 33 matches
- Sun Oct 14, 2018 10:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Vertical/Rotated text on a screen
- Replies: 3
- Views: 2396
Re: Rotate the text of a screen
Try: transform: rotate 25 text "Hello world" I tried it and it worked, however if I changed the text it would have moved on the X axis. It never stood still. The problem is that my text needs to change length (Sometimes I want it to show a short word, sometimes a long word) and because of...
- Sat Oct 13, 2018 3:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Vertical/Rotated text on a screen
- Replies: 3
- Views: 2396
[Solved] Vertical/Rotated text on a screen
Hello. Simple question. How can you rotate text on a screen? I've searched online but I've only seen solutions for rotating images, solutions that didn't work for text. I tried adding the text with a transform text "Test: xalign 0.5 rotate 90 But this gives me an error, claiming that the rotate...
- Sat Oct 13, 2018 1:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]Making a black box on the right side of the screen
- Replies: 2
- Views: 617
Re: Making a black box on the right side of the screen
You mix fraction of a screen (1.0) and position in pixels (250). Try to use here config.screen_width variable that sets the width of a game screen, like screen m_info_screen: zorder 1000 frame: area(config.screen_width-250,0,250,200) xanchor 0.0 yanchor 0.0 background Solid("#000000") htt...
- Sat Oct 13, 2018 9:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]The pause tag in the text doesn't continue
- Replies: 4
- Views: 842
Re: The pause tag in the text doesn't continue
Late update: If anyone runs into this issue in the future I figured out the problem, or at least I found a solution. In both of my cases, before i had the line with the pause tag I had a line for the music channel. nvl_s "Aaaaaahh! {nw}" $ renpy.music.set_volume(1.0, delay=2.0, channel=2) ...
- Sat Oct 13, 2018 9:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]Making a black box on the right side of the screen
- Replies: 2
- Views: 617
[solved]Making a black box on the right side of the screen
Haven't really got the hang of creating my own screens in Renpy yet and I'm running into this problem. I want to make a black box with a specific size on the right side of my screen. I made it work for the left side of the screen using this code: screen m_info_screen: zorder 1000 frame: area(0,0,250...
- Mon Jun 25, 2018 12:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]The pause tag in the text doesn't continue
- Replies: 4
- Views: 842
- Sun Jun 24, 2018 1:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]The pause tag in the text doesn't continue
- Replies: 4
- Views: 842
[Solved]The pause tag in the text doesn't continue
I have run into this problem on two occasions and I don't understand what is causing this. I have added the pause text tag {p=1.0} and while the text is paused, it doesn't continue after 1.0 seconds. I tried adding it at different points but to no avail, I tried changing the time but it still doesn'...
- Sun May 06, 2018 2:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]Image not showing above UI
- Replies: 3
- Views: 534
Re: Image not showing above UI
I was afraid it was gonna be a small mispelling. Thank you
I find it strange that I didn't get any error messages despite mispelling onlayer. Oh well...
I find it strange that I didn't get any error messages despite mispelling onlayer. Oh well...
- Sun May 06, 2018 12:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]Image not showing above UI
- Replies: 3
- Views: 534
[solved]Image not showing above UI
So I'm working on a scene here and I just can't get an image to show up above the UI. I read that I'm supposed to put it in the screen layer and to give it a large Z in order to do it but it's just not working. I gave more details about what should and what is happening in the code below. Below is t...
- Sun Jan 14, 2018 10:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: Setting two variables with one button?
- Replies: 5
- Views: 829
Re: Setting two variables with one button?
I see. I didn't know that )IrinaLazareva wrote: ↑Sun Jan 14, 2018 7:11 am it is possible to add several functions on one action
for exampleCode: Select all
textbutton "Press Me" action SetVariable(hp', hp+1), SetVariable('mp', mp+1), SetVariable('var3', 0) #etc...
Thank you very much
- Sun Jan 14, 2018 6:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: Setting two variables with one button?
- Replies: 5
- Views: 829
Setting two variables with one button?
Is it possible to set the values of two variables with the same button? I have a simple inventory system and I want to have it so that when the player uses an item it changes a variable (say he's hp or mp) and then have the item disappear from the inventory (since it was used). But the action propri...
- Sat Jan 13, 2018 7:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: "Call" function not defined
- Replies: 6
- Views: 1510
Re: "Call" function not defined
IIRC, you need to rebuild your game after upgrading, there were changes in RenPy internals, so old bytecode will not work. Yeah most likely. But for now I need to focus on the screen I'm trying to make. Is there a tutorial on how to make a button? I really don't understand how the action parameter ...
- Sat Jan 13, 2018 7:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: expected statement error
- Replies: 6
- Views: 1201
- Sat Jan 13, 2018 7:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: expected statement error
- Replies: 6
- Views: 1201
Re: expected statement error
Yeah. I looked into the transforms and I defined moveinleft and moveoutleft. They work fine.
Thanks
Thanks
- Sat Jan 13, 2018 4:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: expected statement error
- Replies: 6
- Views: 1201
Re: expected statement error
Though you could *possibly* utilize AnimatedValue to linearly adjust the value over time, I am pretty sure there are other, simpler ways to accomplish what you want. If you are just applying a transform when showing or hiding the screen, perhaps the on show: and on hide: event blocks within an ATL ...