Motion Blur when moving objects on screen.

Hi,

While testing a game I am developing with Corona I noticed something that I though was interesting.  When I have objects moving at a steady rate across the screen there is a “blur” around their borders from what looks almost like a refresh rate issue.  Instead of having sharp edges seen while the object moves this “blur” makes it look like there are three objects on screen (one copy of the object shifted left, one to the right, and one where the object is currently placed).  I’m not sure if anyone else has noticed this but I thought I’d ask if there was a way to clean this up?

A better example of what I’m talking about is comparing 60Hz TV motion on screen compared to a 120Hz motion.  If anyone can help on this it would help me a ton.

Thanks!!

Rob

Code must be posted, for this question to be answered

Well the code is pretty straight forward.  It’s just anything that moves across the screen.  I first noticed it with just a parallexing object.  Here is some sample code for it.

local barriers = {}

        barriers[i] = display.newImageRect( “images/general/barriers.png”, 80, 2016 )

        barriers[i].xScale = .8

        barriers[i].yScale = .7

        barriers[i].x = x_position

        barriers[i].y = partitionHeight

        barriers[i].count = i

        barriers[i].speed = 4.5

        barriers[i].type = “barrier”

     if self.type == “barrier” then

        self.x = self.x - self.speed

    end

The “if” statement is in an enterFrame Runtime listener that moves an object, i.e. the barrier on screen, by the amount dictated by it’s speed parameter.  In this case the barrier that is printed (i = 1) is moved to the left by 4.5 every frame.  This still shows the “blur” with which I spoke of.

Rob

Code must be posted, for this question to be answered

Well the code is pretty straight forward.  It’s just anything that moves across the screen.  I first noticed it with just a parallexing object.  Here is some sample code for it.

local barriers = {}

        barriers[i] = display.newImageRect( “images/general/barriers.png”, 80, 2016 )

        barriers[i].xScale = .8

        barriers[i].yScale = .7

        barriers[i].x = x_position

        barriers[i].y = partitionHeight

        barriers[i].count = i

        barriers[i].speed = 4.5

        barriers[i].type = “barrier”

     if self.type == “barrier” then

        self.x = self.x - self.speed

    end

The “if” statement is in an enterFrame Runtime listener that moves an object, i.e. the barrier on screen, by the amount dictated by it’s speed parameter.  In this case the barrier that is printed (i = 1) is moved to the left by 4.5 every frame.  This still shows the “blur” with which I spoke of.

Rob