STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/62693149?noj=FRM62693149-22DC" width="1" height="1"></div>

Davidzx's Defence (BETA).swf

This is the info page for
Flash #59809

(Click the ID number above for more basic data on this flash file.)


Text
Spam

X

Spam

Davidzx Defence

Visit the DD site

Play

Instructions

Next

The Newgrounds streets are under attack, Davidzx Is
the only one to stop the onslaught. Armed with his
berreta and a ton of ammo, he is able to stop the
invading flash documents from infecting the site.

Back

Each kill you give to the enemy earns you score, Use the
arrow keys to move and ctrl to shoot.
Tip: Hold down ctrl to get more combos(plus score)

movement

Shoot

>

Ctrl

Once your hit, your score will be displayed and you would
be force to restart(along with your score). So try and build
up your score as much as you can.
TIP: Dont get to cocky, Enemies appear in different vertical
angles, you never know where they show up if your on a
rampage.

Lead design: Davidzx
Art and drawings: Davidzx
Audio: Ravaged Heart
All content created is trademark of
Davidzx Division

Time taken: 2 Days 5 hours, 13
mins
Programs used: Macromedia flash
Special  thx  to: Flashkit.com
Newgrounds
My friends
And you......

V 1.05

Score

Game Over

RESTART

Menu

Your score was:

Play more Games at Davidzx Division

ActionScript [AS1/AS2]

Frame 3
stop();
Frame 5
numEnemy = 3; i = 2; while (numEnemy >= i) { enemy1.duplicateMovieClip("enemy" + i, i + 100); i++; } score = 0;
Instance of Symbol 124 MovieClip "mainStars" in Frame 5
onClipEvent (load) { stars.duplicateMovieClip("stars2", 1000); stars2._x = stars._x + stars._width; starsStartx = this._x; starsSpeed = 4; } onClipEvent (enterFrame) { if (_root.spaceship.scrollStart) { this._x = this._x - starsSpeed; if ((starsStartx - stars._width) >= this._x) { this._x = starsStartx - starsSpeed; } } }
Instance of Symbol 129 MovieClip "mainGround" in Frame 5
onClipEvent (load) { ground.duplicateMovieClip("ground2", 100); ground2._x = ground._x + ground._width; groundStartx = this._x; groundSpeed = 10; } onClipEvent (enterFrame) { if (_root.spaceship.scrollStart) { this._x = this._x - groundSpeed; if ((groundStartx - ground._width) >= this._x) { this._x = groundStartx - groundSpeed; } } }
Instance of Symbol 130 MovieClip "spaceship" in Frame 5
onClipEvent (load) { moveSpeed = 10; _root.laser._visible = false; laserCounter = 1; scrollx = _root.mainGround.ground._width / 3; scrollStart = false; maxLasers = 4; depthCounter = 1; } onClipEvent (enterFrame) { if (Key.isDown(17) and (maxLasers >= laserCounter)) { laserCounter++; _root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter); _root["laser" + depthCounter]._visible = true; depthCounter++; if (maxLasers < depthCounter) { depthCounter = 1; } } if (Key.isDown(39)) { if (this._x < scrollx) { this._x = this._x + moveSpeed; } else { scrollStart = true; } } else if (Key.isDown(37)) { this._x = this._x - moveSpeed; } if (Key.isDown(40)) { this._y = this._y + moveSpeed; } else if (Key.isDown(38)) { this._y = this._y - moveSpeed; } } onClipEvent (keyUp) { if (Key.getCode() == 39) { scrollStart = false; } }
Instance of Symbol 133 MovieClip "laser" in Frame 5
onClipEvent (load) { laserMoveSpeed = 20; this._x = _root.spaceship._x + 50; this._y = _root.spaceship._y; } onClipEvent (enterFrame) { if (this._name != "laser") { this._x = this._x + laserMoveSpeed; if (450 < this._x) { _root.spaceship.laserCounter--; this.removeMovieClip(); } i = 1; while (_root.numEnemy >= i) { if (this.hitTest(_root["enemy" + i])) { _root.score = _root.score + 50; _root["enemy" + i].gotoAndPlay(2); } i++; } } }
Instance of Symbol 87 MovieClip "enemy1" in Frame 5
onClipEvent (load) { function reset() { this._x = 450; this._y = random(100) + 50; enemySpeed = random(4) + 1; this.gotoAndStop(1); } reset(); } onClipEvent (enterFrame) { if (_root.spaceship.scrollStart) { this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed); } else { this._x = this._x - enemySpeed; } if (this._x < -10) { reset(); } if (this.hitTest(_root.spaceship)) { _root.gotoAndStop("gameOver1"); } }
Frame 6
stop();
Frame 7
stopAllSounds();
Instance of Symbol 150 MovieClip in Frame 7
/* no clip actions */
Symbol 37 Button
on (release) { getURL ("http://www.newgrounds.com", "_blank"); }
Symbol 46 Button
on (release) { _root.play(); }
Symbol 48 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 48 MovieClip Frame 2
gotoAndPlay (1);
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 6
stop();
Symbol 92 Button
on (release) { getURL ("http://www.Davidzx.piczo.com/", "_blank"); }
Symbol 94 Button
on (press) { gotoAndPlay (5); }
Symbol 96 Button
on (press) { gotoAndStop (4); }
Symbol 102 Button
on (press) { nextFrame(); }
Symbol 107 Button
on (press) { prevFrame(); }
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
stop();
Symbol 119 MovieClip Frame 4
stop();
Symbol 120 Button
on (press) { gotoAndPlay (5); }
Symbol 133 MovieClip Frame 2
stop();
Symbol 138 MovieClip Frame 25
stop();
Symbol 143 Button
on (release) { gotoAndPlay (5); }
Symbol 145 Button
on (release) { gotoAndPlay (2); }

Library Items

Symbol 1 GraphicUsed by:48
Symbol 2 GraphicUsed by:37 48
Symbol 3 GraphicUsed by:48
Symbol 4 GraphicUsed by:48
Symbol 5 GraphicUsed by:48
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:8
Symbol 8 MovieClipUses:7Used by:36
Symbol 9 GraphicUsed by:36
Symbol 10 GraphicUsed by:11 12
Symbol 11 MovieClipUses:10Used by:36
Symbol 12 MovieClipUses:10Used by:36
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:34
Symbol 15 GraphicUsed by:19
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:19 22
Symbol 19 MovieClipUses:15 16 18Used by:33
Symbol 20 GraphicUsed by:22
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:20 21 18Used by:33
Symbol 23 GraphicUsed by:26
Symbol 24 GraphicUsed by:26 29
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:23 24 25Used by:30
Symbol 27 GraphicUsed by:29
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:27 24 28Used by:30
Symbol 30 MovieClipUses:26 29Used by:33
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:33
Symbol 33 MovieClipUses:19 22 30 32Used by:34
Symbol 34 MovieClipUses:14 33Used by:36
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:8 9 11 12 34 35Used by:48
Symbol 37 ButtonUses:2Used by:48
Symbol 38 GraphicUsed by:40
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:38 39Used by:48
Symbol 41 GraphicUsed by:46
Symbol 42 GraphicUsed by:46
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 ButtonUses:41 42 43 44 45Used by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:1 2 3 4 5 36 37 40 46 47Used by:Timeline
Symbol 49 GraphicUsed by:Timeline
Symbol 50 GraphicUsed by:Timeline
Symbol 51 GraphicUsed by:54
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:54
Symbol 54 MovieClipUses:51 53Used by:Timeline
Symbol 55 GraphicUsed by:57
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:55 56Used by:60
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:60  Timeline
Symbol 60 MovieClipUses:57 59Used by:Timeline
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:Timeline
Symbol 65 GraphicUsed by:66 67
Symbol 66 MovieClipUses:65Used by:68
Symbol 67 MovieClipUses:65Used by:68
Symbol 68 MovieClipUses:66 67Used by:Timeline
Symbol 69 GraphicUsed by:70 71
Symbol 70 MovieClipUses:69Used by:72
Symbol 71 MovieClipUses:69Used by:72
Symbol 72 MovieClipUses:70 71Used by:Timeline
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:Timeline
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:Timeline
Symbol 77 GraphicUsed by:87
Symbol 78 FontUsed by:79 80 86 134 135 140 142 144 146 147
Symbol 79 EditableTextUses:78Used by:87
Symbol 80 EditableTextUses:78Used by:87
Symbol 81 GraphicUsed by:87
Symbol 82 ShapeTweeningUsed by:87
Symbol 83 SoundUsed by:87
Symbol 84 GraphicUsed by:87
Symbol 85 GraphicUsed by:87
Symbol 86 EditableTextUses:78Used by:87
Symbol 87 MovieClipUses:77 79 80 81 82 83 84 85 86Used by:119  Timeline
Symbol 88 FontUsed by:89
Symbol 89 TextUses:88Used by:Timeline
Symbol 90 FontUsed by:91 93 95 101 103 106 108 111 112 113 114 115 116 117 118
Symbol 91 TextUses:90Used by:92
Symbol 92 ButtonUses:91Used by:Timeline
Symbol 93 TextUses:90Used by:94 120
Symbol 94 ButtonUses:93Used by:Timeline
Symbol 95 TextUses:90Used by:96
Symbol 96 ButtonUses:95Used by:Timeline
Symbol 97 SoundUsed by:98
Symbol 98 MovieClipUses:97Used by:Timeline
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:119
Symbol 101 TextUses:90Used by:102
Symbol 102 ButtonUses:101Used by:119
Symbol 103 TextUses:90Used by:119
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:119 130
Symbol 106 TextUses:90Used by:107
Symbol 107 ButtonUses:106Used by:119
Symbol 108 TextUses:90Used by:119
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:119
Symbol 111 TextUses:90Used by:119
Symbol 112 TextUses:90Used by:119
Symbol 113 TextUses:90Used by:119
Symbol 114 TextUses:90Used by:119
Symbol 115 TextUses:90Used by:119
Symbol 116 TextUses:90Used by:119
Symbol 117 TextUses:90Used by:119
Symbol 118 TextUses:90Used by:119
Symbol 119 MovieClipUses:100 102 103 105 87 107 108 110 111 112 113 114 115 116 117 118Used by:Timeline
Symbol 120 ButtonUses:93Used by:Timeline
Symbol 121 GraphicUsed by:124
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:124
Symbol 124 MovieClipUses:121 123Used by:Timeline
Symbol 125 GraphicUsed by:128
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:128
Symbol 128 MovieClipUses:125 127Used by:129  Timeline
Symbol 129 MovieClipUses:128Used by:Timeline
Symbol 130 MovieClipUses:105Used by:Timeline
Symbol 131 GraphicUsed by:133
Symbol 132 SoundUsed by:133
Symbol 133 MovieClipUses:131 132Used by:Timeline
Symbol 134 EditableTextUses:78Used by:Timeline
Symbol 135 EditableTextUses:78Used by:Timeline
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:138
Symbol 138 MovieClipUses:137Used by:Timeline
Symbol 139 GraphicUsed by:Timeline
Symbol 140 EditableTextUses:78Used by:Timeline
Symbol 141 GraphicUsed by:143 145
Symbol 142 EditableTextUses:78Used by:143
Symbol 143 ButtonUses:141 142Used by:Timeline
Symbol 144 EditableTextUses:78Used by:145
Symbol 145 ButtonUses:141 144Used by:Timeline
Symbol 146 EditableTextUses:78Used by:Timeline
Symbol 147 EditableTextUses:78Used by:Timeline
Symbol 148 FontUsed by:149
Symbol 149 TextUses:148Used by:150
Symbol 150 MovieClipUses:149Used by:Timeline

Instance Names

"mainStars"Frame 5Symbol 124 MovieClip
"mainGround"Frame 5Symbol 129 MovieClip
"spaceship"Frame 5Symbol 130 MovieClip
"laser"Frame 5Symbol 133 MovieClip
"enemy1"Frame 5Symbol 87 MovieClip
"ground"Frame 7Symbol 128 MovieClip
"stars"Symbol 124 MovieClip Frame 1Symbol 123 MovieClip
"ground"Symbol 129 MovieClip Frame 1Symbol 128 MovieClip

Labels

"gameOver1"Frame 7
"loaded"Symbol 48 MovieClip Frame 3

Dynamic Text Variables

scoreSymbol 134 EditableText""
scoreSymbol 146 EditableText""




http://swfchan.com/12/59809/info.shtml
Created: 16/4 -2019 14:53:24 Last modified: 16/4 -2019 14:53:24 Server time: 22/12 -2024 14:14:37