From 57d35c21a14adb88f356e3820670ab454f9c00bb Mon Sep 17 00:00:00 2001 From: lbcmk <30442978+lbcmk@users.noreply.github.com> Date: Mon, 11 Jul 2022 13:42:31 -0400 Subject: [PATCH] added portal rect --- Function/Portal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Function/Portal.py b/Function/Portal.py index 5d6d33e..16f3b9d 100644 --- a/Function/Portal.py +++ b/Function/Portal.py @@ -31,6 +31,7 @@ class Transition: coords[1] += self.portalYAnim a = (((offsetX-self.width/2) + coords[0], offsetY + coords[1]), (offsetX+coords[0], offsetY-self.height/2+coords[1]), (offsetX+self.width/2 + coords[0], offsetY+coords[1]), (offsetX + coords[0], offsetY+self.height/2 + coords[1])) + portal_rect = (a[0][0], a[1][1], a[2][0], a[3][1]) # print(a[0][0], a[1][1], a[2][0], a[3][1]) # print(playerPos[0], playerPos[1]) -- 2.54.0