# promotionalMiniGame **Repository Path**: gbzbz/promotional-mini-game ## Basic Information - **Project Name**: promotionalMiniGame - **Description**: 关于消费安全知识的图片找茬微信小游戏 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2024-07-25 - **Last Updated**: 2025-06-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 关于安全宣传的微信小游戏 ------------------------------------------------------------------------------- ## 简介 复刻的 应急安全大闯关(佛山应急) h5小游戏, 用于练习微信小游戏开发,整体游戏玩法为图片找茬类游戏 有写的不好的地方,欢迎前辈指教、纠正。 ## 技术框架 游戏引擎采用: cocos creator(2.4.0) 后端: 微信云函数 [配合的微信云函数toGitee]('https://gitee.com/gbzbz/cloudfuctions-promotional-mini-game') 数据库: 微信云数据库 ## 启动项目 web端: 下载cocos creator,选择本项目,打开即可模拟运行 微信端: 下载 微信开发者工具, 选择本项目下的./build 文件夹,打开即可运行 ## 项目实现的功能、模块 主要游戏玩法(6个找茬关卡),排名模块,抽奖模块,签到模块,云端数据存储 ## 游戏文件目录结构 项目asset资源 ```txt + assets/ + clip/ 动画资源 + resources/ 加载资源 + CheckInPage/ + coreGameSceneMaterial/ + levelSelection/ + others/ + rankScene/ + scene/ 场景 + scripts/ 脚本资源(主场景脚本和组件脚本) + checkInSceneComponent/ 签到页组件脚本 + gameSceneComponent/ 找茬游戏场景脚本 + globalComponet/ 全局组件脚本 + levelSelectionComponent/ 关卡选择组件脚本 + LuckyDrawSceneComponent/ 抽奖页组件脚本 + mainScenecComponent/ 主页组件脚本 + rankSceneComponet/ 排名组件脚本 + utils/ 工具类脚本 + WXCloudProxy/ 微信云服务代理类 + texture/ 立即加载的场景资源 + bgImg/ + buttons/ + headImgs/ + levelBG/ + levelSelection/ + loading/ + LuckyDraw/ + messageBar/ + MP3/ + others/ + Prefab/ ``` ## 游戏预览 ![img](./markdownimg/markdownimage01.jpg) ## 其他配套 [配套的微信云函数toGitee]('https://gitee.com/gbzbz/cloudfuctions-promotional-mini-game') ## 场景资源来源 引用自 应急安全大闯关(佛山应急) - h5.kyhdmedia.com 项目仅用于学习研究,如有版权问题可联系开发者