Object movement help needed!
Author |
Message |
SNIPERDUDE

|
Posted: Sun Apr 23, 2006 5:33 pm Post subject: Object movement help needed! |
|
|
I'm trying to finish up a game I created, I have all the graphics made and everything but the movement is a little sloppy. The images keep on flickering and I can't seem to figure out how to make it smooth. So if anyone could please help it would be greatly appreciated. Thank you!
P.S. The game should be coming out sometime soon - so look out for it. The storyline is a little whack and a little random, so please don't keep messaging me about it. Anyways it will be called A RANDOM HOBO ADVENTURE(c). |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
TheOneTrueGod

|
Posted: Sun Apr 23, 2006 5:55 pm Post subject: (No subject) |
|
|
At the top of your program write
code: |
View.Set('offscreenonly')
|
before the cls (if you have one) or before you start erasing all your pictures, put
Basically, this causes turing to draw anything off the screen, and then only refreshes the screen when you tell it to.
If you plan on using these in the future, keep in mind that you should only need *one* View.Update in your entire program (there are exceptions, I havn't found any yet).
On further note: You posted this in the wrong forum. What you want is Turing Help, http://www.compsci.ca/v2/viewforum.php?f=2.
Also, if you want help with the code, you need to post it. This can either go in source code or Turing Help, but if you just want help with the code, then preferably put it in the Help section, and with an accurate description of your problem, along with what you may have tried, and what version of turing you have. (The last couple of things aren't necessary, but they help us help you).
Edit: Grammer / Additions / Hyperlink. |
|
|
|
|
 |
SNIPERDUDE

|
Posted: Thu Apr 27, 2006 6:38 am Post subject: Thanks |
|
|
Thanks, I tried it out and it helped alot. I'll post the game (in the right forum) once I'm done. |
|
|
|
|
 |
|
|