Peanball:排球(JS13K-2014)

时间:2024-06-04 02:12:23
【文件属性】:
文件名称:Peanball:排球(JS13K-2014)
文件大小:711KB
文件格式:ZIP
更新时间:2024-06-04 02:12:23
JavaScript 排球 这是我为2014年JS13K竞赛创建的游戏,主题是“元素:地球,水,空气和火” 概念 游戏的核心概念是制作一个四面弹球,每面都有元素。 在开发过程中,我意识到如果没有坚实的物理引擎,弹球游戏是没有乐趣的,所以我对概念进行了一些调整,增加了鼠标控制。 结果并不完全符合我的预期,但仍然可以玩。 代码 我试图使事情变得比去年更清洁,塞入咕con声来吸引并自动缩小来源。 我仍然过于担心使代码尽可能的小,而是依赖于许多本地函数而不是使用类。 虽然我认为它确实可以节省一些空间,但值得一提的是,因为最后我还剩下几kb的空间。 外部代码 我在调试期间依赖Doob先生stats.js lib: : 并在jsfx上发出声音: : 使用Jack Rugile提供的代码来集成jsfxr: ://codepen.io/jackrugile/blog/arcade-audio-for-js13k-
【文件预览】:
Peanball-master
----peanball.zip(11KB)
----.gitignore(21B)
----bin-debug()
--------index.html(306B)
--------game.js(68KB)
----package.json(367B)
----older-versions()
--------01-basic physics()
--------06-monsters & powers()
--------07-rings()
--------02-camera follows ball()
--------10-home screen & pea theme()
--------05-moving bumpers()
--------04-shots()
--------08-status bar()
--------03-before shots()
--------09-score & sound()
----bin-release()
--------index.html(306B)
--------game.js(23KB)
----src()
--------stats-wrapper.js(669B)
--------jsfxr.js(3KB)
--------stats.js(3KB)
--------index.html(306B)
--------game.js(58KB)
--------game-audio.js(2KB)
--------requestAnimationFame.js(949B)
----Gruntfile.js(1KB)
----README.md(1KB)
----photos()
--------02-where the hell am I going with this.jpg(123KB)
--------05-chaaang.jpg(98KB)
--------03-this is boring.jpg(187KB)
--------01-plan.jpg(126KB)
--------04-sprites !.png(5KB)
----screens()
--------screen-400x250.png(24KB)
--------screen-160x160.png(5KB)

网友评论