Giter Club home page Giter Club logo

bearjump's Introduction

jump

小熊上山微信小游戏,同款游戏已上线。

这是第一个版本,因为使用colloc相同的脚手架开发,微信审核不通过。 所以重构了一版,重构的就不发出来了,核心游戏代码差不多。

colloc源码地址:https://github.com/JetLua/colloc 感谢作者分享的pixi.js开发微信小游戏。

小游戏码

配置

修改成开发者自己的云开发环境和广告位 ID

  • 小程序端
// src/core/env.js
// 云开发 环境名
PIXI.settings.CLOUD_ENV = ''
  • 云函数
// 每个函数是独立的所以需要开发者自行修改
cloud.init({env: ''})
  • 广告位
// 开发者自己的广告位 ID
wx.createRewardedVideoAd({
  adUnitId: ''
})

开发

# clone 项目
git clone https://github.com/CB-ysx/bearjump.git

# 安装依赖
npm i

# dev 可以替换成 build
# 运行
npm run dev

# 微信开发者工具选择 dist 目录

游戏截图

bearjump's People

Contributors

charlieysx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.