Skip to main content

HTML复刻经典吃豆人游戏

Weekly Pick

passer-by.com

这是一款用HTML5复刻的经典吃豆人游戏,还原了原版关卡和玩法,加入了角色动画管理和幽灵智能寻址算法。游戏包含12个关卡,代码仅1000多行,适合作为游戏开发学习参考。

Games & EntertainmentFree#browser-game#pacman#learning-reference
Visit website

🔗链接官网:https://passer-by.com/pacman/源码仓库:https://github.com/mumuy/pacman📜介绍这款吃豆人游戏的开发是我在学习和探索HTML5游戏的一次尝试,也是对这款儿时经典街机游戏的致敬。游戏大致还原了我印象中Pac-Man的样子,在移植关卡和玩法规则的同时,在游戏中加入了游戏角色动画管理和幽灵的智能寻址算法,实现了幽灵对玩家的围堵。在你玩的过程中,你会发现这些精灵似乎很有想法,它们知道如何彼此协作对你穷追不舍。原代码仅1000多行,包含了游戏包含12个关卡,还是蛮有挑战性的。可以作为游戏开发学习的入门参考,我也想能通过游戏和代码与你分享一些我对游戏开发的感悟。

More in Games & Entertainment

Speedy Games

Embed free social casino games and slot widgets on your website

Games ·

Color Dice Game

Play a free color dice game by choosing a color and rolling dice

Games ·

Play Zip Game

Browser-based logic puzzle game with curated levels and no timers

Games ·

word500

Deduce the hidden five-letter word in eight guesses using three count clues

Games ·

Dialed GG

Memorize a color and rebuild it from memory using HSB sliders

Games ·

WordAnswer Today

Get hints and answers for daily word games, plus tools

Games ·