Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Smooth Scrolling

Started by akhin Mar 26, 2006 at 10:32 AM 0 replies 600+ views
Original Post
akhin
akhin
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 ???
Ravuya
Ravuya
If you cross post a seventh time, I will ban you. Last warning.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.