I want to rewrite a tile scrolling game of mine, probably using Asphyre rather than DelphiX that I'm using at the moment.

My problem is I've always written framebased movements, so regardless of the framerate on a particular machine my level and game scrolls at a particular speed.

However everytime another Window process kicks in or does something in the background it slows the frame rate down and you get shuddering/jumping during the scrolling.

How do you achieve super smooth scrolling on Windows machines?