Quick Game Select


Free Site Content
Bookmark This site
All Free games
All Free Toons
Video News feeds
Advertising
Community
Community Forums
Register
Login
Advertisement
Search

Latest 10 Flash games
  Killing Grounds
  Kill the invasion of the stick figures
  G-switch
  Run as fast as you can and jump over obstacles
  Quake Resurrection
  Blow up monsters on unofficial quake maps
  Infectonator World Dominator
  Spread your deadly virus through the whole world
  Foreign Creature 2
  An alien overlord has sent a clone to earth to breed an army
  Matrixoid
  A fun logic puzzler game
  Them Coconuts
  Shoot coconuts at invaders
  Pacos Adventure 3
  A side-scrolling shooter
  City at Combat
  A fun top down-shooter
  Hitstick 5
  Go on four tough assassination missions


Top Rated(5+ votes)
Roll On(5/5)
Microlife(5/5)
Blueball 2(5/5)
Spectrum Genesis(5/5)
Mario Combat Deluxe(5/5)
Two Minute color panic(5/5)
Monster Truck Maniac 2(5/5)
Bowja 3 Ninja Kami(5/5)
Platform Combat(5/5)
Wall Street Massacre(5/5)
Bunny Invasion Easter(5/5)
Sonny 2(5/5)
Lastest 12 toons
Primal War 16
Primal War 15
Primal War 14
Primal War 13
Primal War 12
Primal War 11
Primal War 10
Primal War 9
Primal War 8
Primal wars 7
Primal Wars 6
Primal Wars 5
Tutorial Categories
Last 5 Tutorials
Asteroid holes with gradients
Gravitation pull/Circular collisions
Pong tutorial
Basic shooting game
Turret aiming and fire
Asteroids movement and fire
Inertia and directional movement and fire
Enemy movement and Fire
Ship Movement and fire
Moving starfield background



This tutorial is meant to show you how to draw holes in asteroids. Basically it is a tutorial on how to play with gradient fills so you can make holes that seem like they are actually sinking into an object(such as an asteroid). This tutorial was written in Flash MX 2004 Professional(Flash 7) so if you have Flash 7 or a later version, you can grab the source file Here and follow along.

The finished product will look like this:







First lets open up a regular flash document of 550 in width and 400 in height. Now use the rectangle tool to draw a rectangle with no outline and have the fill color be white for now. Next, use the selection tool and drag the outlines of the rectangle until it gets to be the shape of a asteroid.







Next, we want to use the fill tool to fill the asteroid up with a gradient we want, for the purposes of this tutorial, I will use a radial purple gradient.







Next, we want to used the full gradient tool to adjust the gradient, so click on that and click in the middle of the gradient and a circle will appear. The circle controls where the focal point of the light is in the gradient and the size of the gradient spread. For the purposes of the tutorial, lets adjust to light point of the gradient fill to the upper right of the asteroid.







Now lock the layer that this drawing is on(you can lock a layer by clicking on the lock column in the layer of the timeline). Create another layer above this layer to draw the holes. This way if you need to re-do the holes, you will not mess up the original asteroid.







Now draw using a circle tool in the asteroid a smaller circle, using the same gradient. This gradient will in effect, be the rim of our hole. For the smaller circle you just drew, also adjust the lighting point to the lower left by using the fill transform tool.







Now, draw another smaller circle using the same gradient and also adjust the gradient light point to be in the lower left of this circle.







Now, drag the smaller hole into the middle of the bigger hole and you will get a nice-looking asteroid hole!



The mixing of putting the light source of our main asteroid shape to the upper right and putting the light source of the holes to the lower left, gives the feeling that the smaller gradient are sinking into the larger gradient. Putting a smaller hole on top of a larger one gives the "rim" effect. This can not only apply to drawing asteroids but drawing other things as well.



You can repeat this as many times as you want to make as many craters as you want on you asteroid. Of course because of the gradient in the main asteroid, you will have to adjust your asteroid hole gradients lighter or darker accordingly. Thats it for this tutorial!






Hot Flash Games
Flanders Killer

Final Fight

Pit Dwellers

Advertisement

Top Referrers
1. Java gaming
2. Sonic Mario games
3. Baller arcade
4. Smashing Games
5. Heavy Games
6. Agame
7. AddictingGames.com
8. Addicting games
9. Online Games HQ
10. Dirt Bike Games
11. Hot Girls Games
12. Hot Racing Games
13. Stick Games
14. Bubblebox Games
15. Newgrounds


[More Links]
[Add your link]
Partners
Links
Other stuff
E-mail me

AIM: Bobjoe6641
More Flash games
Naruto Ninja

Avatar Arena

Conquer Antartica