This should be easy, but I am not figuring it our. I have a sprite moving in heading 180. When it reaches the edge, I don't want to bounce, I want to change heading to 0. then when it reaches the next edge, I want to change heading again. The problem is...I don't know how to tell it "when reaching the right edge...change heading to "x" when reaching the left edge....change heading to "x". Like I said, this should be easy, but I am new to this an just can't figure it out.
--
Have you read this http://www.appinventor.org/ bookChapters/chapter17.pdf ?
--
Actually, although that would have solved my issue, I simply made an invisible sprite...when my animated sprite collided with it I was able to change the heading based on that event.
--
댓글 없음:
댓글 쓰기