otorp2

MA sprite line text

Apr 26th, 2020
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. https://makecode.com/_ebg7vq5kVVb7
  2.  
  3. let mySprite = sprites.create(img`
  4. 1 . 2 . 3 .
  5. . . . . . .
  6. 1 . 2 . 3 .
  7. . . . . . .
  8. 1 . 2 . 3 .
  9. . . . . . .
  10. `, SpriteKind.Player)
  11. // mySprite.say("hi", 5000)
  12. let bg = scene.backgroundImage()
  13. bg.drawLine(0, 0, 100, 100, 10)
  14. bg.print("hihi", 100, 100);
Add Comment
Please, Sign In to add comment