Search found 9 matches

by sparkleface
Sun Feb 18, 2018 1:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Does renpy support svg?
Replies: 2
Views: 1854

Does renpy support svg?

Does renpy support SVG files now? There was an old thread in 2009 that asked the same thing, but I haven't found anything after that: viewtopic.php?p=63992
by sparkleface
Sat Feb 17, 2018 10:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Handling word wrap?
Replies: 1
Views: 1219

Handling word wrap?

If I have this: screen word(): fixed: xpos 400 text "blahblah blah blah blahblah blah blah blahblah blah blah blahblah blah blah blahblah blah blah blahblah blah blah blahblah blah blah blahblah blah blah blahblah blahblah blah blah blahblah blah blah blahblah blah blah blahblah blah blah blahb...
by sparkleface
Sat Feb 17, 2018 9:49 pm
Forum: Ren'Py Questions and Announcements
Topic: If statement inside frame causes hbox to error?
Replies: 4
Views: 842

Re: If statement inside frame causes hbox to error?

@Alex, thanks for catching that. You're right, just using hbox is enough. @Imperf2kt, I don't think the result of the evaluated condition was relevant; using True was just a quick and handy way of having a conditional statement there. Unless this is one of renpy's quirks where using that isn't allow...
by sparkleface
Sat Feb 17, 2018 3:06 pm
Forum: Ren'Py Questions and Announcements
Topic: If statement inside frame causes hbox to error?
Replies: 4
Views: 842

If statement inside frame causes hbox to error?

I tried this: frame: if True: background Solid("#fff") else: background Solid("#000") has hbox: xfill True xysize (1260, 50) button: xsize 150 text "zero" ypos 5 But this results in The has statement may not be given after a child has been supplied. has hbox: ^ Ren'Py V...
by sparkleface
Sat Feb 17, 2018 2:17 pm
Forum: Ren'Py Questions and Announcements
Topic: frame and vpgrid inside a vbox causes extra space?
Replies: 1
Views: 690

frame and vpgrid inside a vbox causes extra space?

Why does the following create a huge space between the frame and the vpgrid ? vbox: xpos 648 xsize 1260 ysize 1000 # The frame at the top frame: background Solid("#000") has hbox: xfill True xysize (1260, 50) ysize 50 # the rows vpgrid: cols 1 spacing 5 draggable True mousewheel True scrol...
by sparkleface
Wed Jan 24, 2018 12:55 am
Forum: Ren'Py Questions and Announcements
Topic: How to locally scope a variable in a screen vs a label?
Replies: 2
Views: 544

How to locally scope a variable in a screen vs a label?

How do I declare a local variable inside a screen block? Say As a general example, say I have something like this: screen my_screen: for i in mylist: $ name = mylist[i]["name"] + some_string if name == "blah": text "Hello, " + name elif name == "blah2": text &...
by sparkleface
Mon Dec 25, 2017 6:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Cannot show animated image using screen?
Replies: 4
Views: 519

Re: Cannot show animated image using screen?

Okay, it's my bad. Sorry! I was missing the keyword show screen doit. Although it's kinda odd that Eileen just shows up if I didn't have the screen keyword, it kinda threw me off.
by sparkleface
Mon Dec 25, 2017 1:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Cannot show animated image using screen?
Replies: 4
Views: 519

Re: Cannot show animated image using screen?

I changed it to:

Code: Select all

screen doit:
    add "anim" xpos 100
But the result is still the same it seems!
by sparkleface
Mon Dec 25, 2017 12:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Cannot show animated image using screen?
Replies: 4
Views: 519

Cannot show animated image using screen?

I have this: init -1: image anim: "images/one.png" pause 0.2 "images/two.png" pause 0.2 "images/three.png" pause 0.2 repeat 2 screen doit: add anim xpos 100 # The game starts here. label start: show anim show doit "Hello" return The result is what you see in t...