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

Username:   Password: 
 RegisterRegister   
 combining processes OR not
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kythoon




PostPosted: Thu May 22, 2003 6:30 pm   Post subject: combining processes OR not

i need some help now with that timer thing. i did what u suggested but its not working, or maybe its just the programming. what i want is once the character is outside, the outside procedure, they timer starts.

after say 3 seconds the small troll appears, then 5 seconds after that the next and so on

the procedure names to use are commented

if i shouldn't use process, then what?


this is my final year project, and its do tomorrow. Embarassed So i need to figure this out fast.

Thanks all
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu May 22, 2003 6:52 pm   Post subject: (No subject)

instead of processes you use same loop with flags...

so
code:
if monsterAppearFlag = true then...
you load up a procedure to make a new moster appear... then reset the flag to false.. you'll also have a timer find new time each time through the loop... and once enough time passes, you reset the flag variable to true once again and procedure repeats
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
kythoon




PostPosted: Thu May 22, 2003 6:59 pm   Post subject: (No subject)

i'm not really understanding what you are saying Confused

i do and i dont. could you explain it if possible in code or something

thanks
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  [ 3 Posts ]
Jump to:   


Style:  
Search: