Shop More Submit  Join Login
×



Details

Submitted on
June 3, 2006
Image Size
716 bytes
Resolution
550×400
Link
Thumb
Embed

Stats

Views
486
Favourites
5 (who?)
Comments
14
Downloads
112
×
i think i'll have to give him red eyes
Add a Comment:
 
:iconutahjazz:
utahjazz Featured By Owner Aug 11, 2009
lol das hab ich jetzt nicht erwartet
Reply
:iconflamereaper:
FlameReaper Featured By Owner Jun 6, 2006
wow great use of a tsunami code id never have thought to actualy use it and do shapes/characters with it. nice work. alien invaders are the shit :P great work
Reply
:iconviewtifulsho:
ViewtifulSho Featured By Owner Jun 6, 2006
what is the "tsunami code" ??
----------------------------------------------------------------------------------------------------------------------------------
_quality = "BEST";
Stage.scaleMode = "noScale";
text_arr = [[1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 0, 1, 0, 1, 1, 1],
[1, 1, 0, 0, 0, 0, 0, 1, 1],
[1, 1, 0, 1, 0, 1, 0, 1, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 1, 0, 1, 0, 1, 0, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1]
];
maxwidth = text_arr[0].length*11;
maxheight = text_arr.length*11;
for (var i = 0; i<text_arr.length; i++) {
for (var j = 0; j<text_arr[i].length; j++) {
depth = this.getNextHighestDepth();
if (text_arr[i][j] == 2) {
this.attachMovie("block", "block2"+depth.toString(), depth);
this["block2"+depth]._x = (j*10)+(Stage.width/2-maxwidth/2);
this["block2"+depth]._y = (i*10)+(Stage.height/2-maxheight/2);
}
this["block2"+depth].onEnterFrame = function() {
dx = this._x-_root._xmouse;
dy = this._y-_root._ymouse;
dist = Math.sqrt(dx*dx+dy*dy);
if (dist > 100) dist = 100;
this._rotation += (dist-this._xscale);
};
if (text_arr[i][j] == 1) {
this.attachMovie("block", "block"+depth.toString(), depth);
this["block"+depth]._x = (j*10)+(Stage.width/2-maxwidth/2);
this["block"+depth]._y = (i*10)+(Stage.height/2-maxheight/2);
}
this["block"+depth].onEnterFrame = function() {
dx = this._x-_root._xmouse;
dy = this._y-_root._ymouse;
dist = Math.sqrt(dx*dx+dy*dy);
if (dist > 100) dist = 100;
this._xscale = this._yscale += (dist-this._xscale);
};
}
}
----------------------------------------------------------------------------------------------------------------------------------
Reply
:iconflamereaper:
FlameReaper Featured By Owner Jun 7, 2006
ah sory i have a habit of calling it that. its basicaly a code that increases the size of objects relative to how far the mouse or other object is away from them. its sometimes called a tsunami code because when used on a say a list of nav bar links when you scroll the mouse across it looks like a big wave.
Reply
:icongoku87:
goku87 Featured By Owner Jun 7, 2006
lol. nice. i now have a new vocabulary word.
Reply
:iconflashgamer:
flashGamer Featured By Owner Jun 6, 2006
Nice and awesome, i like.
Reply
:iconviewtifulsho:
ViewtifulSho Featured By Owner Jun 6, 2006
thank u too
thanku thanku thanku
Reply
:icongoku87:
goku87 Featured By Owner Jun 5, 2006
awesome. would you mind if i asked to see the script?
Reply
:iconviewtifulsho:
ViewtifulSho Featured By Owner Jun 6, 2006
oh u where thee one who wanted the script...
wouls u mind if i ask u to show me what u do with the script??

----------------------------------------------------------------------------------------------------------------------------------
_quality = "BEST";
Stage.scaleMode = "noScale";
text_arr = [[1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 0, 1, 0, 1, 1, 1],
[1, 1, 0, 0, 0, 0, 0, 1, 1],
[1, 1, 0, 1, 0, 1, 0, 1, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 1, 0, 1, 0, 1, 0, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1]
];
maxwidth = text_arr[0].length*11;
maxheight = text_arr.length*11;
for (var i = 0; i<text_arr.length; i++) {
for (var j = 0; j<text_arr[i].length; j++) {
depth = this.getNextHighestDepth();
if (text_arr[i][j] == 2) {
this.attachMovie("block", "block2"+depth.toString(), depth);
this["block2"+depth]._x = (j*10)+(Stage.width/2-maxwidth/2);
this["block2"+depth]._y = (i*10)+(Stage.height/2-maxheight/2);
}
this["block2"+depth].onEnterFrame = function() {
dx = this._x-_root._xmouse;
dy = this._y-_root._ymouse;
dist = Math.sqrt(dx*dx+dy*dy);
if (dist > 100) dist = 100;
this._rotation += (dist-this._xscale);
};
if (text_arr[i][j] == 1) {
this.attachMovie("block", "block"+depth.toString(), depth);
this["block"+depth]._x = (j*10)+(Stage.width/2-maxwidth/2);
this["block"+depth]._y = (i*10)+(Stage.height/2-maxheight/2);
}
this["block"+depth].onEnterFrame = function() {
dx = this._x-_root._xmouse;
dy = this._y-_root._ymouse;
dist = Math.sqrt(dx*dx+dy*dy);
if (dist > 100) dist = 100;
this._xscale = this._yscale += (dist-this._xscale);
};
}
}
----------------------------------------------------------------------------------------------------------------------------------
Reply
:icongoku87:
goku87 Featured By Owner Jun 7, 2006
thanks. ill show you what i do if i ever use this "tsunami" code. first ill have to pick it apart and figure out how it works though.
thanks again.
Reply
Add a Comment: