Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
回転を使用せず、別のフレームを追加します。魚を正しい方向に向けるために離れているのですか?これは、アニメーションが含まれているためです。各フレームを正しいフレームに向けて再作成するだけでも、非常に面倒な場合がありますか?
fish.scaleX=-1;
出来上がり、あなたの魚はX方向の反対側を向いています。代わりに下向きに泳ぐ場合は、scaleY-1にシフトします。
scaleY