使用 Phaserjs3 + TS 重构 FC 小蜜蜂
npm start
先列出大纲,详细文章正在整理中...,择日更新
建立四个场景: 开始、游戏、失败、成功
图片与文本定位的差别
背景滚动
资源加载
进度条
点击事件
转转到游戏场景
初始化小蜜蜂
分三组
蜜蜂飞舞动画 整体移动动画
初始化飞机
飞机移动
子弹发射逻辑处理
碰撞逻辑处理
爆炸动画
加分与生命值
成功与失败转场
成功场景显示所得分数
场景之前传参
使用 Phaserjs3 + TS 重构 FC 小蜜蜂(打飞机小游戏)
使用 Phaserjs3 + TS 重构 FC 小蜜蜂
npm start
先列出大纲,详细文章正在整理中...,择日更新
建立四个场景: 开始、游戏、失败、成功
图片与文本定位的差别
背景滚动
资源加载
进度条
点击事件
转转到游戏场景
初始化小蜜蜂
分三组
蜜蜂飞舞动画 整体移动动画
初始化飞机
飞机移动
子弹发射逻辑处理
碰撞逻辑处理
爆炸动画
加分与生命值
成功与失败转场
成功场景显示所得分数
场景之前传参
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.