diff --git a/cat.html b/cat.html index 1216acc..5c4d2d7 100644 --- a/cat.html +++ b/cat.html @@ -4104,6 +4104,11 @@ function thing(gridx, gridy, type, text) { var moved = false; var snaptox = Math.floor(this.gridx * GRIDSIZE + (GRIDSIZE/2) - (this.size/2)); var snaptoy = Math.floor(this.gridy * GRIDSIZE + (GRIDSIZE/2) - (this.size/2)); + + if (this.state != "fall" && this.state != "stop") { + return false; + } + //var snapto = (GRIDSIZE + (GRIDSIZE/2) - (THINGSIZE/2); //if (this.y % (GRIDSIZE + (GRIDSIZE/2) - (THINGSIZE/2)) != 0) { //if (this.y % snapto != 0) { diff --git a/todo b/todo index 74ba38f..e60f8ce 100644 --- a/todo +++ b/todo @@ -55,6 +55,10 @@ show total points on path ?? when a parade is going in to a door, they seem to disappear at the wrong place ... try slowing them down thing added at top with x = -1 !!!! + it's probably cause of x snap. + don't snap when in something other than fall/stop + fixed now??????? + ---------------