Computer Science Canada Matrix Text Effect Game |
Author: | fishtastic [ Sun Jan 20, 2008 9:27 pm ] | ||
Post subject: | Matrix Text Effect Game | ||
I somehow had the idea of making this, I thought if the text flying down the screen were something like "OMGWTFLOL" the it will be really funny Well, here goes another chunk of codes.
|
Author: | LaZ3R [ Tue Jan 22, 2008 2:41 pm ] |
Post subject: | RE:Matrix Text Effect Game |
Nevermind, I see your comment at the top of the program. Still weird... |
Author: | Gooie [ Tue Jan 22, 2008 3:23 pm ] |
Post subject: | Re: Matrix Text Effect Game |
I love it. Simple, efficient, and fun. |
Author: | Sean [ Tue Jan 22, 2008 3:38 pm ] |
Post subject: | Re: Matrix Text Effect Game |
Interesting, although it did distract some kids in our class from their work the other day. |
Author: | ericfourfour [ Tue Jan 22, 2008 4:21 pm ] |
Post subject: | RE:Matrix Text Effect Game |
Good job. The main loop could use some better organization. The way you have it is: Draw Think Think/Draw Draw Flip Backbuffer Get Input Think If you make it so there is only one draw and one think, it will increase readability. You might also consider putting in an FPS limiter (delay or Time.DelaySinceLast) so everyone runs the same program. |
Author: | fishtastic [ Tue Jan 22, 2008 8:34 pm ] |
Post subject: | Re: RE:Matrix Text Effect Game |
Cool comments!! Vilament @ Tue Jan 22, 2008 2:38 pm wrote: Interesting, although it did distract some kids in our class from their work the other day.
Yes!! my evil plan is starting to work. i will complete screw them by uploading something even more distracting Gooie @ Tue Jan 22, 2008 2:23 pm wrote: I love it. Simple, efficient, and fun.
Thank you! LaZ3R @ Tue Jan 22, 2008 1:41 pm wrote: Nevermind, I see your comment at the top of the program. Still weird...
were you trying to say something? ericfourfour @ Tue Jan 22, 2008 3:21 pm wrote: If you make it so there is only one draw and one think, it will increase readability. You might also consider putting in an FPS limiter (delay or Time.DelaySinceLast) so everyone runs the same program. Yes. I was putting codes in procedure at the beginning, then I put them in the main loop to shorten the code down. The program I pretty short, but organizing will make it even easier to real. I found turing slow at out putting on my computer even without delay. but DelaySinceLast will probably maintain FPS in faster Comps. thanks for all comments |
Author: | ericfourfour [ Tue Jan 22, 2008 11:57 pm ] |
Post subject: | RE:Matrix Text Effect Game |
I don't mean you should put all your code into procedures. That is not required right now. Just try to keep everything together. It's a lot easier to get all of the user input, then process it, and then render it. In Turing, I try to organize my main loop like this: Get Input (Input.KeyDown, Mouse.Where, hasch, getchar) Think (process input, do calculations, check if the program should exit) Render (clear the screen, draw everything) Flip BackBuffer (View.Update) FPS Limiter (Time.Delay or Time.DelaySinceLast) |
Author: | Carey [ Thu Jan 24, 2008 9:54 am ] | ||
Post subject: | RE:Matrix Text Effect Game | ||
Same with me.I usually build the loop with procedures titled
With the View.Update inside the draw procedure |
Author: | anna12345 [ Tue Apr 22, 2008 10:09 am ] |
Post subject: | RE:Matrix Text Effect Game |
ur a genius))) |
Author: | crysis [ Tue Apr 22, 2008 8:25 pm ] |
Post subject: | RE:Matrix Text Effect Game |
tis is awsome i really enjoyed it however if theres 2 many characters you get trapped. |
Author: | syntax_error [ Tue Apr 22, 2008 9:08 pm ] |
Post subject: | Re: RE:Matrix Text Effect Game |
crysis @ Tue Apr 22, 2008 8:25 pm wrote: tis is awsome i really enjoyed it however if theres 2 many characters you get trapped.
he states himself: char limit 25. |
Author: | crysis [ Wed Apr 23, 2008 8:06 am ] |
Post subject: | RE:Matrix Text Effect Game |
wat do u mean char limit 25? |
Author: | nastynika [ Wed Apr 23, 2008 8:51 am ] |
Post subject: | Re: RE:Matrix Text Effect Game |
crysis @ Wed Apr 23, 2008 8:06 am wrote: wat do u mean char limit 25?
he means dont use anymore than 25 characters |
Author: | nastynika [ Wed Apr 23, 2008 8:52 am ] |
Post subject: | Re: Matrix Text Effect Game |
nice game btw you could try doing something to give u a score or a timer on how long u lasted |