문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top