PDA

View Full Version : my footer



saint cleve
July 14th, 2003, 01:30 AM
i think my footer is stoopid...this is here so i can check up on it as i update!!!

if you see the robot come back...consider yourself lucky...i would stare at it for hours and it wouldn't come back:*( ...oh well...

enjoy

kh3mical
July 14th, 2003, 02:06 AM
It doesnt come back because if ur doing random movement u have to specify the dimensions of ur movie, aka Hight and Length
If dont specify them its never gonna come back!;)

kh3mical
July 14th, 2003, 02:08 AM
take a look at my footer for example, i have specified the hight and length for mine, so they never go off the footer!;)

replode
July 14th, 2003, 02:12 AM
saint cleve, for some reason i liked your first footer better, i guess its just me. the new ones cool though.

saint cleve
July 14th, 2003, 02:21 AM
do you meant the one with the robot holding the soda???

saint cleve
July 14th, 2003, 02:23 AM
ok...chemical...will you tell me how to make it so my robot comes back!!!

kh3mical
July 14th, 2003, 02:38 AM
actually its kh3mical not chemical and yes i can!

but b4 i can tell u, is ur footer based on random movement?????

saint cleve
July 14th, 2003, 02:38 AM
yeah...it is...sorry about the name mess up...wont happen again

kh3mical
July 14th, 2003, 02:45 AM
lol, i was just joking ;) call me what ever u want!:)

ok.

i use this code for random movement,

all u gotta do is just copy and paste the code into your ur actions box on the 1st frame

function getdistance(x, y, x1, y1) {
var run, rise;
run = x1-x;
rise = y1-y;
return (_root.hyp(run, rise));
}
function hyp(a, b) {
return (Math.sqrt(a*a+b*b));
}
MovieClip.prototype.reset = function() {
//specify the width and height of the movie
width = 300;
height = 200;
//-------------------
var dist, norm;
this.x = this._x;
this.y = this._y;
this.speed = Math.random()*4+2;
this.targx = Math.random()*width;
this.targy = Math.random()*height;
dist = _root.getdistance(this.x, this.y, this.targx, this.targy);
norm = this.speed/dist;
this.diffx = (this.targx-this.x)*norm;
this.diffy = (this.targy-this.y)*norm;
};
MovieClip.prototype.move = function() {
if (_root.getdistance(this.x, this.y, this.targx, this.targy)>this.speed) {
this.x += this.diffx;
this.y += this.diffy;
} else {
this.x = this.targx;
this.y = this.targy;
if (!this.t) {
this.t = getTimer();
}
if (getTimer()-this.t>1000) {
this.reset();
this.t = 0;
}
}
this._x = this.x;
this._y = this.y;
};

THEN

copy and paste this code on the robot's actions box (right click on it and go to actions)

onClipEvent(enterFrame){
move();
}

in the big code ive put in a section which wont affect the code but it tells u where to specify the lenght and hight of the movie!

so there it is!;)

kh3mical
July 14th, 2003, 02:47 AM
lol ive been spelling height wrong!! ive been spelling it hight, instead of height. LOL ;)

saint cleve
July 14th, 2003, 02:48 AM
sweet...thhanks this much
<[-------------------------------]> times infinity!!!

kh3mical
July 14th, 2003, 02:49 AM
lol, no problems ;)

Can u show me when ur done???

saint cleve
July 14th, 2003, 02:50 AM
yeah...let me upload it to my server...and then check it out

saint cleve
July 14th, 2003, 02:52 AM
i made the bounderaies larger than my footer...so the bot can go off...just now it has a better chance of comming back

kh3mical
July 14th, 2003, 02:55 AM
sweet ;)

U look pretty good at drawing!

Possible if u could draw me an avatar, Check out my Povo home made 1!!!! ive already made a post asking some1 have a look if ur interested! www.kirupaforum.com/forums/showthread.php?s=&postid=250810#post250810

kh3mical
July 14th, 2003, 02:57 AM
uuuuuummmmm, its not showing up, is it supposed to yet?

saint cleve
July 14th, 2003, 02:58 AM
ummm...i just now re-uploaded it...

saint cleve
July 14th, 2003, 02:59 AM
maybe i should put another bot on it!!!

kh3mical
July 14th, 2003, 03:00 AM
lol, wats with the password stuff?

saint cleve
July 14th, 2003, 03:02 AM
oh...that just leads to another part of my footer...if you guess the password correctly...you go to it...no big deal...if you wanna mess with it..the pasword is "grewn stefani" without the quotes

kh3mical
July 14th, 2003, 03:03 AM
"invalid password"

saint cleve
July 14th, 2003, 03:04 AM
oh sorry...gwen...not grewn

saint cleve
July 14th, 2003, 03:04 AM
its stoopid...i dont know what to put in it

kh3mical
July 14th, 2003, 03:06 AM
lol, u could really teach me some stuff!!

Im pretty much a n00b at everything that involves interactivity,
im only good at making poor animations, eg like my footer, how gay is it?!!! me=n00b at interactivity!

saint cleve
July 14th, 2003, 03:07 AM
meh...i do what i can...thanks tho...so...do you think i should add another bot???

saint cleve
July 14th, 2003, 03:10 AM
maybe i should make two robots fight...that would be sweet

kh3mical
July 14th, 2003, 03:12 AM
yeah, but it would be pretty complicated, are u sure ur up to it?

kh3mical
July 14th, 2003, 03:13 AM
btw ur footer would have to have maximum size, 300 wide and 60 high

saint cleve
July 14th, 2003, 03:18 AM
why would i hafta change my size of the footer...and hells yes im up for it!!!

kh3mical
July 14th, 2003, 03:20 AM
well to have 2 robots fighting, it would probably need more room!;) considering especially if these robots are as big as buildings! :)

saint cleve
July 14th, 2003, 03:27 AM
nah..i will just make em small and have em run towards eachother and one will knok the others head of...then i will have a replaybtn...

kh3mical
July 14th, 2003, 03:30 AM
lol. get rid of the password box as well. it blocks the view! :);)

saint cleve
July 14th, 2003, 03:34 AM
oh..ok...but yeah...i just drew the bots....check it out

kh3mical
July 14th, 2003, 03:42 AM
uuuummm cant see them!;)

saint cleve
July 14th, 2003, 03:44 AM
well...maybe try to reload the site or something...cause that worked for me

kh3mical
July 14th, 2003, 03:54 AM
lol it works now, nice job!, u candraw really good really quickly nice job!

saint cleve
July 14th, 2003, 04:05 AM
thaks..i got them to fight...check it out in a few

saint cleve
July 14th, 2003, 04:07 AM
no i wanna get a super groovy/dark/mystereious avitar/icon thingy

kh3mical
July 14th, 2003, 04:09 AM
sweet
man, i wanna pixel person, but i cant draw for nuts, i also wanna good footer and a avatar

lol, robots fighting never thought id see the day ;) (terminator 3)

saint cleve
July 14th, 2003, 04:15 AM
yeah...so do you like it???

kh3mical
July 14th, 2003, 04:20 AM
lol, omfg thats awesome buddy!;):) nice job!!!

PS im doing a magic 8 ball and i wondered if u could tell me how to do buttons, eg, enter, but intsead of enter, one saying "shake"???

saint cleve
July 14th, 2003, 04:44 AM
hmm...im not exactly sure...maybe you could have something go as a random...you know what i mean...when your viewer shakes it...you can have teh action go to and get random something...i dont know...somewehre in the lines of taht...ask the actionscript people...im not all that good with that kind of stuff...sorry

kh3mical
July 14th, 2003, 04:55 AM
lol, no all im saying is when u press, shake, it goes to a certain point in my movie where the i have allready made the shake animation, then it has a premade msg that comes up!

kh3mical
July 14th, 2003, 04:56 AM
wat program did u use to make that pixel man, its awesome
;):)

saint cleve
July 14th, 2003, 12:55 PM
i made the pixel dude with photosshopr 7.0...and i dig the new footet...also...just have it for your buttons actions:
on (release) {
gotoAndPlay(put your frame number here);
}

kh3mical
July 14th, 2003, 09:18 PM
thanx

kh3mical
July 14th, 2003, 09:34 PM
do u actually GET my new footer?

saint cleve
July 14th, 2003, 11:43 PM
yeah...its rad..is he doing some experiment and it blows???thats rad...also..i am making a new footer...i cant wait till im finished...i hope its not too big of a file!!!

kh3mical
July 14th, 2003, 11:54 PM
lol, thanx

kh3mical
July 14th, 2003, 11:55 PM
ill show u my new 1, in a new post called, compare footers

saint cleve
July 15th, 2003, 12:03 AM
rad..i will post mine there too...send me the link when your done!!! groovy pixel person

kh3mical
July 15th, 2003, 12:08 AM
lol, thanx, i cant be bothered to do the link, so ill just tell u the name, its in Test footers, probably the 1st 1, called, which footer?