GameDev
约 2 分钟阅读
个人见解
-
游戏开发其实和现在的网页开发区别并不大,都分为前后端,只是前后端的工作内容与网页开发会不太一样.
-
游戏开发最重要分为
- 呈现 - 前段
- 状态 - 后端
-
而用户的所有操作均牵扯到游戏状态的修改和逻辑判断,开开发实时性较高的游戏服务时,难度最大的也是状态的同步,
-
简单的游戏建议直接使用 HTML, 不要使用 Canvas
-
移动 Web 游戏最好都是竖屏的, 横屏不太好控制, 并且无法保证横屏
JS 游戏引擎
- github.com/showcases/javascript-game-engines
- html5gameengine.com
- photonstorm/phaserGitHubphotonstorm/phaser
- Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
- pixijs/pixi.jsGitHubpixijs/pixi.js
- Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback
- features
- WebGL renderer (with automatic smart batching allowing for REALLY fast performance)
- Canvas renderer (Fastest in town!)
- Full scene graph
- Super easy to use API (similar to the flash display list API)
- Support for texture atlases
- Asset loader / sprite sheet loader
- Auto-detect which renderer should be used
- Full Mouse and Multi-touch Interaction
- Text
- BitmapFont text
- Multiline Text
- Render Texture
- Primitive Drawing
- Masking
- Filters
- User Plugins
- excaliburjs/ExcaliburGitHubexcaliburjs/Excalibur
- A simple HTML5 Canvas game engine written in TypeScrip
- voxeljs.com
状态同步
www.gamedevpensieve.com/network/synchronization
帧同步
blog.csdn.net/langresser_king/article/details/46756393
www.zhihu.com/question/36258781
skywind3000/kcpGitHubskywind3000/kcp xtaci/kcptunGitHubxtaci/kcptunxtaci/kcptun · UDP,多发包 · TCP over UDP笔记:KCP
Web Game
requestAnimationFrame
游戏资源
gamedev.stackexchange.com/questions/20/where-can-i-find-free-sprites-and-images
搜索关键字 2d game art
- Game art
- Open Game art
- 2D Game art for Programmers
- Kenney
- pixeljoint
- 绘图工具
- piskel HNHacker NewsHacker News #13539085Hacker News
- eight-bits
- 8 位色编辑器
- aseprite
- 收费工具
属于
- tileset
- 多个精灵图在一个图上
- texture atlas
- 定义了一个精灵图中各个图片的位置和尺寸
- 可以通过工具将多个图片合并成一个图片并生成 texture atlas 信息
- 工具
- 位图字体
- 工具
- Mac www.bmglyph.com
- Windows www.angelcode.com/products/bmfont
- 工具
- mathworld.wolfram.com/DihedralGroupD4.html
关联信息
反向链接和本文引用的外部资料。
References
GitHub
6 条- excaliburjs/Excaliburgithub.com/excaliburjs/Excalibur
- krzysztof-o/spritesheet.jsgithub.com/krzysztof-o/spritesheet.js
- photonstorm/phasergithub.com/photonstorm/phaser
- pixijs/pixi.jsgithub.com/pixijs/pixi.js
- skywind3000/kcpgithub.com/skywind3000/kcp
- xtaci/kcptungithub.com/xtaci/kcptun
Hacker News
1 条- Hacker News #13539085HN #13539085
其他外链
22 条- blog.csdn.net/langresser_king/article/details/46756393blog.csdn.net/langresser_king/article/details/46756393
- css-tricks.com/snippets/javascript/javascript-keycodescss-tricks.com/snippets/javascript/javascript-keycodes
- gamedev.stackexchange.com/questions/20/where-can-i-find-free-sprites-and-imagesgamedev.stackexchange.com/questions/20/where-can-i-find-free-sprites-and-images
- github.com/showcases/javascript-game-enginesgithub.com/showcases/javascript-game-engines
- gocn.io/question/113gocn.io/question/113
- html5gameengine.comhtml5gameengine.com/
- kenney.itch.iokenney.itch.io/
- keycode.infokeycode.info/
另有 14 个未显示 references。
另有 14 个 references 未显示。