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

Username:   Password: 
 RegisterRegister   
 Object movement help needed!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
SNIPERDUDE




PostPosted: 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
Sponsor
sponsor
TheOneTrueGod




PostPosted: 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

code:

View.Update


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




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: