Skip to content

游戏开发相关 #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AlexZ33 opened this issue Feb 25, 2021 · 5 comments
Open

游戏开发相关 #7

AlexZ33 opened this issue Feb 25, 2021 · 5 comments

Comments

@AlexZ33
Copy link
Member

AlexZ33 commented Feb 25, 2021

概览:https://www.ctolib.com/categories/javascript-game-development.html

3DRipper提取游戏建模
使用Babylon的组件可以从3D max导出max模型为glTF格式。
使用3DRipper可以提取一些游戏建模

@AlexZ33 AlexZ33 changed the title 游戏开发相关心 游戏开发相关 Mar 2, 2021
@AlexZ33
Copy link
Member Author

AlexZ33 commented Mar 30, 2021

3D physics engine

ammo.js cannon.js Oimo.js Energy.js Physijs
完全使用 JavaScript 编写的优秀 3D 物理引擎,包含简单的碰撞检测、各种形状的摩擦力、弹力、约束等功能。 一款轻量级的 3D 物理引擎,文件大小 153 KB。 使用 C++ 编写转 JavaScript 的 3D 物理引擎,源码不可读,目前 Github 比较冷清。

@AlexZ33
Copy link
Member Author

AlexZ33 commented Mar 30, 2021

cocos creator

初识cocos creator,做一款H5小游戏

@AlexZ33
Copy link
Member Author

AlexZ33 commented Mar 30, 2021

2D physics engine

matter.js planck.js p2.js Energy.js Physijs
轻量级,性能不逊色于其他物理引擎 官方文档、Demo 例子非常丰富,配色有爱 API 简单易用,轻松实现弹跳、碰撞、重力、滚动等物理效果 Github Star 数处于其他物理引擎之上,更新频率更高

@AlexZ33
Copy link
Member Author

AlexZ33 commented Mar 30, 2021

3D游戏

  • 所有的3D渲染引擎都基于webGL。
  • 轻量级3D游戏 例如微信跳一跳、纪念碑谷2这类偏展示型,使用Three.js足矣。
    库体积远远小于其他3D引擎。
    需要学习Three.JS并自己开发想要的效果,这意味着遇到复杂的效果时自己实现难度会更大。
    Three.js导出模型依赖于Blender,所以首先需要将模型导入到Blender中,这一步就非常依赖于设计师在构建模型时的构建方式(控制模型面数,禁用第三方插件,需提供展 UV 贴图)
    Layaxbox借助于Untiy可以轻松的将模型导出来
    场景复杂的3D游戏适合使用egret、laybox,这类称之为游戏引擎(已编写好的可编辑电脑游戏的系统,或者一些交互式实时图像应用程序的核心组件,目的在于让游戏设计者能容易和快速地做出游戏,而不用由零开始。)可以直接使用已经封装好的各种系统(渲染引擎, 物理引擎、碰撞检测系统等)方便开发。

@AlexZ33
Copy link
Member Author

AlexZ33 commented Mar 30, 2021

微信小游戏

微信小游戏开发总结

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant