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

Username:   Password: 
 RegisterRegister   
 Close to Space Invaders
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Rakusan2




PostPosted: Tue Feb 21, 2012 8:24 pm   Post subject: Close to Space Invaders

In this game I wanted to experiment with arrays and ended up making a game close to space Invaders.
In this program I have put a variable delay that will keep the loop running at 40ms because on my computer without the delay it varies from 5ms to 16ms.



Invaders.t
 Description:

Download
 Filename:  Invaders.t
 Filesize:  5.9 KB
 Downloaded:  435 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
whaleye




PostPosted: Tue Feb 21, 2012 8:41 pm   Post subject: Re: Close to Space Invaders

You can use Time.DelaySinceLast() instead of delay() if you want to prevent lag.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: