Computer Science Canada Make Turing Faster With Pic! |
Author: | TokenHerbz [ Mon Oct 24, 2005 11:25 am ] |
Post subject: | Make Turing Faster With Pic! |
so here i am, making a TRS Game.. I tryed various map making ways, and all of the LAG.. I mean its SOOOOO SLOW! is there a picture format that used less resourses?? i need help speeding up turing, im on 233mhz.. |
Author: | Tony [ Mon Oct 24, 2005 12:06 pm ] |
Post subject: | |
turing is inheritanly slow. coupled with slow processing speed and a graphics heavy application... well ouch. If the only thing you have control over is your code, than you'd just have to figure out a way to load/draw less graphics. View.UpdateArea will be your bestest friend ![]() what's a TRS? |
Author: | jamonathin [ Mon Oct 24, 2005 12:07 pm ] |
Post subject: | |
The only thing you can do is use Pic.Draw rather than Pic.ScreenLoad and make shure your not drawing pictures that aren't being seen anyways. |
Author: | TokenHerbz [ Mon Oct 24, 2005 1:12 pm ] | ||
Post subject: | |||
um heres my code so far... ----------
I plan on having much more grahpics, but bah, its so slow with one pic:S Um, nothings being drawn outside the screen... Also TRS ment to be, RTS = "Real Time Stratagy" Game. And what is the View.UpdateArea do, hows it work?? i also heard to use Xor? Any more ideas? im using .bmp which are like 3mb's big, how do i save quality pics in a dif format? whats a good format to use? etc:: |
Author: | beard0 [ Mon Oct 24, 2005 1:43 pm ] |
Post subject: | |
tokenherbz wrote: And what is the View.UpdateArea do, hows it work??
Again, use the manual, just type it in, and press F9. |
Author: | [Gandalf] [ Mon Oct 24, 2005 2:42 pm ] |
Post subject: | |
Save the file as a jpg, but you will loose a lot of the colour manipulation that is possible with bmps. Sorry, but you are going to have to use something other than Turing to solve your problem. Watch your requirements rise to 2Ghz in the blink of an eye. If you wish to continue with Turing, do not expect to make games, or basically any other graphical thing (limit is, say, a snake game? maybe a bit more, but not much). |
Author: | TokenHerbz [ Mon Oct 24, 2005 2:52 pm ] |
Post subject: | |
i then shall learn java, wheres the DL which dosn't REqUIRE a COMPILER! Blast i hate those so much, i want the thing i had in school :S |
Author: | [Gandalf] [ Mon Oct 24, 2005 3:00 pm ] |
Post subject: | |
Ok, so you don't want a tool required for any kind of programming that you want. Doesn't make much sense, does it? There is a solution to this problem, learn a language that has an interactive interpreter, otherwise in most situations, you need a compiler. You also want crap (RTP). That's not good either. Sorry, but there are no "easy" ways through this, but there are many benefits ![]() I suggest you stop looking for all the superficial things, and try to learn how everything works, how it all goes together. Compilers, editors, programming terms, all that kind of stuff - it makes it easier once you know it. |
Author: | codemage [ Wed Oct 26, 2005 11:09 am ] |
Post subject: | |
You have 3 view.updates - you should optimally only have 1. |
Author: | TokenHerbz [ Wed Oct 26, 2005 1:27 pm ] |
Post subject: | |
yeah Cervantes fixed the problem though... turns out i just needed ""delay(20)"" lol, the small things BAH! O wells.. thanks for the suggestions and effot to help though. |