Sign in to follow this  

Smooth Scrolling

Recommended Posts

1) First of all I use Microsoft.DirectX.Direct3D.Font.DrawText(....) for creating 2d text and change x-y parametrers for scrolling 2) I can calculate framerate as below : ++frames; int ticks = Environment.TickCount; int elapsed = ticks - lastTickCount; if (elapsed > 1000) { int framerate = frames; frames = 0; this.FPS = framerate ; lastTickCount = ticks; } But how can i use them together and get a SMOOTH scroll ? Or am i on the wrong way ???

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this