is there any way to make a process that rebounds a surface at the correct angle of refraction relative to the angle of the side that its colliding with...or if its a circle, the tangent of the point at which it strikes?
(hope i made that make sense)
PROCESS background1();
BEGIN
z=0;
start_scroll(0, levelfpg1, 8, 0, 0, 3);
loop
scroll[0].y += 2;
frame;
END
END
im sure that this section of code is the faulty one.
:-P ive probs made a really stupid mistake, but will someone help please?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.