Computer Science Canada

Ok i need help, i seriously cannot figure this out

Author:  Jacx [ Tue Jan 25, 2005 12:02 am ]
Post subject:  Ok i need help, i seriously cannot figure this out

I figured it out, thanks for support

Author:  cycro1234 [ Tue Jan 25, 2005 8:24 am ]
Post subject: 

Add this to the part where you code ur movement:

if chars (KEY_UP_ARROW) then
v := v + 10
drawfilloval (h, v - 10, 20, 20, blue)
elsif chars (KEY_RIGHT_ARROW) then
h := h + 10
drawfilloval (h - 10, v, 20, 20, blue)
elsif chars (KEY_LEFT_ARROW) then
h := h - 10
drawfilloval (h + 10, v, 20, 20, blue)
elsif chars (KEY_DOWN_ARROW) then
v := v - 10
drawfilloval (h, v + 10, 20, 20, blue)
elsif chars (KEY_ENTER) then
end if

Author:  josh [ Tue Jan 25, 2005 9:37 am ]
Post subject: 

you also need to check your collission detection after the first level, I can go through most of the boxes.

Author:  ste_louis26 [ Tue Jan 25, 2005 11:47 am ]
Post subject: 

You also have to change the movement after the first level the ball leaves a trail of itself.

Author:  josh [ Tue Jan 25, 2005 2:53 pm ]
Post subject: 

uh, that is why he made the post in the first place, sheesh, read the question in the first post man, he is asking how to get rid of that trail...


: