0

I'm trying to create a side-scroller game using Citrus Engine in Flash CS5
Everything is done but just when the Hero is moving everything starts shaking!
Before I was making all objects as Movie Clips and i changed it to some images and its still the same...

Any idea what is the problem exactly?

Dr TJ
  • 3,241
  • 2
  • 35
  • 51

1 Answers1

1

It's because as your character moves across non-whole pixels (e.g. 10.5 pixels across), the other elements in the scene will round themselves to the nearest whole pixels. This means they 'dance' across a pixel as they are positioned by rounding down and rounding up.

Marty
  • 39,033
  • 19
  • 93
  • 162