Search found 131 matches

by kostek00
Sun Apr 14, 2019 2:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Settings screen always uses True setting instead of default setting
Replies: 5
Views: 635

Settings screen always uses True setting instead of default setting

I made settings screen with custom options. They control things like outline, shadow, justify and few more. For some reason game always uses "True" for style preferences which are "text_outline", "text_shadow" and "text_justify". For everything else settings w...
by kostek00
Wed Apr 10, 2019 2:29 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Creating displayable character element with ToggleVariable
Replies: 4
Views: 532

Re: Creating displayable character element with ToggleVariable

Oh, that solved the problem. Thank you.

Also I had to change "false_value" to "None" otherwise it was crashing when hiding blush.
by kostek00
Tue Apr 09, 2019 6:03 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Creating displayable character element with ToggleVariable
Replies: 4
Views: 532

Re: Creating displayable character element with ToggleVariable

Oh wait i forgot i changed all "other" to "blush" so error should be "The variable blush does not exist." This variable is in the same screen that button is: screen cg_page3(page=3): tag menu default blush = None It's "None" because by default I don't want it ...
by kostek00
Tue Apr 09, 2019 3:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Creating displayable character element with ToggleVariable
Replies: 4
Views: 532

[Solved] Creating displayable character element with ToggleVariable

I'm creating character gallery where user can pick body, face emotion and other stuff to show. I'm stuck with ToggleVariable to add and remove from sprite. It throws me error "The variable other does not exist." I do have it created in screen?: default blush = None This is button to toggle...
by kostek00
Thu Mar 14, 2019 4:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Checking user's cps option
Replies: 2
Views: 315

Re: Checking user's cps option

This is very strange. I already tried this and it was always executing "else" part but just for peace of mind I checked it again and now it works as it should. I don't know why it's like that. Cache might have mess something earlier? Edit: Oh, I know why it wasn't working. I thought it's m...
by kostek00
Thu Mar 14, 2019 3:28 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Checking user's cps option
Replies: 2
Views: 315

[Solved] Checking user's cps option

I would like to make a little check for cps set up by user. I didn't found anything that I think could help me with it in documentation. Any ideas how to do it?

Something like:

Code: Select all

if cps < 50:
show this
else:
show this
by kostek00
Thu Feb 28, 2019 12:20 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Settings screen is playing screen opening animation when changing options
Replies: 1
Views: 455

Re: Settings screen is playing screen opening animation when changing options

I managed to solve my problem. I made additional screen that contains animation for settings. So if you press settings button you go to transition screen that plays animations and after x time it goes to actual settings screen.

Code: Select all

timer 2 action ShowMenu('settings')
by kostek00
Sat Feb 23, 2019 10:51 am
Forum: Ren'Py Questions and Announcements
Topic: Custom text tag controlled by options and sound text tag
Replies: 0
Views: 323

Custom text tag controlled by options and sound text tag

1. Custom text tag controlled by options I was wondering if it's possible to create custom text tag that could be controlled by options to show or hide part of text depending on options. This is sort of upgrade to this . For example like that: "I {sfx}**PUNCH**{/sfx} AM {sfx}**PUNCH**{/sfx} EV...
by kostek00
Sat Feb 23, 2019 10:19 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Settings screen is playing screen opening animation when changing options
Replies: 1
Views: 455

[Solved] Settings screen is playing screen opening animation when changing options

I created few options using "StylePreference" but because of that settings screen is beeing refreshed ever time you press on it resulting in playing screen opening animation. Any way to fix that? Example option: hbox: ysize 60 xalign 0.0 spacing 50 text "Text Outline" style "...
by kostek00
Mon Feb 11, 2019 7:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Textbox transparency controlled by slider
Replies: 2
Views: 551

Re: Textbox transparency controlled by slider

God damn it. I always forgets I need to set default value... Thank you. At first transparency was changing only when game was restarted. I removed background from style and placed it in say screen. Now transparency changes immidiately. screen say(who, what): style_prefix "say" zorder 999 w...
by kostek00
Mon Feb 11, 2019 6:38 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Textbox transparency controlled by slider
Replies: 2
Views: 551

[Solved] Textbox transparency controlled by slider

I wanted to created option to control transparency of textbox by slider in options but i'm getting this error: I'm sorry, but an uncaught exception occurred. While running game code: File "game/gui_scripts/screenSettings.rpy", line 8, in execute screen settings(fromPause=False,fromMain=Fal...
by kostek00
Thu Dec 27, 2018 9:42 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Creating custom option for sound effect in settings
Replies: 2
Views: 429

Re: Creating custom option for sound effect in settings

Sorry for late response. It's working as intended. Thank you very much.
by kostek00
Sun Dec 23, 2018 4:27 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Creating custom option for sound effect in settings
Replies: 2
Views: 429

[Solved] Creating custom option for sound effect in settings

I'm would like to create an options in settings that turns on/off onomatopeias in text. Let's say I have such line: "I **PUNCH** AM **PUNCH** EVERYTHING **PUNCH** TO **PUNCH** YOU **PUNCH**!" With onomatopeias turned off I would have: "I AM EVERYTHING TO YOU!" I know how to check...
by kostek00
Wed Oct 24, 2018 9:57 am
Forum: Ren'Py Questions and Announcements
Topic: Subtitles for movie scene
Replies: 0
Views: 429

Subtitles for movie scene

I'm wondering is it possible to create subtittles for movie inside Ren'Py so that you don't have to actually create separate video for every language in game? And I also don't mean to show them by textbox but as text on screen with specific timestamps. For example I would like to show text after 2 m...
by kostek00
Thu Oct 11, 2018 5:26 am
Forum: Works in Progress
Topic: A Happy Life [Otome | Drama | Mystery] [Free]
Replies: 4
Views: 1695

Re: A Happy Life [Otome | Drama | Mystery] [Free]

At the beginning when I heard what the story is about I thought I will be fine at most. But when I was changing text to Ren'Py format I realized how much I was mistaken. While whole story is quite short Der Tor's friend did really great job writing it. Story was so interesting that I end up finished...