项目作者: microsoft

项目描述 :
Swarm animation for MakeCode Arcade
高级语言: TypeScript
项目地址: git://github.com/microsoft/arcade-swarm-animation.git
创建时间: 2020-04-05T01:40:54Z
项目社区:https://github.com/microsoft/arcade-swarm-animation

开源协议:MIT License

下载


—-

Arcade Swarm animation

Renders an image into the screen pixel per pixel.

  1. const duck = img`
  2. . . . . . . . . . . b 5 b . . .
  3. . . . . . . . . . b 5 b . . . .
  4. . . . . . . b b b b b b . . . .
  5. . . . . . b b 5 5 5 5 5 b . . .
  6. . . . . b b 5 d 1 f 5 d 4 c . .
  7. . . . . b 5 5 1 f f d d 4 4 4 b
  8. . . . . b 5 5 d f b 4 4 4 4 b .
  9. . . . b d 5 5 5 5 4 4 4 4 b . .
  10. . . b d d 5 5 5 5 5 5 5 5 b . .
  11. . b d d d d 5 5 5 5 5 5 5 5 b .
  12. b d d d b b b 5 5 5 5 5 5 5 b .
  13. c d d b 5 5 d c 5 5 5 5 5 5 b .
  14. c b b d 5 d c d 5 5 5 5 5 5 b .
  15. . b 5 5 b c d d 5 5 5 5 5 d b .
  16. b b c c c d d d d 5 5 5 b b . .
  17. . . . c c c c c c c c b b . . .
  18. `.doubled()
  19. swarm.swarmInSprite(duck)

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct.
For more information see the Code of Conduct FAQ or
contact opencode@microsoft.com with any additional questions or comments.