Ti_Basic_Tutorials

Sprite Control Basic1

Apr 30th, 2012
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Repeat 0
  2. Repeat Ans
  3. getKey->K
  4. End
  5. Text(M,5,"___ //Underscore is a space
  6. //This erases the character, so you have a moving sprite, that does not eventually that row black.
  7. M+(K=34)-(K=26)->M
  8. M-56(M=57)+56(M=-1)->M
  9. //////////////////////////////////////////////
  10. //56 is the last row on the Ti 84+Screen that you can write too. If you go beyond that you get a domain
  11. //error, this makes the sprite "Wrap" Back to the other side.
  12. ///////////////////////////////////////////////////
  13. Text(M,5,"<
  14. End
Advertisement
Add Comment
Please, Sign In to add comment