Search found 2471 matches

by xela
Mon Apr 17, 2017 10:40 am
Forum: Ren'Py Questions and Announcements
Topic: partially transparent character(solved)
Replies: 8
Views: 6498

Re: partially transparent character

Code: Select all

show w:
    alpha .5
RenPy keeps track of transforms applied to displayable, so make sure you've reset it to alpha 1.0 after you're done with ghosts.
by xela
Mon Apr 17, 2017 10:38 am
Forum: Ren'Py Questions and Announcements
Topic: Game keeps disappearing from program
Replies: 2
Views: 540

Re: Game keeps disappearing from program

Check is you rename game folder to something else, it should always be:

RenPy/ProjectName/game/all_files...
by xela
Fri Apr 14, 2017 7:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Rotate to coordinates [SOLVED]
Replies: 2
Views: 768

Re: Rotate to coordinates

image i_luv_mice = Fixed(Solid("F00", xysize=(150, 50)), Solid("FFF", xysize=(100, 50)), xysize=(150, 50)) init python: import math CENTER_AT = (400, 400) def follow_the_mouse(st, at): xc, yc = CENTER_AT x, y = renpy.get_mouse_pos() angle = math.atan2(y-yc, x-xc) * (180/math.pi)...
by xela
Sat Apr 08, 2017 4:36 pm
Forum: Ren'Py Questions and Announcements
Topic: How to create a time-clock in the game
Replies: 1
Views: 381

Re: How to create a time-clock in the game

Ace94 wrote:for a few hours for a guide on how to do this
viewtopic.php?f=51&t=21978
by xela
Sat Apr 08, 2017 3:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I do 2 redraw in 1 event?
Replies: 8
Views: 1105

Re: How can I do 2 redraw in 1 event?

No idea. I do not trust screens with complicated UDDs (bad experience in that area)... neither do I see a reason why the whole design cannot be a UDD. At the very least:

Code: Select all

screen sboard():
    default controller = Controller()
should be safer.
by xela
Sat Apr 08, 2017 2:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I do 2 redraw in 1 event?
Replies: 8
Views: 1105

Re: How can I do 2 redraw in 1 event?

I don't understand... One image is shown, you click, wait for a second and you see another image. It should work like that. If you wanted to display interim image the moment you click the button, you can just add: class GUIField(renpy.Displayable): def __init__(self, **kwargs): super(GUIField, self)...
by xela
Sat Apr 08, 2017 2:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Expected Statement
Replies: 12
Views: 1047

Re: Expected Statement

Try it... this is a very odd issue.
by xela
Sat Apr 08, 2017 2:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Expected Statement
Replies: 12
Views: 1047

Re: Expected Statement

Are you using something like Microsoft Word? It should not happen in proper text editors like VS/Atom/JEdit/NP++ and etc...
by xela
Sat Apr 08, 2017 2:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Expected Statement
Replies: 12
Views: 1047

Re: Expected Statement

What button(s) do you press on your keyboard to get quotes like that? It doesn't feel right that you get weird char without a macro or some weird keyboard...
by xela
Sat Apr 08, 2017 2:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I do 2 redraw in 1 event?
Replies: 8
Views: 1105

Re: How can I do 2 redraw in 1 event?

Can you show me an example of how to use it? Something along these lines: class GUIField(renpy.Displayable): def __init__(self, **kwargs): super(GUIField, self).__init__(**kwargs) self.d = renpy.displayable("field_0.png") self.next_d = Null() self.next_st = 0 def render(self, width, heigh...
by xela
Sat Apr 08, 2017 1:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Expected Statement
Replies: 12
Views: 1047

Re: Expected Statement

It should not do that if you are using quotes around Yuriko... If you want to define a proper character, take a look at https://www.renpy.org/doc/html/dialogue ... er-objects
by xela
Sat Apr 08, 2017 1:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Expected Statement
Replies: 12
Views: 1047

Re: Expected Statement

Copy paste quotes from my post or try using single quote

Code: Select all

'
instead of double. Make sure that you're using a decent text editor and encoding is set to utf-8 (which it is very likely to be if you're using a decent one).
by xela
Sat Apr 08, 2017 1:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Adding music to a sub-menu.
Replies: 2
Views: 519

Re: Adding music to a sub-menu.

Use screen action inside of screens...
by xela
Sat Apr 08, 2017 1:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I do 2 redraw in 1 event?
Replies: 8
Views: 1105

Re: How can I do 2 redraw in 1 event?

This is mental:

Code: Select all

time.sleep(1.0)
Use st or at to time your actions as you see fit within your UDD.
by xela
Sat Apr 08, 2017 1:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Expected Statement
Replies: 12
Views: 1047

Re: Expected Statement

“” ===>

Code: Select all

""
Wrong characters...