没有合适的资源?快使用搜索试试~ 我知道了~
bilzaa2d:bilza2d是用于javascript的简单2D动画库(它使用打字稿)。 它基于HMTL 5 Canvas构...
共93个文件
ts:43个
js:24个
md:10个
需积分: 10 0 下载量 32 浏览量
2021-04-10
21:53:26
上传
评论
收藏 251KB ZIP 举报
温馨提示
这是基于Typescript项目的初始设置 我们的主要目标是: 使用“打字稿”编译器将ts文件编译为js。 要使用“汇总”进行最终输出,即从src文件夹放入dist文件夹。 使用“笑话”进行单元测试。 所有代码都放入“打字稿”中。 当我们要编译时,我们只需要在终端上运行“ tsc”命令,所有的.ts文件都将被编译并移动到“ src”文件夹中。 src文件夹不应包含任何需要手动修改或无法覆盖的内容。 src文件夹只是一个编译文件夹,不用于编码或手动工作。您应该能够删除src文件夹中的任何内容,而不会给项目造成任何麻烦。类似地,所有编写的代码都应该位于typescript文件夹中,并且没有其他地方。 根目录上的主要文件夹是: src 打字稿 dist 测试 testsrc:与jest一起使用的必需(通用js)格式的文件。 如果我们通常使用汇总,则使用配置文件“ rollup
资源推荐
资源详情
资源评论
收起资源包目录
bilzaa2d-master.zip (93个子文件)
bilzaa2d-master
uiTests
all shapes basic ani.js 3KB
basicUiTest.js 2KB
index4-apr2021.js 3KB
index--premade.js 196B
index.js 2KB
index-mian.js 2KB
index.html 297B
rollup.config.t.js 190B
Gruntfile.js 1KB
rollup.config.dist.js 218B
tsconfig??.json 475B
gulpfile.js 519B
tsconfig.json 406B
bilzaa2d.d.ts 311B
dist
bilzaa2d.js 23KB
0.0.2.js 14KB
0.0.3.js 14KB
versions
0.00
index.html 296B
bilzaa2d.js 29KB
index.js 2KB
readme.md 0B
tests
BasePrimtiveAttributes.t.js 551B
animation.t.js 287B
errors.md 41B
linear.test.js 2KB
playhead.testx.js 134B
ArrayOfObjects.testxx.js 454B
randomNumbers.t.js 156B
attributes.js 2KB
tsconfig.tsbuildinfo 62KB
.gitignore 18B
index.js 392B
mountains.js 551B
readme.md 3KB
typescript
algo
blink.txt 667B
randomNumber.txt 887B
randomColor.txt 981B
metal
index.html 294B
Metal.ts 6KB
assets
firstCircle.ts 617B
firstRect.ts 455B
firstText.ts 430B
mountains.ts 437B
growingRectangle.ts 1013B
firstTriangle.ts 417B
single
PlayHead.d.ts 851B
PlayHead.ts 2KB
ArrayOfObjects.ts 3KB
animationObjects
Increment.ts 1KB
Animation.ts 1KB
Linear.ts 3KB
how to animate.md 149B
shapes
canvas
Canvas.ts 648B
Complex.ts 663B
line
Line.ts 1KB
LineAnimations.ts 1KB
text
TextAnimations.ts 1KB
Text.ts 1KB
triangle
Triangle.ts 955B
TriangleAnimations.ts 1KB
shape
IShapeAnimations.ts 355B
Shape.ts 4KB
IaniData.ts 156B
IShape.ts 523B
ShapeAnimations.ts 2KB
circle
CircleAnimations.ts 1004B
Circle.ts 1KB
rectangle
RectangleAnimations.ts 3KB
Rectangle.ts 1006B
ellipse
Ellipse.ts 363B
arc
Arc.ts 1KB
ArcAnimations.ts 1000B
bilzaa2d.ts 2KB
interfaces
IAnimation.ts 431B
IaniData.ts 156B
IaniData.d.ts 160B
fasades
Shapes.ts 2KB
projects
growingRectangleIndex.ts 425B
presentation.ts 727B
mountains.ts 727B
firstTest.ts 379B
package-lock.json 735KB
documentation
index.html 1KB
bootstrap.min.css 152KB
errors.md 110B
animations
basicAnimations.html 452B
attributes
basicAttributes.html 1KB
playhead.md 270B
READ ME.md 263B
readme.md 76B
diff bw assets and projects.md 255B
githrlp.md 57B
package.json 1KB
共 93 条
- 1
资源评论
BugHunter666
- 粉丝: 22
- 资源: 4699
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功