Oct 28, 2008
Thanks to everyone who watched my presentation during the <head> conference last Saturday. Aral put together a great event, and despite not being able to hear the audience laugh uproariously at my hysterical jokes, I very much enjoyed giving the presentation.
I mentioned during the presentation that I would post the Big Spaceship end tag somewhere so those people for who it did not play through smoothly could see it. I am hoping to have that done sometime this week, so check back soon.
Oct 16, 2008
Simple: update the x property of a bunch of Sprites on the stage based on the Mouse's x position.
If you are on the right half of the stage, move objects to the left (scroll right/negative x). If you are on the left side of the stage, move objects to the right (left scroll/positive x). This also takes into account how close you are to the center; if you are closer to the edges, scroll faster.
Oct 16, 2008
Creating a site that has a lot of transitions is fun. One that uses a ParallaxManager to manage and scroll 6 layers of objects is also fun.
What isn't fun is having the user leave the site to check mail, work, oh, I don't know, do something else and have the site continually scroll. In steps 'Event.MOUSE_LEAVE'.
|