allegro trail

This is a discussion on allegro trail within the Game Programming forums, part of the General Programming Boards category; hi guys, i am designing my first game with allegro and MSVS6, it is a simple pacman clone, i have ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    64

    allegro trail

    hi guys,

    i am designing my first game with allegro and MSVS6, it is a simple pacman clone, i have most of it done, but when i move my pacman it leaves a trail

    is this a common problem?
    how can i get rid of it?

    thanks a lot guys.

    Shakespeare.

  2. #2
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    You have to erase the old one before you draw a new one. Try clearing the screen, or buffer (if you are using one) and redrawing the entire scene every screen.

  3. #3
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    I remember when I did that one time. Way back when I made my first mode 13h game.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  2. problem in allegro with sprite leaving trail
    By Leeman_s in forum C++ Programming
    Replies: 18
    Last Post: 09-13-2002, 03:04 PM
  3. double buffering for allegro
    By Leeman_s in forum C++ Programming
    Replies: 6
    Last Post: 09-12-2002, 02:45 PM
  4. Allegro problems, moving circle leaving trail
    By Da-Spit in forum C++ Programming
    Replies: 4
    Last Post: 09-10-2002, 06:12 AM
  5. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21