Search found 9 matches

by KINJA
Sat Jun 01, 2024 10:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with Gachapon Mechanic
Replies: 3
Views: 174

Re: Help with Gachapon Mechanic

It's easier to - remove "self.no_of_items" and "no_of_items". Use len(self.items) . - remove ", item" from eggPull(self, item) . - Better pass usedToken as an argument, and regardless it doesn't need to be declared global unless you assign it some value in that functio...
by KINJA
Sat Jun 01, 2024 8:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with Gachapon Mechanic
Replies: 3
Views: 174

Help with Gachapon Mechanic

THE PREMISE: Hello! I'm working on a new game, and while this is not a core mechanic, it's one I'd like to see featured if possible. Basically, there is going to be an arcade in the game, where the player can do a number of gambling/chance-based mini games for fun. One of those is a gachapon machin...
by KINJA
Wed May 15, 2024 4:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with in-screen audio player issues (restarting music, unable to truly 'pause') [SOLVED]
Replies: 7
Views: 271

Re: Help with in-screen audio player issues (restarting music, unable to truly 'pause'))

I solved the issue in a strange but cool way! So the main problem was that I didn't want the music on the radio restarting when you interact with anything, or open/close other screens. Basically, I want it to play nonstop until you stop it with the radio player or the game stops it for you. Here's ...
by KINJA
Wed May 15, 2024 4:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with in-screen audio player issues (restarting music, unable to truly 'pause') [SOLVED]
Replies: 7
Views: 271

Re: Help with in-screen audio player issues (restarting music, unable to truly 'pause'))

changed playSignal() is equivalent to $ x = playSignal() changed x Which is equvalent to $ playSignal() changed None You need to pass a function, not call it and pass result of its execution. TL;DR: Remove () from playSignal() Unfortunately, removing () doesn't seem to run the function at all. But,...
by KINJA
Wed May 15, 2024 2:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with in-screen audio player issues (restarting music, unable to truly 'pause') [SOLVED]
Replies: 7
Views: 271

Re: Help with in-screen audio player issues (restarting music, unable to truly 'pause'))

I think it may be an issue with me running the $ playSignal() command in my screen, and why it's restarting every time. However, I want the tracks to change in real time with the slider, so I need something there that tracks and changes what is playing, which is what that function does. Your functi...
by KINJA
Wed May 15, 2024 10:31 am
Forum: Ren'Py Questions and Announcements
Topic: Help with in-screen audio player issues (restarting music, unable to truly 'pause') [SOLVED]
Replies: 7
Views: 271

Re: Help with in-screen audio player issues (restarting music, unable to truly 'pause'))

Conceptually, given that this is a radio, it seems like the track shouldn't be pausable in the first place. Would it make more sense to simply have separate registered channels for all the signals, which are muted on/off instead? (I don't know what this would look like performance wise, I'm just th...
by KINJA
Tue May 14, 2024 5:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with in-screen audio player issues (restarting music, unable to truly 'pause') [SOLVED]
Replies: 7
Views: 271

Help with in-screen audio player issues (restarting music, unable to truly 'pause') [SOLVED]

PREMISE: Hello! I made a previous post about making a fake in-game radio for my horror game. How it works is that the radio is a composite of a few screens for display, with a slider bar that "tunes" the radio, either playing static or music. The station number cooresponds to a track that...
by KINJA
Tue May 14, 2024 10:53 am
Forum: Ren'Py Questions and Announcements
Topic: TypeError: list indicies must be integers or slices, not NoneType [SOLVED]
Replies: 2
Views: 196

Re: TypeError: list indicies must be integers or slices, not NoneType

Apologies if this is a long post, but I'd like to get this issue resolved soon, and wanted to make sure I provided as many different facets of the issue as possible. Thanks in advance to anyone who has any info on this issue! So it looks like your "stationNum" suddenly appears to be of No...
by KINJA
Tue May 14, 2024 12:06 am
Forum: Ren'Py Questions and Announcements
Topic: TypeError: list indicies must be integers or slices, not NoneType [SOLVED]
Replies: 2
Views: 196

TypeError: list indicies must be integers or slices, not NoneType [SOLVED]

PREMISE: Hello! I made a horror game that came out on Steam recently, and I'm looking into making some DLC for it. A feature of the DLC is the use of a radio. Here's what the bare bones version of the radio's interface looks like: https://64.media.tumblr.com/1e41f8836be547296ce985974e1b9357/9ceba81...