9 Star 52 Fork 23

周不移 / CocosCreatorDemo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

CocosCreatorDemo

CocosCreatorDemo is a set of demos commonly used in cocoscreator game development.

CocosCreatorDemo是一个CocosCreator游戏开发常用的功能实现的demo集合。

Cocos Creator版本:2.4.3

  • 打字机---TypeWriter 用途:文字对话,逐字出现文字。常用于新手引导文字对话、人物对话

  • 跑马灯---HorseRaceLamp 用途:在一个区域内,实现文字滚动。常用于游戏公告、弹幕消息

  • 背景无限滚动---BgRollInfinite
    用途:让背景循环滚动起来。

  • 遥控杆---Rocker 用途:通过遥杆控制目标移动方向。

  • 滚动式组件---ScrollItemList 用途:让多个子item在一个区域内实现滚动。常用于小游戏内,作为跳转其他小游戏的入口,做滚动效果。

  • JsZip解压缩zip文件---JsZip

    用途:利用JsZip库,实现对zip文件的加载并解析。

  • ScrollView分帧加载Item---FrameLoading

    用途:

    1.ScrollView 支持分帧加载item,优化卡顿

    2.优化Drawcall,不在科室范围内,Drawcall不计算

    3.可以滚动ScrollView,使指定index的item在ScrollView试图中间

  • FlipCard---翻牌效果

  • RoundAvatar---圆形头像

  • ScollingNum---滚动数字

  • FrameAnimation---帧动画组件

    用途:输入SpriteFrame数组,播放时间(秒为单位),是否循环播放。即可实现帧动画。不用一帧一帧编辑帧动画。

  • StreamerShader---流光Shader

    用途:流光效果,在游戏中,比如某个卡牌的稀有度,可以用流光shader来突出。

  • ScreenAdapt---刘海水滴屏适配方案

  • ArcProgressBar---环形进度条实现方案(之一)

  • ActivityScheduler---活动定时请求方案

  • WebSocketClient---WebSocket 客户端实现 实现中···

  • ScreenShot---对节点截图 实现中···

MIT License Copyright (c) 2021 大头爱学习 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

CocosCreatorDemo是一个CocosCreator游戏开发常用的功能实现的demo集合。 展开 收起
TypeScript 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/zzhcodes/CocosCreatorDemo.git
git@gitee.com:zzhcodes/CocosCreatorDemo.git
zzhcodes
CocosCreatorDemo
CocosCreatorDemo
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891