[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Yeah looks like i'm doing quite well so far, completed my goal for today.



Okay kool, I'll start rewriting and see what I come up with 2morrow :).

import pygame,sys,string
from pygame.locals import *
class Block(pygame.sprite.Sprite):
    def __init(self):
        pygame.sprite.Sprite.__init_ _(self)
   

Is that a good start btw?

On 9/10/07, Ethan Glasser-Camp <glasse@xxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lamonte Harris wrote:
> Oh dude you might be a life saver I found this script on google and I
> understand it.
>
> http://www.daniweb.com/code/snippet390.html thats what you ment right

This is a good example of how objects are created and added to a list,
yes.

Ethan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5hl+hRlgoLPrRPwRArqTAJ9tT/sK5Tjqqht+RUYr51Ao0Q1mWwCdGOhi
dK4FAKDZu5N+k26dK5rk4sY=
=arD5
-----END PGP SIGNATURE-----