All Projects → zh8637688 → WordGame-wepy

zh8637688 / WordGame-wepy

Licence: other
基于wepy实现的微信小程序,一款文字游戏

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to WordGame-wepy

Weapp Hiapp
HiApp 微信小程序版
Stars: ✭ 236 (+807.69%)
Mutual labels:  weapp, wepy
Wepy
小程序组件化开发框架
Stars: ✭ 21,648 (+83161.54%)
Mutual labels:  weapp, wepy
wepy-com-calendar
一个基于wepy的日历组件,内置多套皮肤,可启用打卡功能
Stars: ✭ 33 (+26.92%)
Mutual labels:  weapp, wepy
Leshare Shop Wepy
基于微信小程序的在线商城,采用wepy框架开发
Stars: ✭ 839 (+3126.92%)
Mutual labels:  weapp, wepy
Weappx
🌱基于 redux 的轻量级小程序状态管理框架,适配原生小程序,wepy,taro
Stars: ✭ 145 (+457.69%)
Mutual labels:  weapp, wepy
Weapp Qrcode
weapp.qrcode.js 在 微信小程序 中,快速生成二维码
Stars: ✭ 1,194 (+4492.31%)
Mutual labels:  weapp, wepy
Leshare Seller Wepy
基于小程序的店铺商家管理端,采用wepy框架开发
Stars: ✭ 687 (+2542.31%)
Mutual labels:  weapp, wepy
We Cropper
微信小程序图片裁剪工具
Stars: ✭ 1,972 (+7484.62%)
Mutual labels:  weapp, wepy
JMGS
基于LBS的微信小程序,服务器端代码在这里server@https://github.com/g1mi/jmgs_server
Stars: ✭ 29 (+11.54%)
Mutual labels:  weapp, wepy
wxml-vscode
👾Vscode plugin -- wechat applets formatting and highlighting components (highly customized)
Stars: ✭ 31 (+19.23%)
Mutual labels:  weapp
dropDownBoxFilter
微信小程序之下拉菜单的三级筛选框
Stars: ✭ 47 (+80.77%)
Mutual labels:  weapp
mall-app
youlai-mall 微信小程序/H5/Android/iOS 移动应用端,uni-app终极跨平台前端框架。
Stars: ✭ 75 (+188.46%)
Mutual labels:  weapp
Gitter
Gitter for GitHub - 可能是目前颜值最高的GitHub微信小程序客户端
Stars: ✭ 3,555 (+13573.08%)
Mutual labels:  weapp
spa-custom-hooks
💯 Custom hook of business layer (asynchronous task notification solution), supporting various applets and Vue architectures (uni app, wepy, mpvue, etc.)
Stars: ✭ 307 (+1080.77%)
Mutual labels:  wepy
we-rich
HTML转微信富文本节点, we just need rich, no text.
Stars: ✭ 36 (+38.46%)
Mutual labels:  weapp
weapp-diary
小柴日记簿,记录日记的微信小程序,后台是微信云开发
Stars: ✭ 41 (+57.69%)
Mutual labels:  weapp
wepy-one
小程序-one(wepy版本)
Stars: ✭ 49 (+88.46%)
Mutual labels:  wepy
weapp wechat miniapp sdk
一个封装了微信小程序服务端接口的SDK
Stars: ✭ 102 (+292.31%)
Mutual labels:  weapp
wepy-nba
微信小程序之-NBA在线直播小程序
Stars: ✭ 17 (-34.62%)
Mutual labels:  wepy
Undergraduate
🔧mini program of NJUPT | 南京邮电大学小程序
Stars: ✭ 138 (+430.77%)
Mutual labels:  wepy

WordGame

基于wepy实现的微信小程序,一款文字游戏

截图

1. 安装 wepy

npm install wepy-cli -g

2. 安装依赖库

cd wordgame
npm install

3. 编译代码,转换至小程序代码

wepy build

4.预览

在微信开发工具中导入项目,项目路径为dist目录

游戏剧本

Scripts = {
  // 游戏角色列表
  roles: [{
    id: 0,          // 角色id
    name: 'X',      // 角色名称
    avatar: ''      // 角色头像
  }],
  playerRoleID: 0,  // 玩家扮演的角色id
  chapters: [{
    name: '第一章',  // 章节名称
    lines: [{       // 台词
      roleID: 0,
      content: 'https://xxx.png',
      contentType: 1,   // 台词类型,0表示文本,1表示图片
      goto: '剧本2'      // 下一条台词的id
    }, {
      id: '剧本2'
      roleID: 1,
      selections: [{    // 玩家的选项
        content: '跳转到第二条剧本',
        goto: '剧本3'
      }, {
        content: '跳转到第三条剧本',
        goto: '剧本4'
      }]
    }]
  }]
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].