From 01877caac6d99793c385369c27b9a6851bcb47b3 Mon Sep 17 00:00:00 2001 From: logesh2496 Date: Tue, 5 Nov 2024 22:13:58 +0530 Subject: [PATCH 1/5] fix: remove all the assets loading --- pages/index.tsx | 32 +- src/game/main.ts | 2 +- src/game/scenes/Game.ts | 1290 +++++++++++++++--------------- src/game/scenes/Preloader.ts | 190 ++--- src/services/firebase.service.ts | 2 +- 5 files changed, 759 insertions(+), 757 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 5513171..ba5fb9d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -63,17 +63,17 @@ const getRowsQuery = (recordsLimit: number, isLatest: boolean) => { collection(db, "covers"), where(documentId(), "in", [ "PkOBGtGbdyMSEkG0BQ6O", - "f0pmE4twBXnJmVrJzh18", - // "ByE2N5MsLcSYpUR8s6a3", - "YE7LMzWbCKgkLgSKVX9Q", - "bkvtnO1D4fOUYvzwn0NJ", - // "abRoiarmwTRMqWTyqSGn", - "Sey1qVFqitYhnKkddMuQ", - "RL2bdU5NJOukDwQzzW1s", - "NAc4aENdcDHIh2k4K5oG", - "8FbtvPhkC13vo3HnAirx", - "lsUBEcaYfOidpvjUxpz1", - "hoZTAYrVO5qYmHz9CZtV", + // "f0pmE4twBXnJmVrJzh18", + // // "ByE2N5MsLcSYpUR8s6a3", + // "YE7LMzWbCKgkLgSKVX9Q", + // "bkvtnO1D4fOUYvzwn0NJ", + // // "abRoiarmwTRMqWTyqSGn", + // "Sey1qVFqitYhnKkddMuQ", + // "RL2bdU5NJOukDwQzzW1s", + // "NAc4aENdcDHIh2k4K5oG", + // "8FbtvPhkC13vo3HnAirx", + // "lsUBEcaYfOidpvjUxpz1", + // "hoZTAYrVO5qYmHz9CZtV", ]) ); } @@ -256,7 +256,7 @@ const Index = () => { borderRadius: 10, }} > - + {/* */} )} { /> )} - {!isMobileView && activeStep === 0 && ( + {/* {!isMobileView && activeStep === 0 && ( { )} - )} + )} */} { anchor="bottom" onClose={() => setShowLeaderboardDrawer(false)} > - + {/* */} setShowChallengesDrawer(false)} > - + {/* */} {isMobileView && (