View Full Version : Graphics Demo

03-11-2002, 08:37 PM
Hi... i'm trying to write a program like the old Amiga Demos and i need to scroll text across the screen.
I have know clue where 2 start? it doesn't need 2 be fancy or use BGI graphics.

note: i'm using Borland C++ 3.0 for dos.

03-12-2002, 12:51 PM
In text mode or graphics mode??? Hey thats a good idea for a feature for MuttDosLibrary (damn good graphics+everything else library)

03-20-2002, 06:37 PM
graphics mode

03-21-2002, 01:55 PM
Im sure BGI has a DisplayTextXY() function, use that to display tour text then every time you go through a loop decrement the X value to move the text left, increment it to go right. Thats the basic idea.

03-27-2002, 01:45 AM
yeah but i think displaytextxy() only goes to the edge of the screen?

03-29-2002, 06:28 PM
so, the only problem is if it wraps around

03-29-2002, 07:08 PM
What you could do is act like the screen is 2x the width of the string, and just have black space for the other half. That way, you display everything you need to, but the user is unaware of the string actually still travelling elsewhere - so it can't wrap around before the first character is finished. I liked those old games.... sure there's nothing like blwoing off some dude's head, but Police/Space/King's Quest and all those games were awesome!