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
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
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!
take a look at my footer for example, i have specified the hight and length for mine, so they never go off the footer!
saint cleve, for some reason i liked your first footer better, i guess its just me. the new ones cool though.
do you meant the one with the robot holding the soda???
ok…chemical…will you tell me how to make it so my robot comes back!!!
actually its kh3mical not chemical and yes i can!
but b4 i can tell u, is ur footer based on random movement???
yeah…it is…sorry about the name mess up…wont happen again
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(aa+bb));
}
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!
lol ive been spelling height wrong!! ive been spelling it hight, instead of height. LOL 
sweet…thhanks this much
<[-------------------------------]> times infinity!!!
lol, no problems 
Can u show me when ur done???
yeah…let me upload it to my server…and then check it out
i made the bounderaies larger than my footer…so the bot can go off…just now it has a better chance of comming back
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
uuuuuummmmm, its not showing up, is it supposed to yet?
ummm…i just now re-uploaded it…
maybe i should put another bot on it!!!
lol, wats with the password stuff?
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
:: Copyright KIRUPA 2024 //--