Stumped!
Well, it had to happen sooner or later, but maybe if I post about it someone will know a way around this...Basically, my game involves ironing, so I have two images - one of a shirt with rumples, one without.
Graphically, the most effective way of pulling this off *seemed* to be blitting the uncreased image over the creased image under the mouse cursor, so I've set off down this route. Now, I've reached the point where I need to find some way to compare the working image with the uncreased image, to see if the user has finished their ironing yet.
I've just spent most of the evening trawling through the surfarray and Numeric docs looking for anything that might let me do this, and while I've found a few good possibilities (such as Numeric.equal(a,b)) it still doesn't seem to work.
I'm hoping that there's either something obvious that I've missed, or something clever that someone knows, otherwise I'll have to code up a new system, in which case I'll probably not get my coding done by the end of the competition... Help!
(log in to comment)
richard on 2006/03/31 22:03:
Why not just have a separate array that records the ironing?