Skip to content

Commit

Permalink
prevented clipping during cheese race
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadecraft committed Jul 13, 2022
1 parent 438161f commit 49eb2a3
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions mainmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
> T-spin detection and B2B fix
> All-clear detection and rewards
> Removed the "+5" notification on placing a piece
> Added opener assists
> Added instant soft drop setting
> Prevented clipping on the cheese race
*/

// To do:
/*
> Test all clear rewards?
> Add CHEESE RACE
> Cheese race - remove sprint score saving?
> Add bonus stat at the bottom: All Clear Rate
> Fix soft drop/auto drop locking issues
> Fix soft drop/auto drop locking issues and timing
> One day: Publish to web store?
> One day: multiplayer server?
Expand Down Expand Up @@ -578,6 +580,12 @@ function gameloop() {
}
}
}
// Check for piece clipping; if so, move it up
if(!(ispiecevalid())) {
if(mypiece.y >= 1) {
mypiece.y --;
}
}
}
}
}
Expand Down

0 comments on commit 49eb2a3

Please sign in to comment.