2016년 12월 28일 수요일

Image sprite moving out of canvas



I have an image of a cloud which i am moving from right to left.........when it reaches to the left edge i want it to move away like its moving out, not just disappear at once. It should look like the image is moving out of the left edge slowly.

--
Make the canvas wider than the screen:
If the screen is 480 pixels wide, make it 480+(width of the cloud x 2)

-- 
Also set screen horizontal alignment to center.

--
Yep, I forgot that. Thanks Scott.

-- 


댓글 없음:

댓글 쓰기