Wener Site

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

gocn.io/question/113

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

属于

关联信息

反向链接和本文引用的外部资料。

References

GitHub

6 条

Hacker News

1 条

其他外链

22 条

另有 14 个未显示 references。

另有 14 个 references 未显示。

最近更新commit f7c7613Edit

On this page