Git Product home page Git Product logo

day2-bounceball's Introduction

Day 2: 作业

  1. 绘制 pixi 小圆, 小方块
  2. 初始: 组件挂载后小圆运动
  3. 小圆是 y 方向运动,碰到舞台后改变方向
  4. 小圆碰到 3 次后,emit 改变小圆为小方块,挂载后小方块 x 方向移动
  5. 小圆销毁后循环侦听被删除
  6. 小方块碰到 3 次后,emit 改变小方块为小圆,挂载后小圆 y 方向移动
  7. 小方块销毁后循环侦听被删除
  8. 重复 4-7

day2-bounceball's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.