Re: [pygame] Image load and convert

2020-09-17 Thread Russell Cumins
Hi Irv, Found this on Google. https://graphicdesign.stackexchange.com/questions/67964/what-does-24bit-mean-exactly-when-referring-to-png-image-file If it is correct, then the alpha channel would show up on a PNG with 32 bit depth. E.g (R,G,B) -> (8 bits, 8 bits, 8 bits) = PNG-24 (R,G,B, A) -> (8

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Russell Cumins
Windows Vista Home Premium I currently have the following installed: - Python 2.5.4 with Pygame 1.8.1 < These are the default versions of python and pygame that I use. - Python 2.6.2 with Pygame 1.9.1 - Python 3.1 with Pygame 1.9.1 Haven't really done much with Python 3.1. On 28 Apri

Re: [pygame]

2010-04-18 Thread Russell Cumins
http://www.pygame.org/wiki/info On 18 April 2010 12:08, Elias Farhan wrote: > unsubscribe pygame-users > > >

Re: [pygame] newbie

2010-03-29 Thread Russell Cumins
Or like me you can run Ubuntu(Or your distro of choice) inside a VM like Virtual Box. Saves monkeying around looking for Win versions of things like grep, wget etc etc. On 30 March 2010 02:19, Daniel Tousignant-Brodeur wrote: > T here is also a

Re: [pygame] pygame.mixer.init(frequency=?)

2010-02-25 Thread Russell Cumins
You have to sacrifice your first born to Cthulhu. Alternatively you could try google+pygame+unsubscribe and follow the first link. On 26 February 2010 01:41, D. Hartley wrote: > Sorry if thi

Re: [pygame] unsubscribe

2010-01-31 Thread Russell Cumins
t; > > > Oh man, what are we going to do without you? > > > > > >> > >> On Sat, Jan 30, 2010 at 9:27 PM, Russell Cumins > > >> wrote: > >>> > >>> Try this, if you haven't already. > >>> http://w

Re: [pygame] unsubscribe

2010-01-30 Thread Russell Cumins
Try this, if you haven't already. http://www.mail-archive.com/pygame-users@seul.org/msg12606.html On 31 January 2010 05:14, Luke Paireepinart wrote: > you're doing it wrong, I think. > > On Sat, Jan 30, 2010 at 10:05 PM, ryan wrote: > >> unsubscribe > > >

Re: [pygame] Help - Events

2009-11-17 Thread Russell Cumins
What about checking if the tile of the same type has already been placed where the mouse is being clicked? if selectedTile == placedTile: placedTile.remove() elif selectedTile != placedTile: selectedTile.place() 2009/11/17 Thiago Petruccelli > so, I kind of did that. But the var name i

Re: [pygame] Fill a Rect object with color?

2009-11-07 Thread Russell Cumins
I'm not 100% sure what you are wanting to change the colour so forgive me if I'm going off on a tangent here. From what you have said thus far I am assuming you want to change the colour of the BoomTower object when it if firing. What I would do is this... class BoomTower: def __init__(self,p

Re: [pygame] Fill a Rect object with color?

2009-11-07 Thread Russell Cumins
Or you can create a surface the size of the rect and use the Surface's fill() method. E.g. position = x,y = 0,0 size = w,h = 32,32 colour = 0,255,0 rect = Rect(position, size) image = Surface(size) image.fill(colour) 2009/11/7 Ian Mallett > I don't think rect objects were meant for that. Yo