minor edits
This commit is contained in:
parent
019b0d703c
commit
8a05e060c5
|
@ -67,8 +67,8 @@ export default function AppView() {
|
|||
left: 0,
|
||||
height: 55,
|
||||
width: "100%",
|
||||
borderColor: "red",
|
||||
borderWidth: 1,
|
||||
// borderColor: "red",
|
||||
// borderWidth: 1,
|
||||
}}
|
||||
>
|
||||
<Text
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import Matter from 'matter-js'
|
||||
import React from 'react'
|
||||
import { ColorValue, View } from 'react-native'
|
||||
|
||||
import { BalloonSVG } from '@svg'
|
||||
|
|
|
@ -7,7 +7,7 @@ import { Balloon, Wall } from ".";
|
|||
export const entities = (restart: boolean = false) => {
|
||||
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;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import { Dimensions } from "react-native";
|
||||
import Matter from "matter-js";
|
||||
|
||||
export { windowHeight, windowWidth } from "@game";
|
||||
|
||||
|
|
Loading…
Reference in New Issue