Motion on TVout

I’m posting again about the TVout Library. I’m really a beginner when it comes to this… :cold_sweat:

I have a bitmap successfully displayed on the screen. What I’m wondering is, how can I get that bitmap to move in a simple way? For example, from the side of the screen to the center. I know it’s possible, as the tvout logo does it at the beginning of the demo sketch, but looking at all of the sketches others have written where objects move on-screen has proven to be difficult. I can’t identify anything that would cause movement. Game programs are only proving to be cryptic. My method (unsuccessful) has been as follows:

#include <TVout.h>
#include "LightCycle.h"
#include <stdio.h>

TVout TV;

void setup()
{
  int placex = 127;
  
  TV.begin(NTSC,127,97);
  TV.bitmap(place,85,LightCycle);
  
  while(place > 70)
  {
    TV.clear_screen();
    placex = place --;
    TV.bitmap(place,0,LightCycle);
  }
}

void loop()
{
  
}

Sometimes the 70 in the while loop is a different number but the point is that this method really looks awful both in code and on-screen. I know there’s a better method. Can someone help me out?

http://code.google.com/p/arduino-tvout/wiki/FDBasicGFX Looks like shift() might be useful for moving the whole screen.