Why is it impossible to go beyond the screen in the Tile class

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
User avatar
Andredron
Miko-Class Veteran
Posts: 535
Joined: Thu Dec 28, 2017 2:37 pm
Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
Location: Russia
Contact:

Why is it impossible to go beyond the screen in the Tile class

#1 Post by Andredron » Thu Sep 08, 2022 10:39 am

Good afternoon, Renpy has a Tile class, where you can set the size:

Img - https://sun9-80.userapi.com/impg/VP-WBr ... type=album

but no matter what size I specify, the output is always a picture with the size of the screen, no more and no less

For example:

Image 1 - https://sun9-22.userapi.com/impg/LIUqxF ... type=album

Image 2 - https://sun9-56.userapi.com/impg/sgaWRw ... type=album

when shifted by half, you can see that the picture is exactly the size of the screen, despite the set size is wider and lower than the screen

if you just specify the color, the same problem comes out

Image 1 - https://sun9-88.userapi.com/impg/S7i1Wa ... type=album

Image 2 - https://sun9-75.userapi.com/impg/ZnlH9x ... type=album
I'm writing a Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18

Help me to register in QQ International

Honest Critique

User avatar
Mihara
Regular
Posts: 119
Joined: Thu Mar 11, 2010 2:52 pm
Contact:

Re: Why is it impossible to go beyond the screen in the Tile class

#2 Post by Mihara » Thu Sep 08, 2022 1:57 pm

I think you're actually calling a different Tile - Tile instead of im.Tile, which is the one you've cited the source of.

Either call it as im.Tile -- which is not recommended, since image manipulators are deprecated -- or:

Code: Select all

Composite((width, height), (0, 0), Tile(<displayable>))

User avatar
Andredron
Miko-Class Veteran
Posts: 535
Joined: Thu Dec 28, 2017 2:37 pm
Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
Location: Russia
Contact:

Re: Why is it impossible to go beyond the screen in the Tile class

#3 Post by Andredron » Thu Sep 08, 2022 3:58 pm

thanks. Me have already been prompted with a solution
I made the graphics strip narrower than the screen so that it would not be visible how the skulls disappear. It worked
I'm writing a Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18

Help me to register in QQ International

Honest Critique

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot]