Search found 37 matches

by CharlieFuu69
Fri Feb 24, 2023 2:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems getting HTML from some websites with the Requests library
Replies: 1
Views: 400

Problems getting HTML from some websites with the Requests library

Note: It has been tested on the most recent version of Ren'Py (v8.0.3), without success. I start this post by telling what I was doing, so that you can understand my situation. For a long time, I used Mediafire as a server to host my game resources. I made him a download system that worked great in...
by CharlieFuu69
Sun Feb 12, 2023 8:34 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Exceptions getting some attributes of "pygame.FINGERDOWN" in Ren'Py CDDs
Replies: 7
Views: 357

Re: Exceptions getting some attributes of "pygame.FINGERDOWN" in Ren'Py CDDs

It worked just like you told me! Now more than anything I have the question of why they made the attribute different from the Pygame documentation, instead of leaving it the same... I'll never understand it, but at least the recognition of touchId and fingerId works =3 Really, thank you. I will mark...
by CharlieFuu69
Sun Feb 12, 2023 5:13 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Exceptions getting some attributes of "pygame.FINGERDOWN" in Ren'Py CDDs
Replies: 7
Views: 357

Re: Exceptions getting some attributes of "pygame.FINGERDOWN" in Ren'Py CDDs

You sure you actually checking for the correct event type? Renpytom was commenting inside the github post. Don't worry about that. I tried to capture those events and do not even exist in the pygame that Ren'py has: ## Importing as 'pygame' AttributeError: 'module' object has no attribute 'SDL_FING...
by CharlieFuu69
Sun Feb 12, 2023 3:34 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Exceptions getting some attributes of "pygame.FINGERDOWN" in Ren'Py CDDs
Replies: 7
Views: 357

Re: Exceptions getting some attributes of "pygame.FINGERDOWN" in Ren'Py CDDs

Are you talking about pygame documentation or the version that RenPy uses - pygame_sdl2 Regarding this, it is information that I have obtained from the Pygame (official) documentation. I thought I could get those attributes because I was searching for this topic, and found this GitHub Issue comment...
by CharlieFuu69
Sat Feb 11, 2023 9:11 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Exceptions getting some attributes of "pygame.FINGERDOWN" in Ren'Py CDDs
Replies: 7
Views: 357

[SOLVED] Exceptions getting some attributes of "pygame.FINGERDOWN" in Ren'Py CDDs

NOTE: If you needed to detect multitouch on touchscreen devices, really, I think you should look at the post and comments. It may be a good place to start. Hello Sirs. Today I'm here to ask you for help about a detail I found while using one of Pygame's events in a Ren'Py CDD. Basically, I have a m...
by CharlieFuu69
Thu Jan 12, 2023 5:16 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Doubts when applying ATL animations to the sprites created in SpriteManager()
Replies: 3
Views: 358

[SOLVED] Doubts when applying ATL animations to the sprites created in SpriteManager()

Hello everyone A few minutes ago I was trying to make use of the SpriteManager() to be able to display multiple sprites at the same time, without much FPS loss, as I try to integrate a rhythmic action system into Ren'Py. The truth is that I am trying to get the full potential of this engine to do so...
by CharlieFuu69
Wed Oct 26, 2022 1:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Button Response Time - Rhythm Minigame
Replies: 7
Views: 600

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: 600

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: 600

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: 600

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: 280

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: 280

[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: 380

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: 892

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.