Giter VIP home page Giter VIP logo

chainsaw's Introduction

合成大西瓜

有帮助的话,求个大大的 star,有疑问请联系 wx:liyupi66

遇到问题可以先阅读本文档最后的问题及解决

详细教程:魔改和上线你的合成大西瓜,最全教程!

视频教程:

未修改版在线玩:https://daxigua.liyupi.com

魔改版在线玩:https://dadaxigua.liyupi.com

未修改版源码:https://github.com/liyupi/daxigua/releases/tag/1.0.0

秀爆朋友圈

本地启动

  1. 安装 serve 工具:

    npm i -g serve
  2. 进入 daxigua 目录,运行 serve:

    serve
  3. 打开浏览器访问 localhost:5000 即可!

快速魔改

按照下列说明修改即可,持续补充

  1. 改分数:改 extraSettings.js 文件

  2. 改图片:替换 res/raw-assets 目录下指定目录的图片,必须同文件名、后缀、尺寸,成功覆盖可生效

  3. 无敌模式:改 extraSettings.js 文件

  4. 指定第一个水果:改 extraSettings.js 文件

  5. 指定下一个水果:在 project.js 代码中搜索 "改下一个水果"

  6. 大水果合成小水果:在 project.js 代码中搜索 "大水果合成小水果"

  7. 让水果更 Q 弹:改 extraSettings.js 文件,原理参考

  8. 水果下落速度减缓:改 extraSettings.js 文件,原理参考

  9. 替换音乐

  10. 替换背景

  11. 去广告

  12. 替换广告链接

魔改原理

请先阅读:魔改和上线你的合成大西瓜,最全教程!

我给 project.js 文件补充了注释,大家可以搜索关键字,如 "改分" 来快速定位,学习修改原理。

问题及解决

  1. 无法安装 serve?

    答:如果报找不到 npm,请先安装 npm。

    如果安装中卡住,试着按下键盘(可能假死),还不行的话先安装 cnpm(国内镜像,比较快):

    npm install cnpm -g --registry=https://registry.npm.taobao.org 

    再执行 cnpm i -g serve

chainsaw's People

Contributors

sophiad23 avatar

Watchers

 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.