From 8a05e060c5c73348619429bedca12d3536bd27b0 Mon Sep 17 00:00:00 2001 From: Josh Guyette Date: Sun, 26 Jun 2022 00:29:24 -0500 Subject: [PATCH] minor edits --- AppView.tsx | 4 ++-- game/entities/Balloon.tsx | 1 - game/entities/entities.ts | 2 +- game/entities/index.ts | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) 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";