hi,
in 24 bit mode the average surfaces seems to swap the blue and the red
channels around.
This happens when loading some jpg files to average them.
Had a quick look... but I can't reproduce it in the test runner.
24bit loaded images have these get_masks()...
(255, 65280, 16711680, 0)
32bit i
It's good the display point size (dpi) doesn't matter - it would be
disappointing if SDL_ttf didn't fix such an obvious platform specific
variation like that.
It seems to me the next best step is still to make a small test thing that
uses SDL_ttf without pygame to figure out if pygame is involved
Setting point size to 210 I get Windows results identical to Gentoo.
Lenard
Charlie Nolan wrote:
Ah, good. Couldn't bear to look at the replies until I was
half-asleep, just in case things blew up in my face. Glad to see my
various fears were unfounded. :)
[snip]
Brian (again):
I've on
I don't know what to make of this. Changing the display font size has no
effect on the pixel size of the characters in SDL_ttf.
Lenard
Brian Fisher wrote:
Hmm.. looks like SDL_ttf claims that it opens fonts at 72 dpi:
http://jcatki.no-ip.org:8080/SDL_ttf/SDL_ttf_frame.html
... so how is the p
hi,
using libavcodec (ffmpeg) is definitely planned/wanted for pygame...
cu,
On Thu, Sep 4, 2008 at 11:18 AM, Forrest Voight <[EMAIL PROTECTED]> wrote:
> I think PyGame could use a new movie module... a binding of libavcodec
> probably.
>
> For one of my games, I gave up and decided to write
I think PyGame could use a new movie module... a binding of libavcodec probably.
For one of my games, I gave up and decided to write my own video codec
in Cython instead of messing with PyMedia.
On Wed, Sep 3, 2008 at 8:16 PM, bhaaluu <[EMAIL PROTECTED]> wrote:
> I run a Debian GNU/Linux system,
I run a Debian GNU/Linux system, Python 2.4.4 and PyGame 1.7.
I use this script to play movies. Maybe you can modify it for your game?
#!/usr/bin/python
"""Usage: python playMovie.py movie.mpg
'q' = Quit
"""
import pygame
from pygame.locals import *
def main(filepath):
pygame.init()
pygam
Heres more fixes to mask.c - Py_BuildValue returns a variable with 1
ref and PyList_Append adds another. checked all other cases of
PyList_Append and they all seem correct.
Index: src/mask.c
===
--- src/mask.c (revision 1646)
+++ src
Hi.
I'm wanting to play a movie when I start my game, but I'm having a
problem at playing a video in pygame. I already used pygame.movie and
pymedia to do that, but they didn't work.
The pygame.movie only supports MPEG1 encode, and the video is being
displayed with low quality.
Using pymedia the
Ah, good. Couldn't bear to look at the replies until I was
half-asleep, just in case things blew up in my face. Glad to see my
various fears were unfounded. :)
James:
It was attached to the original post, looks like Brian re-attached it for you.
Brian:
Aha, test results! Much appreciated.
Re
Thank you for your reply. As you suggested I tried the pyglet.
Now, the video and audio are sync, but it seems that FPS is slow and,
because of that, the quality of the image and sound is bad.
How can I improve my pyglet app?
On Sep 3, 2008, at 12:02 PM, Pedro Vieira wrote:
Hi.
I'm wanting to play a movie when I start my game, but I'm having a
problem at playing a video in pygame. I already used pygame.movie
and pymedia to do that, but they didn't work.
The pygame.movie only supports MPEG1 encode, and the vide
Hi.
I'm wanting to play a movie when I start my game, but I'm having a problem
at playing a video in pygame. I already used pygame.movie and pymedia to do
that, but they didn't work.
The pygame.movie only supports MPEG1 encode, and the video is being
displayed with low quality.
Using pymedia the
Thanks,
I just committed a fix for it in mask.c.
Nirav
On Wed, Sep 3, 2008 at 11:13 AM, Campbell Barton <[EMAIL PROTECTED]> wrote:
> Hi, over a year ago I had a look at pygames py-c/api usage for memory
> leaks, and found a few, mainly with Py_BuildValue() using PyObjects
> which are incref'd,
>
Hi, over a year ago I had a look at pygames py-c/api usage for memory
leaks, and found a few, mainly with Py_BuildValue() using PyObjects
which are incref'd,
had another look at the recent SVN and found some more, not sure if
they are new but they definitely cause memory leaks.
For example - call
15 matches
Mail list logo