David Holland | 1 Jan 2005 11:58
Picon
Favicon

Re: Re: Questions regarding text on a pygame screen

Lee and Andrew,

Thank you for your help.
What I did was put several lines and use the left
position for the first one as the left position for
the others.
Thanks for the link Lee.

David

 --- Lee Harr <missive@...> wrote: 
> >The instructions are quite long and I wondered is
> it possible
> >to set up a text field so that if, it is too long
> for the screen it
> >starts a line ?
> 
> Have you checked the python code repository? (pcr):
> http://mu.arete.cc/pcr/
> 
> This should get you started:
> http://mu.arete.cc/pcr/proj/textrect
> 
>
_________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get
> it now! 
>
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 
(Continue reading)

David Holland | 1 Jan 2005 13:14
Picon
Favicon

Installation problems on Win XP

I have been using pygame on Linux without any
problems.
However when I tried to install on Win XP, the
installer
said that it could not install as I do not have python
2.2 installed (I have 2.4).
Is there a work around to this problem ?

David

	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

Lee Harr | 1 Jan 2005 16:35
Picon
Favicon

Re: Installation problems on Win XP

>I have been using pygame on Linux without any
>problems.
>However when I tried to install on Win XP, the
>installer
>said that it could not install as I do not have python
>2.2 installed (I have 2.4).
>Is there a work around to this problem ?

I think the workaround is to install python 2.2.

I believe that they (2.2 and 2.4) can coexist without
too much trouble. I know they can on linux and bsd...
maybe a windows user will step up to confirm.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

David Holland | 1 Jan 2005 17:49
Picon
Favicon

Re: Re: Installation problems on Win XP

Thanks that solved it.
Earlier on I could not see the exe for 2.2.

 --- Lee Harr <missive@...> wrote: 
> >I have been using pygame on Linux without any
> >problems.
> >However when I tried to install on Win XP, the
> >installer
> >said that it could not install as I do not have
> python
> >2.2 installed (I have 2.4).
> >Is there a work around to this problem ?
> 
> 
> I think the workaround is to install python 2.2.
> 
> I believe that they (2.2 and 2.4) can coexist
> without
> too much trouble. I know they can on linux and
> bsd...
> maybe a windows user will step up to confirm.
> 
>
_________________________________________________________________
> Don't just search. Find. Check out the new MSN
> Search! 
>
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> 
>  
(Continue reading)

David Holland | 1 Jan 2005 17:58
Picon
Favicon

Re: Pygames on a webpage

I know that there are various games that are written
in Java that can be played from a webpage ie :-
http://www.darkfish.com/checkers/index.html
Is it possible to do the same with python games ?
And are there any tutorials on how to do it ?
David

	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

andrew baker | 1 Jan 2005 19:37
Picon

Re: Re: Installation problems on Win XP

It would seem it's running fine on my XP installation with Python 2.3.

On Sat, 1 Jan 2005 16:49:08 +0000 (GMT), David Holland
<davholla2002@...> wrote:
> Thanks that solved it.
> Earlier on I could not see the exe for 2.2.
> 
>  --- Lee Harr <missive@...> wrote:
> > >I have been using pygame on Linux without any
> > >problems.
> > >However when I tried to install on Win XP, the
> > >installer
> > >said that it could not install as I do not have
> > python
> > >2.2 installed (I have 2.4).
> > >Is there a work around to this problem ?
> >
> >
> > I think the workaround is to install python 2.2.
> >
> > I believe that they (2.2 and 2.4) can coexist
> > without
> > too much trouble. I know they can on linux and
> > bsd...
> > maybe a windows user will step up to confirm.
> >
> >
> _________________________________________________________________
> > Don't just search. Find. Check out the new MSN
> > Search!
(Continue reading)

andrew baker | 1 Jan 2005 19:39
Picon

Re: Pygames on a webpage

Well, Guido van Rossum actually did create a browser in Python called
Grail that can run Python apps, however there don't seem to be any
other browsers capable of this.  From what I gather, it is more
difficult to sandbox Python than Java or Flash.  Anyone who can create
a SECURE plug-in to run Python in a browser would probably be revered
as a saint.

On Sat, 1 Jan 2005 16:58:00 +0000 (GMT), David Holland
<davholla2002@...> wrote:
> I know that there are various games that are written
> in Java that can be played from a webpage ie :-
> http://www.darkfish.com/checkers/index.html
> Is it possible to do the same with python games ?
> And are there any tutorials on how to do it ?
> David
> 
> 
> ___________________________________________________________
> ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
> 

--

-- 
Andrew Ulysses Baker
"failrate"

Bob Ippolito | 1 Jan 2005 19:49
Gravatar

Re: Pygames on a webpage


On Jan 1, 2005, at 1:39 PM, andrew baker wrote:

> On Sat, 1 Jan 2005 16:58:00 +0000 (GMT), David Holland
> <davholla2002@...> wrote:
>> I know that there are various games that are written
>> in Java that can be played from a webpage ie :-
>> http://www.darkfish.com/checkers/index.html
>> Is it possible to do the same with python games ?
>> And are there any tutorials on how to do it ?
>>
> Well, Guido van Rossum actually did create a browser in Python called
> Grail that can run Python apps, however there don't seem to be any
> other browsers capable of this.  From what I gather, it is more
> difficult to sandbox Python than Java or Flash.  Anyone who can create
> a SECURE plug-in to run Python in a browser would probably be revered
> as a saint.

More like a miracle worker.  Python is NOT SECURE, and it would require 
a HUGE amount of effort to audit the runtime and make it secure.  You'd 
probably be better off starting from scratch.

You could embed Jython in a Java applet on a web page, and that would 
be as secure as Java is.  Of course, you wouldn't be able to use 
pygame, because it's not pure Python.

-bob

David Holland | 2 Jan 2005 16:25
Picon
Favicon

Re: Pygames on a webpage

> 
> More like a miracle worker.  Python is NOT SECURE,
> and it would require 
> a HUGE amount of effort to audit the runtime and
> make it secure.  You'd 
> probably be better off starting from scratch.
> 
> You could embed Jython in a Java applet on a web
> page, and that would 
> be as secure as Java is.  Of course, you wouldn't be
> able to use 
> pygame, because it's not pure Python.
> 
> -bob
That is a shame as apart as python is a really useful
langugage ! 

	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

Christian Blouin | 2 Jan 2005 17:34
Picon

Drawing TrueType characters on surfaces

Hi,

	I am trying to use a specialized truetype font to draw on a surface.
By specialized I mean a font encoding a series of symbols. Unfortunately, I
get only the default "rectangle" characters (although I don't get any error
messages when I load it). Is this a common problem with not-so-standard
fonts? I get the same behavior if I attempt to do the same with the PIL. 

	I would like to hear from anyone who dealt with this situation. Is
this an intrinsic limitation of the truetype support or can I do something
(either on the code or the font) to fix this?

	Cheers,

Christian

PS: here is the font(s) http://www.mapsymbs.com/app-6a.html


Gmane