methodan, oops i mean method 3
By the way donât refer to my old deviant art account, my new one is telekinesis :thumb:
methodan, oops i mean method 3
By the way donât refer to my old deviant art account, my new one is telekinesis :thumb:
I think I like 3 the best as well :beam:
And⌠ok dan, I wonât Why donât you delete that account?
I donât think you can delete a DA accountâŚ
But I agree, method 3.
Method 3 definitely
Kit: well thatâs retarded
And yes, I think method 3 is my preference too =) Thanks Eyez!!!
Be my guest & de nada, YOU made it, just advice from my sideâŚ
Glad you get such a broad agreement hereâŚ
should the link still work, Iâd have liked to at least see itâŚ?!
Should the link still work :q: :q: :q: The link works fine for me :-\
looks good, are you going to do a Site deconstrocted project?
What is a site deconstructed project?
lol⌠i wanna know that too
YOuâre kidding, Right?
Itâs when you explain in detail everything you did for a site. Almost like a huge tutorial, without explicit detail. For example:
âI created this graphic using Photoshop. Got the graphic, used gaussian blur and colored pencil filters to create a hand drawn look. Saved as jpg and imported to flashâ
âUsed this script (script attached) for my menusâ âused this script for transitionsâ etcâŚ
You deconstruct your site (I would suggest a mod only deconstruction, to avoid the million questions.
Oh, and finally, maybe you can post a tutorial about preloaders? Hahhahhahahahhahah
Ohhhhh, I donât know, maybe I will do that, but iâm afraid people will laugh at my code [size=1]i am quite the sloppy coder[/size]
<b>Looks at game code she wrote</b> Not as sloppy as me, Lost.
It would certainly be interesting to see mod sites deconstructed.
*Originally posted by Kitiara *
**<b>Looks at game code she wrote</b> Not as sloppy as me, Lost.
It would certainly be interesting to see mod sites deconstructed. **
[AS]var movieToLoad = ânews.swfâ;
var targt = 395;
var trigger = false;
String.prototype.noCache = function() {
return (_url.substr(0, 4) != âfileâ) ? this+â?â+new Date().getTime() : this;
};
MovieClip.prototype.elasticMove = function(targt, accel, friction) {
this.speed += (targt-this._y)accel;
this.speed = friction;
this._y += Math.round(this.speed);
};
MovieClip.prototype.moveToLocation = function() {
this.onEnterFrame = function() {
this.elasticMove(targt, .5, .6);
if (Math.round(this._y) == targt && trigger == true) {
//trace(âdone and can loadâ);
this.container.play();
delete this.onEnterFrame;
} else if (Math.round(this._y) == targt) {
//trace(âdoneâ);
this.container.loadMovie((movieToLoad).noCache());
delete this.onEnterFrame;
}
};
};
this.createEmptyMovieClip(âpreloaderâ, 1000);
preloader.onEnterFrame = function() {
var l = navi.container.getBytesLoaded();
var t = navi.container.getBytesTotal();
var getNewPercent = l/t;
if (l<=0) {
loadText.text = â0%â;
} else {
loadText.text = Math.round(getNewPercent100)+â%â;
}
loadBar._width = Math.round(getNewPercent257);
if (l>0 && l>=t && trigger == false) {
targt = 395;
trigger = true;
navi.moveToLocation();
//delete this.onEnterFrame;
}
};
navi.container.loadMovie((movieToLoad).noCache());
//navi.moveToLocation();
navi.home.onRelease = function() {
movieToLoad = ânews.swfâ;
!trigger ? (targt=395, trigger=true) : (this._parent.container.unloadMovie(), targt=105, trigger=false);
this._parent.moveToLocation();
};
navi.links.onRelease = function() {
movieToLoad = âlinks.swfâ;
!trigger ? (targt=395, trigger=true) : (this._parent.container.unloadMovie(), targt=105, trigger=false);
this._parent.moveToLocation();
};
navi.experiments.onRelease = function() {
movieToLoad = âlab.swfâ;
!trigger ? (targt=395, trigger=true) : (this._parent.container.unloadMovie(), targt=105, trigger=false);
this._parent.moveToLocation();
};
navi.about.onRelease = function() {
movieToLoad = âabout.swfâ;
!trigger ? (targt=395, trigger=true) : (this._parent.container.unloadMovie(), targt=105, trigger=false);
this._parent.moveToLocation();
};
navi.portfolio.onRelease = function() {
movieToLoad = âportfolio.swfâ;
!trigger ? (targt=395, trigger=true) : (this._parent.container.unloadMovie(), targt=105, trigger=false);
this._parent.moveToLocation();
};
stop();[/AS]
You sure about that kit :sigh:
That is just for the navigation :sure:
Cheers to sen for the no cache and elasticity code :thumb:
Iâll see your code and raise you [AS]if ((getTimer()-time)>(800-3alienHeight-5aliensDead)) {
if (newLife == 1) {
tellTarget (âShooterâ) {
gotoAndStop(1);
_x = 95;
}
newLife = 0;
} else if (newLife) {
newLifeâ;
} else {
tellTarget (âAlienshipâ) {
if (!_visible && random(40)<1) {
_visible = true;
}
}
if (shipScore>0 && shipScore<50) {
shipScore -= 10;
}
allGone = true;
if (shifts == 1 && (xMax>497 || xMin<23)) {
shifts = 0;
dir = -1;
alienHeight += 14;
}
xMin = 400;
xMax = 0;
for (var i = 0; i<11; i++) {
for (var j = 1; j<6; j++) {
thisAlien = eval(âRowâ+j+i);
if (thisAlien._visible) {
allGone = false;
tellTarget (thisAlien) {
if (_root.shifts == 0) {
_y = _root.alienHeight+30this.j;
} else {
_x += _root.dir;
if (_currentframe == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
if (_y>320) {
_root.lives = 0;
}
if (_x<_root.xMin) {
_root.xMin = _x;
}
if (_x>_root.xMax) {
_root.xMax = _x;
}
}
}
}
}
if (shifts == 0) {
xMin = 400;
xMax = 0;
shifts = 1;
}
if (allGone) {
score += 1000;
if (lives<5) {
lives++;
}
gotoAndPlay(2);
}
}
time = getTimer();
}[/AS] This is just incomprehensible.
Wow uhhh⌠I think you got me :x
I know I have worse code than that around here, but I donât remember which file.
And the thing is, Iâm 99% certain that one of you guys could reduce this down to like, 5 lines or something.
[AS]if ((getTimer()-time)>(800-3alienHeight-5aliensDead)) {
if (newLife == 1) {
Shooter.gotoAndStop(1);
Shooter._x = 95;
newLife = 0;
} else if (newLife) {
newLifeâ;
} else {
!Alienship._visible && random(40)<1 ? Alienship._visible=true : null;
shipScore>0 && shipScore<50 ? shipScore -= 10 : null;
allGone = true;
shifts == 1 && (xMax>497 || xMin<23) ? (shifts=0, dir = -1, alienHeight += 14) : null;
xMin = 400;
xMax = 0;
for (var i = 0; i<11; i++) {
for (var j = 1; j<6; j++) {
thisAlien = eval(âRowâ+j+i);
if (thisAlien._visible) {
allGone = false;
with (thisAlien) {
_root.shifts == 0 ? _y=_root.alienHeight+30this.j : (_x += _root.dir, _currentframe == 1 ? gotoAndStop(2) : gotoAndStop(1));
_y>320 ? _root.lives=0 : null;
_x<_root.xMin ? _root.xMin=_x : null;
_x>_root.xMax ? _root.xMax=_x : null;
}
}
}
}
shifts == 0 ? (xMin=400, xMax=0, shifts=1) : null;
allGone ? (score += 1000, lives<5 ? lives++ : null, gotoAndPlay(2)) : null;
}
time = getTimer();
}[/AS]
I donât know if that will work or not :sure:
[size=1]I love my tertiary operator :love:[/size]
Ok, I âfixedâ the scoll buttons for the news. Do they still resemble a scrollbar? or just up and down buttons like they should?
They look better (useability Point of view), but, why did you change the upper arrow y position??
:: Copyright KIRUPA 2024 //--