awesome-CocosCreator icon indicating copy to clipboard operation
awesome-CocosCreator copied to clipboard

Cocos Creator 游戏资源合集

awesome-CocosCreator

Cocos Creator 资源合集

由于工作与技术积累的需要,把日常收集到的游戏框架、成品游戏、游戏Demo、棋牌游戏,等资源整理在一起。我会不定时更新,同时欢迎大家把收集好的东西留言(issue,push)分享出来。

框架

  • 基于 Cocos Creato 3.x 开发的一款游戏框架 https://gitee.com/dgflash/oops-framework
  • 一些常用的用户需求示例 https://gitee.com/yeshao2069/CocosCreatorDemos?_from=gitee_search
  • GameplayFramework https://github.com/huangx916/GameplayFramework
  • cocos creator 基础框架,包含资源、ui管理,网络模块 https://github.com/wyb10a10/cocos_creator_framework
  • CocosCreator_UIFrameWork https://github.com/kirikayakazuto/CocosCreator_UIFrameWork
  • cocos creator项目基础类库 https://github.com/caochao/cocos_creator_proj_base
  • ECS框架 https://github.com/darkoverlordofdata/entitas-ts
  • cocos creator 的 mvvm 的工具 集 https://github.com/wsssheep/cocos_creator_mvvm_tools
  • lightMVC https://github.com/yue19870813/lightMVC
  • 前端框架 https://github.com/m249212419/CreatorClient
  • 一个基于CocosCreator的游戏开发框架 https://forum.cocos.com/t/cocoscreator/79915
  • ccc游戏框架 https://github.com/tonyshow/tonyCocosCreatorDamo

成品


  • facebook迷宫 https://github.com/NorhsArk/Cocos_Mazes
  • facebook麻将 https://github.com/NorhsArk/Cocos_MahjongBump
  • facebook一笔画2 https://github.com/NorhsArk/Cocos_OneDraw2
  • facebook打枪 https://github.com/NorhsArk/Cocos_LastGun
  • facebook迷宫变种 https://github.com/NorhsArk/Cocos_MazesCross
  • facebook鼻涕 https://github.com/NorhsArk/Cocos_Nose
  • facebook一笔画 https://github.com/NorhsArk/Cocos_OneDraw
  • facebook爬楼 https://github.com/NorhsArk/Cocos_RiseUp
  • facebook拼盘 https://github.com/NorhsArk/Cocos_FunnySlice
  • facebook纸牌2048 https://github.com/NorhsArk/Cocos_2048Solitare
  • facebook方块十消 https://github.com/NorhsArk/Cocos_1010
  • 大富翁 https://github.com/NorhsArk/CashEmpire

  • 七彩蹦蹦 https://github.com/shichaohui/ColorUp
  • 六边形消除 https://github.com/WuBuzi/LBXGame
  • 俄罗斯方块 https://github.com/KuoKuo666/CocosCreator-Tetris.git
  • 开心消消乐 https://github.com/isghost/kaixinxiaoxiaole
  • 橡皮怪勇闯地下室 https://github.com/shenghy/Cocos_Basement
  • 物理弹球 https://github.com/andynicoo/Physical-Pinball
  • 弹跳小卜源码 https://github.com/ccx01/Boo
  • 斗兽棋 https://github.com/matchvs/AnimalChecker
  • 投石对战微信小游戏 https://github.com/jay602/stone_war
  • 密室逃脱类小游戏 https://github.com/fylz1125/SecretBill
  • 篮球小游戏 https://github.com/fylz1125/BasketBall
  • 2D卷轴闯关小游戏 https://github.com/Zhniing/Play
  • 治愈七夕,微信小游戏,音乐游戏 https://github.com/SmileChen518/MusicGame
  • HorseRace https://github.com/SmileChen518/HorseRace

  • “建造+道具合成+塔防+攻城”模块的游戏前后端源码 https://github.com/genxium/BuildingAndCraftingAndTowerDefenseGame

3d游戏

  • 官方Demo集合 https://github.com/cocos-creator/example-3d
  • 官方testDemo https://github.com/cocos-creator/test-cases-3d
  • 模拟球弹跳 https://github.com/Leo501/CocosCreatorTutorial/tree/master/BassFalling
  • Creator 3D 材质系统:曲面效果如何实现 https://mp.weixin.qq.com/s/em641KPHGL5yur03KTSAsA
  • 弹弹乐 https://github.com/cocos-creator/demo-ball
  • 合成大西瓜3D版本 https://store.cocos.com/app/detail/2687

半成品

  • 贪吃蛇 https://github.com/dixonzhang/ccc_snake
  • 躲猫猫 - (cocos creator + pomelo) https://github.com/wohow/peekaboo-master
  • moba demo 多人pvp https://github.com/mankiw/xiaoxiao
  • tankwar https://github.com/m249212419/tankwar
  • 打砖块 https://github.com/potato47/brick-breaker-master
  • 斗兽棋 https://github.com/m249212419/doushouqi
  • 六边形游戏 https://github.com/hellozhangran/game-hexagon
  • 仿FC多人联机射击游戏 https://forum.cocos.com/t/fc/81272
  • 汉字临摹 https://github.com/Amterasu/writerDemo

游戏核心玩法实现

棋牌

  • 幼麟棋牌-四川麻将v1.0 https://github.com/babykylin/babykylin_scmj
  • 21点游戏 https://github.com/cocos-creator/tutorial-blackjack
  • 一个服务端是kbengine,客户端是unity3d的2d麻将游戏 https://github.com/sdkbb2007/mahjongGame_by_Kbengine_unity
  • 基于Cocos2d-X 3.17 跨平台单机麻将,商业级麻将算法、AI算法 https://github.com/xiyoufang/mahjong
  • https://github.com/ligun123/chess https://github.com/ligun123/chess
  • 学习 pomelo 和 Cocos Creator 过程中收集的教程、麻将、斗地主棋牌项目 https://github.com/tumobi/pomelo-cocos-creator-awesome
  • 捕鱼达人 https://github.com/fylz1125/CCFish
  • 帧同步打造3D台球 https://github.com/EricDDK/billiards_cocos2d
  • 斗地主 https://github.com/haoyuan336/doudizhu_os
  • 德州扑克 https://github.com/tiancityycf/cocos
  • 斗地主1.3 https://github.com/dixonzhang/cocos-doudizhu
  • 扎金花游戏 https://github.com/gjh1987/cccGame
  • 麻将学习 cocos creator +nodejs 后端 https://github.com/balckban/majiang-cocos-creator
  • poker-game-demo https://github.com/zifeiy/poker-game-demo
  • 牛牛demo https://github.com/balckban/niuniu-cocos-creator
  • 牛牛 https://github.com/cqyuanyou/niuniuapp
  • 棋牌的胡牌算法,包括麻将、跑胡子、扑克 https://github.com/yuanfengyun/qipai_algorithm
  • 广东四川麻将的吃碰杠听胡逻辑以及广东麻将简易的AI实现 https://github.com/TLeaves/MahjongLogic
  • nodejs在线对战斗地主 https://github.com/ksky521/doudizhu
  • 棋牌类游戏框架,参考网狐 https://github.com/shihuaping/gamex
  • 轮盘抽奖 https://github.com/sky068/Wheel_CocosCreator
  • cocoscreator(1.7版本)实现刮刮卡功能 https://github.com/sky068/scratchCard

官方手册

  • 2d https://github.com/cocos-creator/creator-docs
  • 3d https://github.com/cocos-creator/docs-3d
  • 常见问题归纳 https://github.com/Jno1995/CocosCreator-FAQ

社区精华贴

  • 2020年1~4月 https://forum.cocos.org/t/cocos-creator-2020-1-4/91895
  • Cocos 技术与实例教程集锦 https://mp.weixin.qq.com/s/ow_kO8vYud-29zM71WBAvA

3d

  • Cocos Creator 3.0 坐标转换原理 https://mp.weixin.qq.com/s/mV5EY4NMrpgCP9XFocrcGA
  • Cocos Creator 3D初体验 https://forum.cocos.org/t/cocos-creator-3d/99188
  • cocos creator 四元数与3d旋转 https://mp.weixin.qq.com/s/zwF5PcR96gazP1k-IzXEPg
  • unity插件的网格切割 https://forum.cocos.org/t/unity/93796
  • 几种资源加载 https://forum.cocos.org/t/creator3d/98389
  • Cocos Creator 3.0 基于 PBR 的物理渲染详解 https://mp.weixin.qq.com/s/zkm5XFyKIUkPn5qltDzciw
  • 四元数与3D旋转实例 https://mp.weixin.qq.com/s/zwF5PcR96gazP1k-IzXEPg
  • 弹性跟随相机 https://mp.weixin.qq.com/s/NCn8Ygk_I_nRnhmbHQeZwQ
  • 导航网格自动寻路 https://mp.weixin.qq.com/s/ReFmhZde1ATBwaeBMXrssg

物理系统

  • 常用物理知识 https://blog.csdn.net/qiushisoftware/article/details/12139831
  • https://github.com/2youyou2/physics-example
  • Physical-Pinball 物理弹球 https://github.com/andynicoo/
  • 打砖块 https://github.com/potato47/brick-breaker-master
  • 瞄准线 https://github.com/baiyuwubing/cocos-creator-examples/tree/master/aimLine
  • 2D液体 https://mp.weixin.qq.com/s/ZA8j1XlOjBFI3J5Ers2c5w
  • Cocos Creator 2.0 Material example https://github.com/fylz1125/heartfelt
  • 篮球物理游戏开发实战 https://mp.weixin.qq.com/s/t7dFJYARE1C8xtjHxtbtjw
  • CocosCreator3.0 3d物理 https://mp.weixin.qq.com/s/U1sjI2TZRI4T-02sOdIRzw

Shader

  • 3D 渲染管线超强解读 https://mp.weixin.qq.com/s/u7bP4HcnxnOD6MmuNDOHAA
  • SSRShaderFX && Creator https://forum.cocos.org/t/topic/103617
  • 3D渲染技术分享:一种高效的卡通水体渲染 https://mp.weixin.qq.com/s/Hu0EZ4WVtqNITNadzrZ1iw
  • 精灵(Sprite)中的网格(Mesh)渲染模式 https://forum.cocos.org/t/sprite-mesh/92976
  • 自定义渲染合批之自定义顶点格式 https://forum.cocos.org/t/demo/95087
  • Cocos Creator Shader Effect 系列 https://github.com/zhitaocai/CocosCreator-Shader-Effect-Demo
  • 3D拖尾特效 https://forum.cocos.org/t/3d/90640
  • 使用光照模型实现个性化渲染 https://forum.cocos.org/t/topic/151591
  • 2.x https://github.com/colinsusie/creator_2_0_material_demo
  • creator 2.x推出了新的Material系统 https://github.com/fylz1125/ShaderDemos
  • CocosCreator Effect第三方控件 https://github.com/colin3dmax/CocosCreator
  • Cocos Creator 2.x Shader组件 https://github.com/ShawnZhang2015/ShaderHelper
  • 探雾效果 https://mp.weixin.qq.com/s/6s-e-NnAX_2_G7OxwUhR2A
  • 噪声纹理之消融效果 https://mp.weixin.qq.com/s/9od3cxdinGJ4q8Zjfc4qFQ
  • 动态蒙版
  • 探照灯效果 Shader 实现 https://mp.weixin.qq.com/s/Jlj3Dt92tgy2CJot98z5Zg
  • 曲面效果 https://mp.weixin.qq.com/s/em641KPHGL5yur03KTSAsA
  • 卡通水体渲染教程 https://mp.weixin.qq.com/s/BAwYxilDKr42YaGx5gIBzA##

DrawCall

  • Cocos Creator 性能优化:DrawCall https://forum.cocos.org/t/topic/95043
  • Cocos Creator 3.x 性能调优之《如何优化2D/3D Drawcall》 https://forum.cocos.org/t/topic/132490
  • MultiTexture实现 https://forum.cocos.org/t/topic/121756

引擎

  • CocosCreator3.x引擎的动态资源加载和释放方案 https://blog.csdn.net/foupwang/article/details/124701574?spm=1001.2014.3001.5502

微信小游戏

  • 微信小游戏子域排行榜系统cocos示例程序 https://github.com/864381832/wxGameRank
  • cocos-creator-h5-wxapi https://github.com/caochao/cocos-creator-h5-wxapi

调试工具

  • ccc-devtools https://github.com/potato47/ccc-devtools

H5构建

  • build & optimize & deploy https://github.com/babyzone2004/cocos-fly

插件

  • 免费插件 https://github.com/tidys/CocosCreatorPlugins

原生打包

  • 【经验分享】使用 Cocos Creator 进行 原生打包、发布、接入SDK https://forum.cocos.org/t/cocos-creator-sdk/92145

热更新

  • cocos creator热更新非官方实现方案 https://forum.cocos.org/t/topic/106800
  • 大厅+子游戏 https://github.com/TopDiscover/QuickFramework
  • Asset Bundle 全解析 https://mp.weixin.qq.com/s/IGuWoQKmd7Fzn5R0YMMq2Q
  • Creator2.x | Asset Bundle 全解析
  • 新资源管理系统剖析 https://mp.weixin.qq.com/s/HLQyh_LquAUc5PASu874xQ
  • 新资源管理系统剖析【四:资源释放】https://forum.cocos.org/t/topic/103506
  • 教育大厅+子游戏开发实战 https://mp.weixin.qq.com/s/Sp85mqRj7JpWmwVony8RzQ

代码混淆

  • 一个开源的自动代码混淆插件 https://forum.cocos.org/t/topic/92662

资源加密

  • 资源加密方案 https://github.com/zhitaocai/CocosCreator-Build-Encrypt

解压zip

  • JSZip_压缩 https://mp.weixin.qq.com/s/n8IhcaEchHlGgCkXX5QKiw

图片处理

遮罩

  • 刮刮卡实现 https://forum.cocos.org/t/topic/91302
  • 自定义渲染应用——图片遮罩合批 https://forum.cocos.org/t/topic/95986
  • 自定义渲染合批之自定义顶点格式(附 Demo 和引擎源码解读) https://forum.cocos.org/t/topic/95087

UI

  • 虚拟列表(ScrollView)https://forum.cocos.org/t/scrollview-item-drawcall/79055
  • 奎特尔星球上的UI大杀器 https://github.com/ShawnZhang2015/uikiller
  • UILoader(资源加载和资源释放) https://github.com/1083921307/UILoader
  • 弹窗管理方案 https://mp.weixin.qq.com/s/T9ZX7bbLj7GK1Qg01ud1Gw

插件

  • 插件教程 https://mp.weixin.qq.com/s/7TKTlyY_hkQzi9jeHR-sjA

粒子

  • Cocos Creator 3D 粒子系统初战:火焰 https://mp.weixin.qq.com/s/m9nPv2NTZrBnXWCYxcrnAQ

新手引导

  • GodGuide https://github.com/ShawnZhang2015/GodGuide

OpenGL

  • Learn OpenGL ES via Cocos2D-X https://github.com/zilongshanren/OpenGLES-cocos2dx
  • 一个基于 OpenGL 和 Creator 的攻击范围绘制Demo https://github.com/shpz/AttackArea

Websocket多人在线

  • 多人在线pv https://github.com/wheatup/scrabble
  • websocket使用ssl https://forum.cocos.org/t/websocket-ssl/60024

同步

  • RPC 框架 https://tsrpc.cn/docs/introduction.html
  • TSRPC + Cocos 多人实时对战 Demo https://github.com/k8w/tsrpc-examples/tree/main/examples/cocos-creator-multiplayer
  • 帧同步和状态同步 https://github.com/cisen/blog/issues/304
  • 手游后台PVP系统网络同步方案总结 https://cloud.tencent.com/developer/article/1097767
  • 帧同步游戏开发基础指南 https://mp.weixin.qq.com/s/ambS-XTKV_RllXG3F5FjcA
  • 乐观帧同步网页示例,支持断线重连 https://github.com/fylz1125/LockstepDemo
  • creator2.0实现的帧同步Demo https://gitee.com/haozi0904/LockStep/tree/master/

astar算法寻路

  • https://github.com/sky068/AstarCreator

AI行为树

  • https://github.com/behavior3/behavior3editor

支持gif

  • 支持2.0~2.3 https://github.com/baibai2013/cocos-creator-gifLib
  • 支持2.4.4 https://github.com/newGy/cocos-creator-gif-2.4.4/

生成单Html包

优化

  • 突破 Label 的缓存模式:CHAR 无限模式 https://mp.weixin.qq.com/s/NUjDaE0WAP3tf3G571GSsw
  • 性能调优优化集锦 https://mp.weixin.qq.com/s/OaZVFMq4vZIrVeSZb17ing
  • 纹理压缩方案 https://mp.weixin.qq.com/s/s-ykV2Nbp8Oc7H7PfUxW_w
  • JavaScript兼容性问题规避 https://mp.weixin.qq.com/s/b9nfWj8T3FcSHQUmOdAGgg
  • 如何重绘「江南百景图」?近300页 PPT 免费分享 https://forum.cocos.org/t/topic/121618/1

曲线

  • 贝塞尔曲线的路径实现 https://github.com/haoyuan336/cocoscreator3dBezier/tree/master/Bezier
  • cocoscreator3d塔防游戏技术分享(一)贝塞尔曲线的实现 https://mp.weixin.qq.com/s/FdfDN4qg1FLDbBEh4kFLsA
  • 贝塞尔曲线路径在线绘制工具 https://forum.cocos.org/t/topic/88433

原生第三方sdk

  • 极光推送sdk https://github.com/longyinzaitian/JiGuangIntegration

工具

  • spine转龙骨工具 https://github.com/DragonBones/Tools/blob/master/README-zh_CN.md