diff --git a/AppView.tsx b/AppView.tsx index 18c51f9..e278437 100644 --- a/AppView.tsx +++ b/AppView.tsx @@ -67,8 +67,8 @@ export default function AppView() { left: 0, height: 55, width: "100%", - borderColor: "red", - borderWidth: 1, + // borderColor: "red", + // borderWidth: 1, }} > { let engine = Matter.Engine.create(undefined, { enableSleeping: false, - gravity: { x: 0, y: 0.000005 }, + gravity: { x: 0, y: 0.001 }, } as Matter.IEngineDefinition); let world = engine.world; diff --git a/game/entities/index.ts b/game/entities/index.ts index e9543cb..cdea424 100644 --- a/game/entities/index.ts +++ b/game/entities/index.ts @@ -1,5 +1,4 @@ import { Dimensions } from "react-native"; -import Matter from "matter-js"; export { windowHeight, windowWidth } from "@game";