Search found 7 matches

by Randomiser
Sun Sep 30, 2018 2:47 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Prefs menu not showing up on imagemap mm
Replies: 6
Views: 1120

Re: Prefs menu not showing up on imagemap mm

I think I see the problem. Your image map replaced the navigation screen. All game_menus use the navigation screen, so your image map is being drawn over the preferences screen. (The title and return button are drawn last, which is why "Options" is still visible.) I would suggest moving yo...
by Randomiser
Sun Sep 30, 2018 1:56 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to scale BMfonts?
Replies: 3
Views: 548

Re: Is it possible to scale BMfonts?

Is there any reason why you couldn't use a ttf font instead? The short and unfortunate answer is the original ttf is lost. I'm attempting to port an older game that used a bitmap font to Ren'Py and would have liked to use the exact font for accuracy's sake. I'll work around it, thank you for helpin...
by Randomiser
Sun Sep 30, 2018 1:42 am
Forum: Ren'Py Questions and Announcements
Topic: I'm just trying to pull off a simple rotation. I think the problem originates with the unchanging rotation variable...
Replies: 3
Views: 600

Re: I'm just trying to pull off a simple rotation. I think the problem originates with the unchanging rotation variable.

I think there's a sneaky math error going on. (284 - minutes) / 284 * 360 (284 - minutes) / 284 is guaranteed to be less than 1. However, because 284 and minutes are both integers, python rounds this down to 0! You can write either 284 or minutes as a float to force it to retain accuracy. rotate (28...
by Randomiser
Sat Sep 29, 2018 5:52 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Song is not always unlocked after seeing persistent
Replies: 13
Views: 1674

Re: Song is not always unlocked after seeing persistent

This is why you're getting the RevertableDict error: playerList = [ ("bgm/M01.ogg", "images/bgm/M01.png"), ("bgm/M02.ogg", "images/bgm/M02.png"), ("bgm/M03.ogg", "images/bgm/M03.png"), ("bgm/M04.ogg", "images/bgm/M04.png"...
by Randomiser
Sat Sep 29, 2018 2:42 am
Forum: Ren'Py Questions and Announcements
Topic: is there a way for me to condense lines of code?
Replies: 1
Views: 364

Re: is there a way for me to condense lines of code?

Have you considered using a Layered Image ? I'm imagining your character has multiple pieces that can be customised. A layeredimage using if statements will allow you to change the image based on variables the player has chosen. Then you'll only need to show the layeredimage instead of each of its e...
by Randomiser
Sat Sep 29, 2018 2:24 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to scale BMfonts?
Replies: 3
Views: 548

Is it possible to scale BMfonts?

I have an bitmap font in my game that I would like to be able to use different sizes for. I am aware that by definition the scaled font would not retain pixel-perfect crispness. In my attempts I found that the size must be set upon registering the font, and cannot be changed. For example, if I defin...
by Randomiser
Sat Sep 29, 2018 1:39 am
Forum: Ren'Py Questions and Announcements
Topic: How to Display Multiple Text?
Replies: 2
Views: 732

Re: How to Display Multiple Text?

I may misunderstand exactly what you're going for as I haven't used the Ren'py Camera script myself. Have you tried simply using the "as" property to rename the text's tag? For example, show text "Yes" at topleft as text1 show text "No" at topright as text2 allows both ...