Computer Science Canada Close to Space Invaders |
Author: | Rakusan2 [ 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. |
Author: | whaleye [ 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. |