It's finished. Cheerleader Dawn Undress ver1.0 Continued from http://boards.swfchan.net/31027/ I'm finally finished with this project. Last time I said how I was probably going to finish what I could and make a version 1.1 update in the future. Well, I decided to just skip that and finish everything for a 1.0 release with no plans of any further improvements. Now that that's out of the way, I have some stuff I'd like to talk about regarding some of the struggles I've had with this project. First of all, the camera code. Holy crap. I was stuck on this for weeks. The original code just zoomed in from the dead centre of the MovieClip, which was nothing fancy. Now you can zoom in to any part of the image. You can even drag the crosshair wherever you want too and it will. just. work. I'm really proud with how I came up with the solution for this, because let me tell you, I couldn't find a single tutorial online that not only worked, but worked for my purposes. It seems like everyone expects you to cheat and either stick your MovieClip into another MovieClip, or just reposition the contents of a MovieClip. My code does none of that. Instead it uses the globalToLocal() function to basically compare the x and y values of the pin to the MovieClip I'm targeting. Yes, it was a massive pain getting it to work, I've been at this code for what feels like forever haha. Actually that was the biggest hurdle really. The only other things were just re-writing code constantly and reorganising code to make it more elegant. I suppose the typewriter code gave me a bit of trouble but that's because I hadn't touched it in years. It was only the past day or so that I sat down and manually converted my AS3 code to AS2 for this project and it works amazing (even though it only displays 1 line of text!) I hope you guys enjoy this little passion project of mine. Maybe I'll make one for another image gallery in future, who knows? |