[note: I accidentally posted this in the Web Design and Development forum. I hope it's okay that I'm posting it here now (where it belongs) as well.]
Hi all,
I'm going to try to port my mom's adventure games (text + graphics) to OS X with Cocoa. I'm facing a problem with a bit of graphics animation. I'm not sure how to describe it...it's kind of like, blackness comes in on you from all sides, so that your circle of vision gets smaller and smaller. If this were to be done using rects, I could simply show smaller and smaller pieces of the image (the image that represents the scene, or what the player can see), with blackness all around. But I'm not sure how to do this with circles.
Check out this quick video I made of it, if you aren't sure what I'm talking about:
http://members.cox.net/fredhope2000/pavilion_blackout.mov (about 650 KB)
edit: URL fixed.
Thanks!
Hi all,
I'm going to try to port my mom's adventure games (text + graphics) to OS X with Cocoa. I'm facing a problem with a bit of graphics animation. I'm not sure how to describe it...it's kind of like, blackness comes in on you from all sides, so that your circle of vision gets smaller and smaller. If this were to be done using rects, I could simply show smaller and smaller pieces of the image (the image that represents the scene, or what the player can see), with blackness all around. But I'm not sure how to do this with circles.
Check out this quick video I made of it, if you aren't sure what I'm talking about:
http://members.cox.net/fredhope2000/pavilion_blackout.mov (about 650 KB)
edit: URL fixed.
Thanks!