Search found 30 matches

by CharlieFuu69
Wed Oct 26, 2022 1:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Button Response Time - Rhythm Minigame
Replies: 7
Views: 261

Re: Button Response Time - Rhythm Minigame

Are you trying CDD or another approach? I had implemented it in Python, but without the CDD approach (as the documentation suggests). With the changes I've made in the code, I've been able to adapt it enough as a CDD, but when it comes to Multitouch it's complicated... And speaking of Multitouch......
by CharlieFuu69
Mon Oct 24, 2022 6:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Button Response Time - Rhythm Minigame
Replies: 7
Views: 261

Re: Button Response Time - Rhythm Minigame

Ok, I think I'm already having some positive results, except for one detail in Android (especially for playing simultaneous notes). I understand that you have to capture the location of the pointers, and of course, on PC it can be obtained through renpy.get_mouse_pos() , which returns a tuple with (...
by CharlieFuu69
Sat Oct 22, 2022 4:33 am
Forum: Ren'Py Questions and Announcements
Topic: Button Response Time - Rhythm Minigame
Replies: 7
Views: 261

Re: Button Response Time - Rhythm Minigame

How's the actual code of your game looks like? At the moment I have only created the main base of the rhythm game, that is, the reading of a beatmap (based on a file with the timestamps corresponding to each note), the playback of the audio and a synchronization stopwatch based on time.time() I tes...
by CharlieFuu69
Thu Oct 20, 2022 6:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Button Response Time - Rhythm Minigame
Replies: 7
Views: 261

Button Response Time - Rhythm Minigame

Hello everyone. More than asking about solving a problem, I wanted to leave on the table a question that appears together with an idea that I had a long time ago. In my game I have thought about integrating a system that allows you to touch keys to the rhythm of the music , that is, to integrate the...
by CharlieFuu69
Sun Feb 20, 2022 7:43 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Arithmetic needed to animate a numeric counter
Replies: 2
Views: 237

Re: [SOLVED] Arithmetic needed to animate a numeric counter

Wooah, I see I messed up over something too small. It never crossed my mind to apply the code that way.
Thanks for the help!!!
by CharlieFuu69
Sun Feb 20, 2022 5:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Arithmetic needed to animate a numeric counter
Replies: 2
Views: 237

[SOLVED] Arithmetic needed to animate a numeric counter

Hello boys. I have tried to implement an animated count similar to AnimatedValue() , but to animate numbers. This is the code I have created: class AnimatedCounter: def __init__(self, hit, delay): self.hit = hit ## The value to be reached self.delay = delay ## The time it takes to get from 0 to self...
by CharlieFuu69
Fri Nov 05, 2021 7:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems at writing files in External Storage (Android)
Replies: 1
Views: 303

Problems at writing files in External Storage (Android)

As I was reading in the Ren'Py documentation, the renpy.request_permission() function was added in v7.4.9. I wanted to put it into practice in my game so that the player could have saved a TXT file with their Nickname and account password. For this I decided to use the following line to request the ...
by CharlieFuu69
Sat Jul 03, 2021 6:09 am
Forum: Ren'Py Questions and Announcements
Topic: (Doubt) Possibility of HCA or ADX audio support (CRI Middleware)
Replies: 4
Views: 841

Re: (Doubt) Possibility of HCA or ADX audio support (CRI Middleware)

Those few words are serving me too much. These were the clues he needed to achieve what he wanted. Thanks PyTom!
When I get good results, I am going to put a little tutorial in this post. It will serve more than one of them to "obfuscate" the assets of their games a bit.
by CharlieFuu69
Sat Jul 03, 2021 1:38 am
Forum: Ren'Py Questions and Announcements
Topic: (Doubt) Possibility of HCA or ADX audio support (CRI Middleware)
Replies: 4
Views: 841

Re: (Doubt) Possibility of HCA or ADX audio support (CRI Middleware)

There is no problem that the developer of the engine decides not to include support for more audio codecs, rather, the idea was to try to set up its own system to handle the HCA / ADX audios, so that it could be defined as: define audio.song_01 = AudioData("bytes", "fn") And be able to reproduce the...
by CharlieFuu69
Fri Jul 02, 2021 4:35 am
Forum: Ren'Py Questions and Announcements
Topic: (Doubt) Possibility of HCA or ADX audio support (CRI Middleware)
Replies: 4
Views: 841

(Doubt) Possibility of HCA or ADX audio support (CRI Middleware)

Hello everybody. In this instance I want to ask you for help with a question rather than a problem, although I would appreciate that someone more experienced in Ren'Py / Python can give me some indication. A few months ago I acquired the equipment from CRI Middleware (CRIWARE), with tools that are u...
by CharlieFuu69
Wed Jan 27, 2021 5:37 am
Forum: Ren'Py Questions and Announcements
Topic: No module named 'termios' when using module "wget" in Android - Ren'Py
Replies: 4
Views: 1187

Re: No module named 'termios' when using module "wget" in Android - Ren'Py

I appreciate your help PyTom!!! I implemented both systems in my game (using "wget" for Windows version and "requests" for Android. For those who dare to use "wget" on Android, I have found the solution to prevent the module from throwing the exception no module named 'termios' . I started looking c...
by CharlieFuu69
Sun Jan 24, 2021 12:12 am
Forum: Ren'Py Questions and Announcements
Topic: No module named 'termios' when using module "wget" in Android - Ren'Py
Replies: 4
Views: 1187

Re: No module named 'termios' when using module "wget" in Android - Ren'Py

I also considered using the "requests" module as an option, but the issue of adding a progress bar for the download is complicated. Since I have little experience in programming, some time ago I asked for help to create the download progress bar with "wget" , in which I was given a base to implement...
by CharlieFuu69
Sat Jan 23, 2021 10:13 pm
Forum: Ren'Py Questions and Announcements
Topic: No module named 'termios' when using module "wget" in Android - Ren'Py
Replies: 4
Views: 1187

No module named 'termios' when using module "wget" in Android - Ren'Py

Hello!! In advance I apologize for my level of English. Unfortunately it is not my native language. Some time ago I asked for help in this forum regarding the Python "wget" module, which is used to execute downloads and show the download progress of files. Since then I have been doing several experi...
by CharlieFuu69
Sat Oct 31, 2020 6:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Doubt: how to show the download status of a file? (Using "wget" module)
Replies: 5
Views: 1035

Re: Doubt: how to show the download status of a file? (Using "wget" module)

>> Vladya
Great! I tested the code you have attached and it works perfect!
You were right that the game freezes when downloading, since in my case it freezes while getting the file through wget.
Since it has worked, I will study the operation of your code to understand and improve it :)
Thank you!!!
by CharlieFuu69
Sat Oct 31, 2020 4:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Doubt: how to show the download status of a file? (Using "wget" module)
Replies: 5
Views: 1035

Re: Doubt: how to show the download status of a file? (Using "wget" module)

Apparently everything was going to work fine, except for this problem ... I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 17, in script scene background_begin with dissolve ValueError: too many values to unpack -- Full Traceback ------------------...