The line "if (firstSwipe = true)" should use == instead. One equals sign sets the value of a variable, two does comparison. Easy mistake!
If you want it to look like the screen is scrolling up (blocks, even stopped ones are scrolling down) then you'll have to move every block down by a few pixels, even the stopped ones. I'd put two more loops at the bottom of your moveBlocks method to scroll everything down a little.
__________________

Free Games!
Last edited by smasher; 02-02-2010 at 11:39 PM.
|