Search found 202 matches

by neometalero
Fri May 24, 2024 5:05 pm
Forum: Ren'Py Cookbook
Topic: Ren'Py Steam Achievement Guide
Replies: 11
Views: 16775

Re: Ren'Py Steam Achievement Guide

Updated for 2024 , you can now just put the code in the editor $achievement.grant("Achievement01_Start") init: $achievement.register("Achievement01_Start") $achievement.sync() $achievement.sync() and if you have the steam library installed on renpy (preferences/install libraries...
by neometalero
Tue May 21, 2024 2:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Disable and enable Saves [SOLVED]
Replies: 4
Views: 279

Re: Disable and enable Saves

I managed to hide and activate the save when needed. I will play around a little bit more and see if I can do it in a more elegant way, but this was all of the information I needed. Thanks a lot for your help! Both of you!
by neometalero
Tue May 21, 2024 2:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Disable and enable Saves [SOLVED]
Replies: 4
Views: 279

Re: Disable and enable Saves

I need a way to disable and enable the save screen on the game. There is any way I could do this? There is a variable for this purpose: # disable access to the game menu: $ _game_menu_screen = None # reset access to the game menu: $ _game_menu_screen = "save" That worked, but still I can ...
by neometalero
Mon May 20, 2024 11:39 am
Forum: Ren'Py Questions and Announcements
Topic: Disable and enable Saves [SOLVED]
Replies: 4
Views: 279

Disable and enable Saves [SOLVED]

I need a way to disable and enable the save screen on the game. There is any way I could do this?
by neometalero
Sun Apr 14, 2024 7:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Shake not working
Replies: 4
Views: 432

Re: Shake not working

...It's an old project so I dont feel like creating a new transformation and apply it in all cases. Any way to salvage this old code? Not tested, but try to convert the result of calculation to integer, like nx = xpos + int(self.dist * (renpy.random.random() * 2 - 1)) I got the same error doing tha...
by neometalero
Sat Apr 13, 2024 7:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Shake not working
Replies: 4
Views: 432

Shake not working

Im using the shake from the cookbook https://www.renpy.org/wiki/renpy/doc/co ... ke_effect
and Im getting this error
Image
It's an old project so I dont feel like creating a new transformation and apply it in all cases. Any way to salvage this old code?
by neometalero
Wed Mar 20, 2024 5:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Label as main menu background
Replies: 5
Views: 392

Re: Label as main menu background

a) Use timers that change varable controlling current image. b) CDD which change rendered image based on elapsed time c) Potentially ATL animation which has a funtcion statement changing child of transform. Right now Im triying to do it this way, as an animated image image MMCarrusAsImgSimple: (&qu...
by neometalero
Wed Mar 20, 2024 10:22 am
Forum: Ren'Py Questions and Announcements
Topic: Label as main menu background
Replies: 5
Views: 392

Re: Label as main menu background

If main_menu label exist, it will be executed, instead of showing the main menu screen. Note that you will be responsible for shwing and handling all menu screens in this case. An alternative approach is to convert you code into a screen and use that instead. How can I write this in screen language...
by neometalero
Tue Mar 19, 2024 6:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Label as main menu background
Replies: 5
Views: 392

Label as main menu background

I have this label on my script file, basically it works as a gallery of pictures with some transitions added to it. I want to put this as the main menu background. Any idea on how I could do this? label menuCarruselTest: $numPoster=renpy.random.randint(1,cantImgMainMenu) #Si es el que acaba de salir...
by neometalero
Sat Jan 27, 2024 11:24 am
Forum: Ren'Py Questions and Announcements
Topic: Line Breaks
Replies: 9
Views: 12417

Re: Line Breaks

Sorry for reviving a 16 (!) -year old thread, but "\n" doesn't in fact appear to work inside a custom text tag...I had to resort to a function and ugly syntax to accomplish this. It works. Here https://www.renpy.org/wiki/renpy/doc/FAQ is the official documentation on that Be sure to write...
by neometalero
Tue May 16, 2023 8:32 pm
Forum: Ren'Py Cookbook
Topic: Accessibility brightness and contrast options
Replies: 6
Views: 2455

Re: Accessibility brightness and contrast options

Imperf3kt wrote: Tue May 16, 2023 7:40 pm You could always try Ren'Pys built in accessibility menu

Code: Select all

textbutton "accessibility" action Preference("accessibility menu")
Im not familiar with that menu, but I will give it a try as well. Tks!
by neometalero
Tue May 16, 2023 8:32 pm
Forum: Ren'Py Cookbook
Topic: Accessibility brightness and contrast options
Replies: 6
Views: 2455

Re: Accessibility brightness and contrast options

You're not using the last version of Ren'Py. That worked, tks! I put it in the preferences menu and worked great. I leave the code here in case anyone else is having troubles. screen preferences(): tag menu if renpy.mobile: $ cols = 2 else: $ cols = 4 use game_menu(_("Preferences"), scrol...
by neometalero
Tue May 16, 2023 3:39 pm
Forum: Ren'Py Cookbook
Topic: Accessibility brightness and contrast options
Replies: 6
Views: 2455

Re: Accessibility brightness and contrast options

This is some code allowing the players to customize the brightness and contrast of the game. Be warned that it forbids you the use of the camera and show-layer-at statements, and that passing excessive values will make the screen entirely black, white or gray and in that case you won't be able to c...
by neometalero
Tue May 16, 2023 10:57 am
Forum: Ren'Py Questions and Announcements
Topic: can screen be disable temporary?
Replies: 9
Views: 1849

Re: can screen be disable temporary?

edouardlicn wrote: Thu May 09, 2013 5:08 am Hi

I want to disable some screen like save in game procession,not disable a key.How can I make it?
I was having the same trouble and this worked. Maybe it can help you?

viewtopic.php?f=8&t=66591&p=560451#p560451
by neometalero
Wed May 10, 2023 7:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Limit the Saves (Resident Evil Style)
Replies: 11
Views: 397

Re: Limit the Saves (Resident Evil Style)

Works for me: https://i.imgur.com/hLdeQTW.gif You probably did something wrong. There are all changes I did to a new project: # Button code: button: if title == "Save": action [SetVariable("saves_left", saves_left - 1), FileSave(slot)] else: action FileLoad(slot) if title == &qu...