Search found 11 matches
- Tue Apr 24, 2012 9:36 am
- Forum: Asset Creation: Writing
- Topic: [NEWBIE] Aligning screen labels
- Replies: 7
- Views: 1043
Re: [NEWBIE] Aligning screen labels
Okay, I did cheat a little with that, actually. frame: xfill True # delete this if you don't want the frame to fill the whole screen side to side. xcenter .5 yfill True # delete this if you don't want the frame to fill the whole screen top to bottom. ycenter .5 label "Morgens" xanchor 'cen...
- Tue Apr 24, 2012 8:29 am
- Forum: Asset Creation: Writing
- Topic: [NEWBIE] Aligning screen labels
- Replies: 7
- Views: 1043
Re: [NEWBIE] Aligning screen labels
Just ignore the colors and size, but is this about right?
- Tue Apr 24, 2012 7:34 am
- Forum: Asset Creation: Writing
- Topic: [NEWBIE] Aligning screen labels
- Replies: 7
- Views: 1043
Re: [NEWBIE] Aligning screen labels
Could you post more of your code?
Then we could probably figure out why it's not working.
Edit: I just saw you used an hbox, as far as I know xanchor and xalign don't work in an hbox. You probably need to post more of the surrounding code.
Then we could probably figure out why it's not working.
Edit: I just saw you used an hbox, as far as I know xanchor and xalign don't work in an hbox. You probably need to post more of the surrounding code.
- Mon Apr 23, 2012 9:36 pm
- Forum: Asset Creation: Writing
- Topic: [NEWBIE] Aligning screen labels
- Replies: 7
- Views: 1043
Re: [NEWBIE] Aligning screen labels
Hi, don't worry about it, it gets easier, once you get used to it. ^.^ If I understand you correctly you want to center the label exactly in the middle, right? Try this: label "blablabla" xanchor 'center' xalign .5 xanchor sets the point, the label uses as an anchor directly in the center ...
- Thu Feb 09, 2012 12:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Empty bar is not empty [Solved]
- Replies: 2
- Views: 652
Re: Empty bar is not empty
A gutter? Ah ok, that's what is missing, thank you very much.
I didn't know that coulb be set, thank you.
Was probably a pretty stupid question, in hindsight.
Edit:
It works now. Thank you so much.
I didn't know that coulb be set, thank you.
Was probably a pretty stupid question, in hindsight.
Edit:
It works now. Thank you so much.
- Thu Feb 09, 2012 9:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Empty bar is not empty [Solved]
- Replies: 2
- Views: 652
Empty bar is not empty [Solved]
Hello, I have a small problem with the ui.bar. I made some bars to display the HP, SP and XP of the character, but when the bar should be empty, it's not. As can be seen here. I cropped the picture a little and marked the problem areas. Bar Problem.png The third bar is the XP-bar. Here is the code f...
- Wed Feb 01, 2012 10:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Buttons, clicked and hovered possible? [SOLVED]
- Replies: 2
- Views: 1768
Re: Buttons, clicked and hovered possible?
Thank you so much, I changed a bit of my code to work as you demonstrated in your example and now everything works as intended.
I will have to change almost everything to work like this too, but at least I am getting somewhere now, thank you very much.
I will have to change almost everything to work like this too, but at least I am getting somewhere now, thank you very much.
- Mon Jan 30, 2012 2:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Widescreen graphics on SD moniters/resolutions
- Replies: 3
- Views: 692
Re: Widescreen graphics on SD moniters/resolutions
I just tested it by setting the window to 1800x600.
The resolution, 3:1, was kept in fullscreen and black bars filled the space at the top and bottom.
I hope this was helpful.
The resolution, 3:1, was kept in fullscreen and black bars filled the space at the top and bottom.
I hope this was helpful.
- Mon Jan 30, 2012 10:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: account below zero
- Replies: 4
- Views: 763
Re: account below zero
Here is another way to handle money. I hope it helps The class: init python: class Purse: def __init__(self, money): self.money = money def plus(self, money): self.money += money if self.money <= 0: # This stops money from getting into the negative numbers self.money = 0 def cost(self, cost): if cos...
- Sun Jan 29, 2012 2:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Buttons, clicked and hovered possible? [SOLVED]
- Replies: 2
- Views: 1768
Buttons, clicked and hovered possible? [SOLVED]
Hello, I have a small problem with my buttons. I wanted to create a way to look at one's stats, for this I used ui.textbuttons to display them and a tooltip textbutton, that changes depending on which button the mouse hovered last. All of which is done in the overlay. This worked fine for the charac...
Re: Guestbook
Hello, my name is Saphrot and I am from Germany. I have been playing around with Ren'Py, as a hobby, for a while now, but finally decided I want to get some stuff done. I have some basic knowledge of programming, but for some of the more complicated problems this Forum has really helped me, so I dec...