The Daily Click ::. Forums ::. Klik Coding Help ::. Less than smooth scrolling - any ideas?
 

Post Reply  Post Oekaki 
 

Posted By Message

HaZe



Registered
  28/08/2011
Points
  11
4th September, 2011 at 06:00:05 -

Hi guys! I'm working on a platform game using fastloops to detect collisions, movement, etc, and it runs fine; Yet when I added my scrolling event it just doesn't look smooth, or very polished at all. This is really bothering me as I have yet to even implement my actual graphics and I'd like to nip problems like this in the bud. Ive tried placing my camera scroll event in an "Always" condition, as well as inside all the fastloop statements, and in either case i still get this choppy feel. Any suggestions? Here's the .mfa for those who are interested. Thanks in advance!

http://db.tt/TUHNxOA

 
n/a

nim



Registered
  17/05/2002
Points
  7234
4th September, 2011 at 08:54:28 -

Does this help?

http://www.create-games.com/forum_post.asp?id=289765

 
//

HaZe



Registered
  28/08/2011
Points
  11
4th September, 2011 at 13:19:34 -

Ya know I came across that after I had made my post. I'll go ahead and give it a shot and see if that doesn't fix it! Is that what you always use in place of the built in "Center screen position relative to character" event? Thanks for the reply!

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
4th September, 2011 at 22:10:41 -

Yeah your framerate is set to the default 50 frames per second. Ive always found 60 frames per second to be much smoother but then I always have my monitor's refresh rate set to 60hz too.
Also turn on Vsync and Direct3D9.

For me that gives perfect smooth scrolling.

Edited by AndyUK

 
.

HaZe



Registered
  28/08/2011
Points
  11
6th September, 2011 at 18:08:44 -

hey thanks Andy, that worked great! I never thought to adjust the FPS, I guess I always just kinda overlooked it..

 
n/a
   

Post Reply



 



Advertisement

Worth A Click