screen size doesen't work properly recently

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
3cm
Newbie
Posts: 2
Joined: Fri Sep 04, 2015 7:29 am
Contact:

screen size doesen't work properly recently

#1 Post by 3cm »

Code: Select all

init -1 python:
    config.layers = ['master', 'layer1', 'layer2', 'layer3', 'layer4', 'layer5' , 'h_500', 'h_500b', 'h_750', 'v_330a', 'v_330b', 'v_410', 'widescreen', 'abovescreen', 'transient', 'screens', 'overlay']

    
    config.layer_clipping['h_500'] = (0,0, 500, 843)
    config.layer_clipping['h_500b'] = (0,0, 500, 843)
    config.layer_clipping['h_750'] = (0,0, 1500, 843)
    config.layer_clipping['v_330a'] = (0,0, 1500, 330)
    config.layer_clipping['v_330b'] = (0,0, 1500, 330)
    config.layer_clipping['v_410'] = (0,0, 1500, 410)
    config.layer_clipping['widescreen'] = (0,10, 1500, 823)

transform screenmove(fx,fy,x,y,t):
    xpos fx ypos fy
    linear t xoffset x yoffset y

Code: Select all

show SOMEIMAGE onlayer v_330a at screenmove(0,0,0,300,0)
I've used mask effect with layer_clipping option in my project and it worked great.

But recently, after some renpy updates and applying new gui to project,
images which i showed in specific screen don't fixed in its area.

For above code, SOMEIMAGE bigger than 1500*330(v_330a screen size) should be showed
in cropped size like bookmark, but it doesn't...

The image is still on specific screen, the image's position(xpos,ypos) is also related to the screen that it's shown.
However it ignores the border of screen.
Is this bug or something?

Post Reply

Who is online

Users browsing this forum: Google [Bot]