0 Members and 3 Guests are viewing this topic.
In other news, Frey continues kicking unprecedented levels of ass.
I don't understand it, too.Only DeepThought knows!But he won't continue it. :'(
((X1 - X0)*(x - X0) + (Y1 - Y0)*(y - Y0))/((X1 - X0)² + (Y1 - Y0)²)->aif (0<a and a<1 and ((x - X0 - a*(X1 - X0))² + (y - Y0 - a*(Y1 - Y0)))² <= colradius²)then;react to collisionend
Here is some code:(x,y) = position of player(x0,y0)(x1,y1) = line to checkcolradius = radius of playerCode: [Select]((X1 - X0)*(x - X0) + (Y1 - Y0)*(y - Y0))/((X1 - X0)² + (Y1 - Y0)²)->aif (0<a and a<1 and ((x - X0 - a*(X1 - X0))² + (y - Y0 - a*(Y1 - Y0)))² <= colradius²)then;react to collisionendthat should check if the player collides with the given line.
I tried going to the official website and it froze every time I pressed a key in the game. That's why I linked the other one, not trying to crash people's browsers
Should I upload them?It's not really legual, but I can do it. (world 3 - because you can't play it)