Search found 18 matches

by Kornyart
Mon Aug 08, 2022 2:56 am
Forum: Ren'Py Questions and Announcements
Topic: button to reset game
Replies: 4
Views: 440

Re: button to reset game

You should be more precise about what you want. Of course you can create a button, that can delete persistent data. Or just any data. So what do you mean by "reset the game". A game is reset to default values whenever you start a new game. Every game uses its own set of data, but persistent data is...
by Kornyart
Mon Aug 08, 2022 2:53 am
Forum: Ren'Py Questions and Announcements
Topic: Downloadable content through renpy game
Replies: 0
Views: 226

Downloadable content through renpy game

Hi! If i were to add an option in my game that allows a player to download content like wallpapers or music, is that possible??
by Kornyart
Tue May 10, 2022 4:54 am
Forum: Ren'Py Questions and Announcements
Topic: button to reset game
Replies: 4
Views: 440

button to reset game

Hey!
is there a way to create a button inside the settings of a game that allows the player to reset the game? (aka to delete persistent data) :?: :?: :?:
by Kornyart
Sat Sep 25, 2021 8:16 am
Forum: Ren'Py Cookbook
Topic: Allow player to change font (Opendyslexic or else)
Replies: 7
Views: 3354

Re: Allow player to change font (Opendyslexic or else)

this thread is gold, thank you so much for this!
by Kornyart
Tue Aug 10, 2021 7:50 am
Forum: Ren'Py Questions and Announcements
Topic: option to disable or lower volume of character callbacks
Replies: 5
Views: 808

Re: option to disable or lower volume of character callbacks

...however i have another problem, the dialogue sounds keep on playing even when theres no more text advancing... Try to set 'loop' property to False when defining channel and/or playing music. hmm now the sounds arent looping along with the texts at all. The sound/music i have are a single dot sfx...
by Kornyart
Tue Aug 10, 2021 6:44 am
Forum: Ren'Py Questions and Announcements
Topic: option to disable or lower volume of character callbacks
Replies: 5
Views: 808

Re: option to disable or lower volume of character callbacks

is there a way to add a separate slider in the preference menu for the player to be able to change the volume of the callback beeps? ... Try to use renpy.music.play instead of renpy.sound.play, specify your custom sound channel and make a slider for it in preferences menu. https://www.renpy.org/doc...
by Kornyart
Sat Aug 07, 2021 1:25 pm
Forum: Ren'Py Questions and Announcements
Topic: problem with persistent data (solved)
Replies: 5
Views: 1239

Re: problem with persistent data

Imperf3kt wrote:
Wed Jul 28, 2021 4:18 am
Your issue was that you forgot to add persistent. to the front of your variable when defining / creating it.

The variable you defined:
Kornyart wrote:
Tue Jul 27, 2021 2:13 pm

Code: Select all

default concept = False
The variable you tried to adjust/use:
Kornyart wrote:
Tue Jul 27, 2021 2:13 pm

Code: Select all

 $ persistent.concept = True 
yes that worked perfectly thanks!!
by Kornyart
Sat Aug 07, 2021 1:23 pm
Forum: Ren'Py Questions and Announcements
Topic: option to disable or lower volume of character callbacks
Replies: 5
Views: 808

option to disable or lower volume of character callbacks

Hello again! I created character callbacks which worked perfectly fine using this code: init python: def deep_voice(event, interact=True, **kwargs): if not interact: return if event == "show_done": renpy.sound.play("audio/deep.ogg") elif event == "slow_done": renpy.sound.stop() define Samplecharacte...
by Kornyart
Wed Jul 28, 2021 3:58 am
Forum: Ren'Py Questions and Announcements
Topic: problem with persistent data (solved)
Replies: 5
Views: 1239

Re: problem with persistent data

oh wow turns out it should have been...

Code: Select all

 $ persistent.concept = False 


im..so confused but it worked anyways
by Kornyart
Wed Jul 28, 2021 3:55 am
Forum: Ren'Py Questions and Announcements
Topic: problem with persistent data (solved)
Replies: 5
Views: 1239

Re: problem with persistent data

hell_oh_world wrote:
Tue Jul 27, 2021 3:22 pm
should be...

Code: Select all

default persistent.concept = False
that didnt really work, its still locked. its weird because ive been using the same code for all my buttons and they work perfectly except for this one
by Kornyart
Tue Jul 27, 2021 2:13 pm
Forum: Ren'Py Questions and Announcements
Topic: problem with persistent data (solved)
Replies: 5
Views: 1239

problem with persistent data (solved)

so im creating a concept art screen that eventually unlocks at some point this is the code i used for its button: label _("Concept Sketches:") vbox: yalign 0.5 spacing 20 imagebutton idle "Co (2).png" hover "Co (3).png" action [ ShowMenu("concepts"), SensitiveIf(persistent.concept) ] insensitive "Co...
by Kornyart
Wed Apr 14, 2021 12:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Error in writing package name
Replies: 3
Views: 586

Re: Error in writing package name

I managed to fix it! i went to my options.rpy script and took the Tutorial script as a reference. The build version and config version werent written well, which was what was causing the whole problem. Very stupid mistake from me honestly
by Kornyart
Tue Apr 13, 2021 11:37 am
Forum: Ren'Py Questions and Announcements
Topic: Error in writing package name
Replies: 3
Views: 586

Re: Error in writing package name

The problem is that all rpy files mentioned in the traceback are completely empty no matter what encoding i set them to. i have no idea whats going on honestly
by Kornyart
Tue Apr 06, 2021 1:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Error in writing package name
Replies: 3
Views: 586

Error in writing package name

hello, im trying to name my android package but its giving me this error message: if anyone can help me find the root to the problem id be grateful [code] I'm sorry, but an uncaught exception occurred. While running game code: File "game/android.rpy", line 476, in <module> File "game/mobilebuild.rpy...
by Kornyart
Sat Feb 06, 2021 1:14 pm
Forum: Ren'Py Questions and Announcements
Topic: .exe renpy icon stuck at default (Solved)
Replies: 1
Views: 298

Re: .exe renpy icon stuck at default

I think i figured it out and the solution is so stupid :roll: :lol: :lol: :lol: the icon file has to be named exactly "Icon.ico" for renpy to take it.... Full process for whoever needs it: I installed GIMP, and i redid my icon on it on a 250x250 px canvas i exported it as an ico file, and set it as ...