
用JavaScript做超级玛丽游戏教程 PART I
¥59.90
已有8人购买
10分钟/次
别以为JavaScript只能写贪吃蛇、俄罗斯方块,前Spotify工程师手把手教你用JS写出自己的超级玛丽游戏。灵活设计关卡,替换人物和障碍物,Super Mario粉丝、JavaScript爱好者不可错过的一课。
第一部分:Backgrounds & Tiles
- Hello World Setup & Canvas First Draw
- Draw Image to Load Background & Import and Export Module
- Create Json Data to Draw Background
第二部分:Sprites & Layers
- Make Image and Level Loaded in Parallel
- Create Mario Character Sprite & Code Optimization
- Let Mario Move Around the Screen & Code Collation
第三部分:Timing Accuracy
- Let Mario Jump in a Parabola
- Code Optimization & Timing
- Fix the Problem of Time Accuracy