Here's what happens in Ren'Py 6.11.2: http://isharacomix.com/STUFF/bugreport.ogv
Here's what happens in Ren'Py 6.12b: http://isharacomix.com/STUFF/bugreport2.ogv (with OpenGL enabled. If OpenGL is explicitly disabled, it looks exactly like the first video).
In the first video, the images, when added, get truncated by the borders of the screen. In the second video... well... I have no idea what's going on, but at least the images aren't being truncated.
Here's the code for the frame on the lower left that contains everything we're dealing with.
Code: Select all
frame:
hbox:
xmaximum 300 xfill True
viewport id "ourevents":
xmaximum 275
draggable True
# The actual event box.
hbox:
vbox:
xfill True
$ count = 0
for e in events:
if e[0] == [day,month,year]:
button:
xfill True
hbox:
fixed:
ymaximum 50 xmaximum 80 xfill True
$ x = 0
#------------------------------------> # Right here, we are picking up the names of the images and adding them to the buttons.
for p in e[4]:
add ("pic_"+p.lower()+".png" ) xpos x
# This evaluates to 'add "pic_alice.png" xpos x
# Even when the 'add' line is commented out, the screen still flickers in 6.12 w/ OpenGL
$ x += 7
vbox:
text e[2] size 18 color If(selected_event == count, "#ffff00", "#ffffff")
text e[3] size 16 color If(selected_event == count, "#ffff00", "#ffffff")
$ kids = ""
for s in e[4]:
$ kids += s + ", "
$ kids = kids[:len(kids)-2]
if len(kids) > 0:
text ("w/ "+kids) size 14 color If(selected_event == count, "#ffff00", "#ffffff")
text ("from "+utils.timestring(e[1])) size 16 color If(selected_event == count, "#ffff00", "#ffffff")
action SetVariable("selected_event",count)
$ count += 1
vbar value YScrollValue("ourevents") unscrollable "hide" xalign 1.0