Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Tue Jun 18, 2013 10:32 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ren'Py support questions should go here. This forum is for discussing changes to Ren'Py itself.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Feb 08, 2011 5:26 pm 
Regular

Joined: Tue Dec 30, 2008 9:18 am
Posts: 130
Projects: iichan erogame
Holy shift! After updating to 6.12 all my styles become a complete mess T_T
Just take a look and test it on 6.11 and 6.12...


Attachments:
File comment: comparison
styles.png
styles.png [ 540.15 KiB | Viewed 311 times ]
File comment: demo game
menu_612_fail.zip [1008.51 KiB]
Downloaded 17 times


Last edited by iichan_lolbot on Tue Feb 08, 2011 5:35 pm, edited 1 time in total.
Top
 Profile Send private message  
 
PostPosted: Tue Feb 08, 2011 5:31 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10848
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
That's not a problem with styles, it's a problem with Frames. What are your frames, and what do the textures look like?

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Tue Feb 08, 2011 5:33 pm 
Regular

Joined: Tue Dec 30, 2008 9:18 am
Posts: 130
Projects: iichan erogame
All attached to the post:

File comment: demo game
menu_612_fail.zip [1008.51 KiB]
Not downloaded yet


Top
 Profile Send private message  
 
PostPosted: Tue Feb 08, 2011 6:01 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10848
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Sorry, I'm a bit under the weather right now. I'll look at this when I'm feeling better.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Tue Feb 08, 2011 10:47 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10848
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Okay. The antibiotics kicked in, so I have an explanation as to what's going on. In your code, you have:

Code:
    style.button.background = Frame("long_butt_01.png", 126, 15,)


So what you have there is a Frame you created where each corner is 126 pixels wide, and 15 tall. Your button is only 168 pixels wide, so you have an 84-pixel overlap - which is why you're seeing the artifacts you're seeing. You should drop the width of the Frame so it only covers the corner.

Older versions of Ren'Py handled the scaling differently, but for performance reasons, 6.12 does it in the GPU (giving a huge boost on Android). This means that the overlap is handled differently.

For backwards compatibility, I've changed Ren'Py so in the next version (6.12.1), it will prevent the overlap from showing up. It won't be pixel-per-pixel identical with 6.11, but it looks good enough. You should drop the width of the border, so that you get control over it, and it is never a problem.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group