THANK YOU BASED DOOMGUY
I've got it working!
Search found 5 matches
- Wed Jun 24, 2015 7:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to edit a style outside of an init block does nothing
- Replies: 11
- Views: 919
- Thu Jun 18, 2015 5:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to edit a style outside of an init block does nothing
- Replies: 11
- Views: 919
Re: Trying to edit a style outside of an init block does not
Ok, I'm still confused. So what would persistent.styleA be formatted in my script? What command would I give to switch between?
- Wed Jun 17, 2015 11:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to edit a style outside of an init block does nothing
- Replies: 11
- Views: 919
Re: Trying to edit a style outside of an init block does not
You can use style preferences, but actually it's redundant and slow in performance. Better to change screens directly. An example: screen something(): window: if persistent.styleA: background "A" else: background "B" I'm confused a bit. That goes in my screens.rpy, right? So how...
- Tue Jun 16, 2015 11:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to edit a style outside of an init block does nothing
- Replies: 11
- Views: 919
Re: Trying to edit a style outside of an init block does not
That works great! However, I'm also trying to change the spacing of my buttons. $style.menu.spacing = 100 $style.menu_window.spacing = 100 $style.vbox.spacing = 100 $style.menu_choice.spacing = 100 I've tried all of the above and they do nothing. My screens.rpy is the default, how it normally is, bu...
- Mon Jun 15, 2015 9:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to edit a style outside of an init block does nothing
- Replies: 11
- Views: 919
Trying to edit a style outside of an init block does nothing
Hey all. I have the following code. init: $style.menu_choice_button.xpos = .75 $style.menu_choice_button.xpos = .05 The change in the init block takes effect, but the change outside does not occur at all. Even if I change my code to $style.menu_choice_button.xpos = .05 nothing at all is changed from...