emmm...
large music file ---> longger loading time..
the file is not buffered?
can you post a sample code ?
On Tue, Feb 2, 2010 at 3:24 PM, Olof Bjarnason wrote:
> 2010/2/2 B W :
>> Howdy, folks.
>>
>> I have a problem I've been studying a while and I can't figure out a
>> solution. Pygame or S
2010/2/2 B W :
> Howdy, folks.
>
> I have a problem I've been studying a while and I can't figure out a
> solution. Pygame or SDL--not sure which--is pretty slow at loading sounds.
> For large sounds, like songs, this means significant pauses in your game; or
> very long loading times at startup if
hey gumm,
you may or may not get better results with the process you describe - the
resulting sound file will most likely be much much larger (like orders of
magnitude larger) which increases the time it takes to load it from disk, so
if disk is the bottleneck (as opposed to cpu decoding), the tri
try pyglet.
On Tue, Feb 2, 2010 at 2:32 PM, B W wrote:
> Howdy, folks.
>
> I have a problem I've been studying a while and I can't figure out a
> solution. Pygame or SDL--not sure which--is pretty slow at loading sounds.
> For large sounds, like songs, this means significant pauses in your game;
Howdy, folks.
I have a problem I've been studying a while and I can't figure out a
solution. Pygame or SDL--not sure which--is pretty slow at loading sounds.
For large sounds, like songs, this means significant pauses in your game; or
very long loading times at startup if you have a few of them to
It's all about the tools folks. Unity has a leg up there.
On Sun, Jan 31, 2010 at 6:56 PM, ryan wrote:
> unity3d is awesome. Its got a few less that desirable limitations here and
> there, it also needs some serious help in doing FPS games right now. But for
> point and click games or sidescrol
I suggest that Group.has() and Group.has([]) should always return True.
Consider the behavior of Python's built-in set type:
>>> set1 = set((0, 1, 2, 3))
>>> set2 = set(())
>>> set1.issuperset(set2)
True
>>> set1 = set(())
>>> set2 = set(())
>>> set1.issuperset(set2)
True
Jason
- Original
PS. Actually, I just realized that Group.has only checks the membership of the
first sprite when I call grp1.has(spr1, spr2). It's not checking the membership
of any of the arguments after the first one. This makes me even more certain
that it would be preferable to change the code.
- Orig
Unfortunately, correcting the documentation will make it complicated. If we
correct the documentation, then we'll have to explain why Group.has checks for
membership of ANY sprites that are passed as arbitrary arguments but checks for
membership of ALL sprites that are passed as objects within a
On Mon, 1 Feb 2010 19:42:38 +0800, René Dudfield wrote:
> On Mon, Feb 1, 2010 at 7:15 PM, Jason M. Marshall
wrote:
>> In the pygame.sprite module, I think that the Group.has method does not
>> behave according to its documentation. The online documentation states
>> that Group.has will return Tru
On Mon, Feb 1, 2010 at 7:15 PM, Jason M. Marshall wrote:
> In the pygame.sprite module, I think that the Group.has method does not
> behave according to its documentation. The online documentation states that
> Group.has will return True if the Group contains ALL of the given sprites.
> However
In the pygame.sprite module, I think that the Group.has method does not behave
according to its documentation. The online documentation states that Group.has
will return True if the Group contains ALL of the given sprites. However, in a
certain case, Group.has will return True if the Group conta
On, Mon Jan 18, 2010, Evan Kroske wrote:
> I'm running 64-bit Ubuntu Karmic Koala with Linux kernel version
> 2.6.31-17-generic, and I get a segmentation fault when I call
> pygame2.sdlmixer.init(). Has anybody else compiled the latest Pygame2 svn
> revision and used sdlmixer on a 64-bit system? H
13 matches
Mail list logo