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

Username:   Password: 
 RegisterRegister   
 Making coding that allows 2 player gaming
Index -> Programming, Turing -> Turing Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Panphobia




PostPosted: Sat Dec 08, 2012 4:07 pm   Post subject: RE:Making coding that allows 2 player gaming

put it at the beginning
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Dec 08, 2012 5:12 pm   Post subject: RE:Making coding that allows 2 player gaming

consider the order that drawing of things happen
Quote:

drawoval (x, y, 4, 4, red)
drawoval (a, b, 4, 4, black)
delay (10)
View.Update
cls


- draw items to buffer, not displaying anything yet
- wait for a bit (this is essentially lag, as you'll be displaying the frame even later than it was ready)
- update the screen
- erase everything right away
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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 2 of 2  [ 17 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: