Small jumps when room scrolling [SOLVED]

Started by iamlowlikeyou, Tue 11/01/2011 19:39:00

Previous topic - Next topic

iamlowlikeyou

I think I saw the solution for this here in the forum once, but I just CAN'T find it :D
As far as I recall it was quite simple - something like checking a box somewhere...

My problem is that when my room is scrolling it makes small jumps... That is the room is not scrolling smoothly.
My game is 320x240 and 32bit color, if that's got something to do with it.

Ryan Timothy B

#1
Nothing as easy as just checking a box somewhere because it isn't a feature within AGS. But there is always Ali's smooth scrolling module.
I believe all you have to do is import the script files into your game and you're pretty much set.

iamlowlikeyou

Thanks for replying!
No, but I think I remember some option that can cause jumping, that I learned about, but now have forgotten. Anyway I'll take a look at that script :)

Ryan Timothy B

The thing that you may be referring to is the tearing effect. Simply set System.VSync to true.
Although I don't notice a difference between this being on or off. It only works with DirectDraw and I believe only in fullscreen mode.

Other than that, AGS doesn't have any quick fix options to fix the jumping you see when the viewport is moving.

Baron


iamlowlikeyou

I actually managed to find it myself now...
The thing I was thinking about is the MovementLinkedToAnimation function of the player character. Setting this to false made the scrolling smooth. Will this cause other problems I'm not yet aware of?

Baron

Quote from: iamlowlikeyou on Wed 12/01/2011 10:30:09
The thing I was thinking about is the MovementLinkedToAnimation function of the player character. Setting this to false made the scrolling smooth. Will this cause other problems I'm not yet aware of?

Probably.  Most solutions to one problem have unintended consequences, in my experience.  But then, you'd just find another solution to the new problem when you encounter it and knock those consequences further down the line, etc.  ;)

iamlowlikeyou

Hehe, you're right.
Well, so far it's working :D

SMF spam blocked by CleanTalk