Skip to content

Commit 43e09ef

Browse files
authored
Merge branch 'main' into Automated-PR-1735166718774
2 parents 72e9753 + 71e271c commit 43e09ef

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

games/mailman.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -347,19 +347,19 @@ function checkHit() {
347347

348348

349349

350-
function checkHit() {
351-
const badBoxHitbox = tilesWith(BADBOX).length;
352-
const evilBoxHitbox = tilesWith(EVILBOX).length;
350+
// function checkHit() {
351+
// const badBoxHitbox = tilesWith(BADBOX).length;
352+
// const evilBoxHitbox = tilesWith(EVILBOX).length;
353353

354-
const badBoxDamage = tilesWith(BADBOX, player).length;
355-
const evilBoxDamage = tilesWith(EVILBOX, player).length;
354+
// const badBoxDamage = tilesWith(BADBOX, player).length;
355+
// const evilBoxDamage = tilesWith(EVILBOX, player).length;
356356

357-
// Get the current level's map
358-
const currentLevelMap = levels[level];
357+
// // Get the current level's map
358+
// const currentLevelMap = levels[level];
359359

360-
if (badBoxDamage > 0 || evilBoxDamage > 0) {
361-
// You're being hit by either BADBOX or EVILBOX
362-
setMap(currentLevelMap); // Reset the current level
363-
// console.log("HIT!");
364-
}
365-
}
360+
// if (badBoxDamage > 0 || evilBoxDamage > 0) {
361+
// // You're being hit by either BADBOX or EVILBOX
362+
// setMap(currentLevelMap); // Reset the current level
363+
// // console.log("HIT!");
364+
// }
365+
// }

games/offline_t-rex_game.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/*
22
@title: offline_t-rex_game
3-
@author: zoya hussain */
3+
@author: zoya hussain
44
@tags: ['endless']
55
@addedOn: 2022-12-31
6+
*/
67

78
let vy = 0;
89

0 commit comments

Comments
 (0)