Featured FLA
» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden
Featured Site
» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.
OK, now that wasn't so hard, was it? Basically, we just check for all the powerUps that we didn't check for already in other functions. If the player is invincible, he is half transparent. This is just a visual thing to make the game cooler. Then we check to see if the powerUp called badBaddy is set to true. If it is, the player constantly loses energy. Note that this is according to the baddyPower variable. Then we check to see if the helper power is set to true. If it is, the helper is visible and his speed is set to five. Finally, if the wipeOut power is in use, we load the next level and set the wipeOut variable to false(wouldn't want to have the player constantly beating levels!) Now let's check for all the other variables that we set, so that the game actually works!