[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Re: Fill out those comment cards



> What extra would Numeric provide to pygame? It > apparently is a nice > library for manipulating arrays etc, but would I > benefit from trying to > install it? So far I mostly blit out loaded icons in > my game, but I need > to do a fair bit on direct pixel manipulation too > sooner or later (drawing > lines etc). It's good for some things that aren't currently implemented in C like scaling... but even with simple things, it's nice to just make and fill up a matrix without using any loops at all. > Speaking of lines, has anybody some nice routines > for drawing a line on a > surface from point A to point B? This would save me > from doing own (read > slow) routines... I haven't tried doing lines with Numeric, i suppose it would be a little goofy to work out but it couldn't be slower than doing it in loops. I'm sure it can be done, also circles and so on. I think numpy is great for trying things out and having them go reasonably fast, but it's not fast like C. I'll add it to my list of things to check out. Thank you Pete for doing the win32 binaries. I was having wierd compiling problems again and was getting weary. it works



Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products. All with one Wallet.