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

Username:   Password: 
 RegisterRegister   
 hi, a lil help in worm real time game
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
lil_li




PostPosted: Tue May 04, 2004 7:46 pm   Post subject: hi, a lil help in worm real time game

ok, i'm making gunbound real time, its like worm real time, right now i have three problemes:
1) how do you do a loading screen?, like it acturall load, not just some fake bar that shows "loading ... loading... "
2) when you make everything real time, how do use fork?, do u just fork every movements there is?, please give me an example
3) and when i try to use whatdotcolour for couple things, the problem is that, every time i clear the screen (draw white box) it set my whatdotcolour value to 0 for about 0.2 s that screws up my program, how do i fix this problem?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue May 04, 2004 7:57 pm   Post subject: (No subject)

for loading, you just update progress after each file (mostly images) are loaded. Something like filesLoaded/totalFiles * 100 %

you don't use forks. You just check each object to see if it's ready to perfom it's action. If so execute, if not, skip on to the next object.

as for whatdotcolor - don't use it. Use math. It's better
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 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: