react-native-physics:一个针对React Native的物理库的尝试-源码

上传者: 42102634 | 上传时间: 2021-03-01 18:08:17 | 文件大小: 159KB | 文件类型: ZIP
React本征物理学 React Native的物理库(正在进行中) 安装 npm install --save react-native-physics 输入 import { Container, Box } from 'react-native-physics'; 虚化 Container布局就像View 。 Container保存每个框的状态。 将Box放入Container 。 实例化 render ( ) { return ( < Box position = { { x : 20 , y : 150 } }

文件下载

资源详情

[{"title":"( 64 个子文件 159KB ) react-native-physics:一个针对React Native的物理库的尝试-源码","children":[{"title":"react-native-physics-master","children":[{"title":"index.ios.js <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":".flowconfig <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 161.39KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"reducers.js <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"Gravity.js <span style='color:#111;'> 593B </span>","children":null,"spread":false},{"title":"Collision.js <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"Overlap.js <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"Drag.js <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"Velocity.js <span style='color:#111;'> 592B </span>","children":null,"spread":false},{"title":"Acceleration.js <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"Random.js <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Menu.js <span style='color:#111;'> 943B </span>","children":null,"spread":false}],"spread":true},{"title":"Container","children":[{"title":"SubContainer.js <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 621B </span>","children":null,"spread":false}],"spread":true},{"title":"Box.js <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"Example.js <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"actions.js <span style='color:#111;'> 984B </span>","children":null,"spread":false}],"spread":true},{"title":".babelrc <span style='color:#111;'> 34B </span>","children":null,"spread":false},{"title":"ios","children":[{"title":"ReactNativePhysicsTests","children":[{"title":"Info.plist <span style='color:#111;'> 765B </span>","children":null,"spread":false},{"title":"ReactNativePhysicsTests.m <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"ReactNativePhysics-tvOSTests","children":[{"title":"Info.plist <span style='color:#111;'> 765B </span>","children":null,"spread":false}],"spread":true},{"title":"ReactNativePhysics","children":[{"title":"Info.plist <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"main.m <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"Base.lproj","children":[{"title":"LaunchScreen.xib <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"Images.xcassets","children":[{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"AppDelegate.h <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"AppDelegate.m <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"ReactNativePhysics-tvOS","children":[{"title":"Info.plist <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"ReactNativePhysics.xcodeproj","children":[{"title":"xcshareddata","children":[{"title":"xcschemes","children":[{"title":"ReactNativePhysics-tvOS.xcscheme <span style='color:#111;'> 5.06KB </span>","children":null,"spread":false},{"title":"ReactNativePhysics.xcscheme <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 51.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"index.android.js <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"android","children":[{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 51.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"src","children":[{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 192B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"reactnativephysics","children":[{"title":"MainActivity.java <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"MainApplication.java <span style='color:#111;'> 966B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"BUCK <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"keystores","children":[{"title":"BUCK <span style='color:#111;'> 152B </span>","children":null,"spread":false},{"title":"debug.keystore.properties <span style='color:#111;'> 105B </span>","children":null,"spread":false}],"spread":false},{"title":"build.gradle <span style='color:#111;'> 642B </span>","children":null,"spread":false}],"spread":true},{"title":"__tests__","children":[{"title":"index.ios.js <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"index.android.js <span style='color:#111;'> 284B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE.md <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":".buckconfig <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"app.json <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 774B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":".watchmanconfig <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明