Search found 548 matches

by Andredron
Wed Dec 07, 2022 1:10 am
Forum: Ren'Py Cookbook
Topic: 52 mini game Renpy
Replies: 55
Views: 109755

Re: 52 mini game Renpy

52) w3KLbvKYvqU Advanced Shooting Range The only difficult moment for beginners, after updating Renpy 8, the video code does not work properly, I ask you not to publish the rest of the code, so that people really learn to understand the processes when developing this mini-game. init python: def cork...
by Andredron
Tue Dec 06, 2022 8:17 pm
Forum: Ren'Py Questions and Announcements
Topic: How to add a continue button on main menu?
Replies: 2
Views: 31

Re: How to add a continue button on main menu?

Hello! My current main menu looks like this: https://i.ibb.co/r4mDHrt/imageedit-22-9588454890.png Which is great when starting a new game. However, I want to make it so if there's a save file, the button will show "Continue" instead of "New game." Here's the current code: screen main_menu_navigatio...
by Andredron
Tue Dec 06, 2022 3:17 pm
Forum: Ren'Py Cookbook
Topic: A timer that would work and after leaving the project
Replies: 3
Views: 2355

Timer with online check

author Ruslan Nebykov(7dots) https://store.steampowered.com/curator/29064054 https://pastebin.com/Hd0XnvXU a timer on renpy that checks time over the internet init python: import requests import datetime # get current datetime from site def get_worldtime(): res = None try: # get data from worldtimea...
by Andredron
Tue Dec 06, 2022 9:17 am
Forum: Ren'Py Questions and Announcements
Topic: Drawing a line on a screen
Replies: 4
Views: 60

Re: Drawing a line on a screen

I have a (supposedly) modest task: I want to draw a line on a screen between two points (connecting image buttons, but I have their coordinates). I have tried to understand how a canvas works, but I'm not even sure that would work on a screen, and I really couldn't get a handle on the whole thing. ...
by Andredron
Tue Dec 06, 2022 5:32 am
Forum: Ren'Py Questions and Announcements
Topic: modification of the timer and prohibition of launching the application without the Internet
Replies: 3
Views: 142

Re: modification of the timer and prohibition of launching the application without the Internet

author Ruslan Nebykov(7dots) https://store.steampowered.com/curator/29064054 https://pastebin.com/Hd0XnvXU a timer on renpy that checks time over the internet init python: import requests import datetime # get current datetime from site def get_worldtime(): res = None try: # get data from worldtimea...
by Andredron
Mon Dec 05, 2022 1:49 am
Forum: Ren'Py Questions and Announcements
Topic: modification of the timer and prohibition of launching the application without the Internet
Replies: 3
Views: 142

Re: modification of the timer and prohibition of launching the application without the Internet

https://github.com/valery-iwanofu suggested: 1) Through requests, you can do this: import requests time_data = requests.get('http://worldtimeapi.org/api/timezone/Etc/UTC').json() 2) You can also install the package via pip, but for this you need a downloaded python: pip install —target game/python-p...
by Andredron
Sun Dec 04, 2022 2:45 pm
Forum: Ren'Py Cookbook
Topic: A short solution to prevent the game from restarting(Not commerce)
Replies: 1
Views: 92

A short solution to prevent the game from restarting(Not commerce)

The information was taken from here https://www.renpy.cn/thread-222-1-7.html https://github.com/SecondThundeR/DokiDoki-RenPy Decompiled sources are provided only for personal use, file analysis in order to gain experience in creating games on Ren'Py and creating modifications for DDLC. Creation of a...
by Andredron
Sun Dec 04, 2022 1:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Muting the sound when minimizing the window
Replies: 4
Views: 754

Re: Muting the sound when minimizing the window

do you know how to prohibit the launch of several renpy applications? Good question. I would also like to know the answer, because it happens to me often (the reason: too old hardware takes longer to start than usual, so what? -click .exe again amd again .... ooops!^^) https://www.renpy.cn/thread-2...
by Andredron
Sun Dec 04, 2022 9:58 am
Forum: Ren'Py Cookbook
Topic: Shader
Replies: 2
Views: 593

Re: Shader

Ports of several shaders from the site gl-transitions https://gl-transitions.com/ which, with high python skills, you can upgrade all other shaders and transitions to renpy Video examples Attention, this link is a forum for developers of erotic games, and some people from there advertising for adult...
by Andredron
Sun Dec 04, 2022 9:49 am
Forum: Ren'Py Cookbook
Topic: CharacterQuestManager
Replies: 0
Views: 72

CharacterQuestManager

Character 'n' Quest Manager! Hello, I'm Rodrigo Sarri, author of this project. This project aims to provide a tool for those who are developing their visual novel game. The tool allows you to manage characters and quests using classes and methods capable of allowing greater ease in management in ad...
by Andredron
Sun Dec 04, 2022 5:31 am
Forum: Ren'Py Questions and Announcements
Topic: Muting the sound when minimizing the window
Replies: 4
Views: 754

Re: Muting the sound when minimizing the window

Li yuanlin wrote:
Sun Dec 04, 2022 5:11 am
default preferences.audio_when_minimized = False

write into options.rpy
do you know how to prohibit the launch of several renpy applications?

and then by mistake I launched 6 times on the PC 1 and the same novel?
by Andredron
Sun Dec 04, 2022 1:57 am
Forum: Ren'Py Questions and Announcements
Topic: modification of the timer and prohibition of launching the application without the Internet
Replies: 3
Views: 142

modification of the timer and prohibition of launching the application without the Internet

Once upon a time, a timer was created that works even after exiting the game, as well as modified by Mr. Python, and I often receive requests from familiar mobile developers to upgrade it. https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=47774 the bottom line is, users rewind time, and it make...
by Andredron
Sat Dec 03, 2022 11:58 pm
Forum: Ren'Py Questions and Announcements
Topic: help with the last stage of application development on android
Replies: 2
Views: 111

Re: help with the last stage of application development on android

At the expense of building distributions, one guy suggested a difficult solution to me. We unpack the APK game renpy, we also change the game in it, BUT (!) you will need to rename everything so that at the beginning of each folder and file there is an "x-" We pack everything back into the APK and w...
by Andredron
Fri Dec 02, 2022 4:49 pm
Forum: Ren'Py Cookbook
Topic: If the player has been inactive for a long time.
Replies: 0
Views: 116

If the player has been inactive for a long time.

init python: time_end = 5 screen timers(): if time_end != 0: timer 60 repeat True action SetVariable('time_end', time_end - 1) else: timer 0.01 action Show('afk') screen afk(): add "black" text 'You haven't pressed anything for too long!' xalign 0.5 align 0.5 label start: show timers "???" "blah bl...