Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top