Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Eggbird extends MovieClip{
- var numbershot = 0
- function onLoad(){
- _x = _global.xcoords - 100;
- _y = 100
- }
- function onEnterFrame(){
- _y = _y + 2;
- if(_y > 700)
- {
- this.removeMovieClip();
- }
- if(this.hitTest(_root.CannonProjectile))
- {
- this.removeMovieClip();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement