Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Ok i need help, i seriously cannot figure this out
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Jacx




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
cycro1234




PostPosted: Tue Jan 25, 2005 8:24 am   Post subject: (No 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
josh




PostPosted: Tue Jan 25, 2005 9:37 am   Post subject: (No subject)

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




PostPosted: Tue Jan 25, 2005 11:47 am   Post subject: (No subject)

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




PostPosted: Tue Jan 25, 2005 2:53 pm   Post subject: (No 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...
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: