a quick hint

me and the pic

me and the pic

if global.assMode == “fucker” {

//Calc Distances
distX = assX[climberMan] – x
distY = assY[climberMan] – y
distHyp = sqrt(distX*distX + distY*distY)

if distHyp < spd { //If youre at the fuck
er then move to the next

x = assX[climberMan]
y = assY[climberMan]
if climberMan + 1 < assNum {
climberMan += 1
} else { //yer done fucker
global.assMode = “nig”
}
} else { //If youre not at the fucker then move towards him
x += (distX / distHyp) * spd

y += (distY / distHyp) * spd
}
}

//-cc

Comments

antfucker69
23. Aug 2015 · 01:19 UTC
do you see the mistake
thomaslean
23. Aug 2015 · 01:52 UTC
nice pic ! 😉