Thread: Scrolling Text

  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    2

    Scrolling Text

    I've been trying to get a scrolling text demo to work with a parallax starfield and some music playing for a few weeks (like the old Amiga cracked game demos!)

    Anyone got any ideas how I can get this done?

    Cheers

    Chris

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Not without you being more specific about the compiler / OS / graphics library you're using.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    2
    Sorry for the lack of info, my mistake!

    I'm running Windows 98SE and Windows 2000 (seperate machines) and want it to work on each of the machines.

    I'm using Bloodshed Dev-C++ v4.9.8.0

    As far as graphics library goes, sorry but I'm unusre how to actually get the version.

    I would also like music in the background as well. I can get text to display, and I can move it around (clearing screen and plaicng it elsewhere) it's just getting the text scrolling in a sinewave pattern that's stumped me along with getting music to play!

    Thanks for any pointers in advance

    Chris

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    I think that you can use OpenAL to do the sound part (I have never used this myself but it might work for you). Check around some at these sites:
    OpenAL tutorial
    OpenAL mainpage
    or do a Google search.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Did you download LibSDL
    If you use the package manager in dev-c++, this library should be listed and ready for use within dev-c++
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Scrolling in a text buffer
    By Kode Kid in forum C Programming
    Replies: 3
    Last Post: 07-17-2005, 03:35 PM
  2. Replies: 3
    Last Post: 05-25-2005, 01:50 PM
  3. Replies: 1
    Last Post: 07-13-2002, 05:45 PM
  4. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM
  5. scrolling text problem
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 03-12-2002, 09:05 PM