Congrats, I enjoyed all the entries but Washed Ashore was a worthy winner!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menufunction Pecker(int num) {
// If chicken is not moving
if (object[num].Moving == false) {
int rnd = Random(100);
// Move
if (rnd == 1) {
// Get new coordinates
int new_x = object[num].X + PosNegInt(Random(20));
int new_y = object[num].Y + PosNegInt(Random(10));
// Get direction object is facing, start animating
if (new_x > object[num].X) {
object[num].SetView(5, 0);
object[num].Animate(0, 4, eRepeat, eNoBlock);
}
else {
object[num].SetView(5, 1);
object[num].Animate(1, 4, eRepeat, eNoBlock);
}
// Move to new coordinates
object[num].Move(new_x, new_y, 1, eNoBlock, eWalkableAreas);
}
// Peck ground
else if (rnd > 98) {
if (FacingLeft(object[num].Loop)) {
object[num].SetView(5, 8);
object[num].Animate(8, 4, eOnce, eNoBlock);
}
else {
object[num].SetView(5, 9);
object[num].Animate(9, 4, eOnce, eNoBlock);
}
}
}
}
Quote from: SSH on Thu 08/12/2005 18:17:20
Mr Bean and Alan Partridge are basically just remakes of Frank Spencer from "Some mothers do 'ave 'em"
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.053 seconds with 14 queries.