基于web版2048游戏开发的微信小程序版2048,仅作交流学习用。
- 克隆本项目
- 在微信开发工具中添加项目
- 选择项目目录
微信小程序2048
基于web版2048游戏开发的微信小程序版2048,仅作交流学习用。
在项目中,发现没有使用wx.getSystemInfo这个API去获取使用机型的系统信息。
然后通过windowWidth,windowHeight和safeArea来调整小程序的布局设置。
没有通过wx.getSystemInfo的适配,在部分机型上可能会出现一些样式问题。
您好,方便确认一下该问题吗
我编译的时候报错,"disableScroll": “true” 针对这一行,disableScroll
字段值需要为boolean。
所以全项目中两个地方出现的这行代码,都需要将true的双引号去掉,望检验改进。
Hi,我为您的小程序进行了真机测试。
具体您可以看这个微信文章
视频源码已经上传至WeApp-Demo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.