超级简单小型2D平台游戏实现与控制体验

超级小型 2D 平台游戏,轻松就能实现。你可以在 GitHub 上直接玩游戏,体验游戏控制的乐趣。对于键盘用户,光标键(上、左、右)就能让你轻松移动,触屏用户可以通过屏幕上的虚拟控制按钮来操作。哦,对了,如果你是 XBOX 360 控制器用户,也能通过模拟摇杆和 A 按钮进行跳跃。这个游戏挺适合新手学习,代码也简单,学习如何键盘、触摸屏和控制器输入,蛮有趣的。如果你有自己的创意,完全可以在此基础上做些修改,自己动手创造属于你的游戏!

zip
Super-Simple-and-Small-2D-Platformer-Game-master.zip 预估大小:25个文件
folder
Super-Simple-and-Small-2D-Platformer-Game-master 文件夹
folder
public_html 文件夹
file
index.html 583B
folder
src 文件夹
folder
lib 文件夹
file
phaser.js 3.09MB
file
game.js 17KB
folder
typescript 文件夹
folder
lib 文件夹
file
pixi.d.ts 48KB
file
p2.d.ts 25KB
file
phaser.d.ts 217KB
file
game.ts 16KB
file
tsconfig.json 290B
folder
assets 文件夹
folder
sounds 文件夹
file
hazard.wav 14KB
file
collect.wav 3KB
file
win.wav 15KB
file
jump.wav 2KB
folder
levels 文件夹
file
level1.json 32KB
file
collectibles_animations.png 296B
file
tile_spritesheet.png 306B
folder
controls 文件夹
file
rightarrow.png 1KB
file
abutton.png 3KB
file
leftarrow.png 1KB
file
pantsuweb2.png 58KB
file
player_avatar.png 184B
file
style.css 373B
file
README.md 373B
folder
nbproject 文件夹
file
project.properties 566B
file
project.xml 365B
file
package.json 224B
zip 文件大小:741.48KB