diff --git a/The Great Conversion.zip b/The Great Conversion.zip new file mode 100644 index 0000000..2d938e8 Binary files /dev/null and b/The Great Conversion.zip differ diff --git a/branch_ex.png b/branch_ex.png new file mode 100644 index 0000000..dff76a0 Binary files /dev/null and b/branch_ex.png differ diff --git a/conveyor_ex.png b/conveyor_ex.png new file mode 100644 index 0000000..2e7bb40 Binary files /dev/null and b/conveyor_ex.png differ diff --git a/game.js b/game.js index 1521af3..31e0758 100644 --- a/game.js +++ b/game.js @@ -166,6 +166,8 @@ var LASTPOSITIONUPDATE = 0 var BRIDGEDBELT = false +var ALLOWEDTOCLICK = true + var MOBILE = false var BELTDOWN = {type:"BELT",direction:DOWN/*,direction2 - defines a secondary direction. For two belts at once.*/} @@ -307,6 +309,8 @@ function goHome() { GRID_X=20 GRID_Y=20 ITEM_SELECTED=undefined + MOUSEDOWN=false + ALLOWEDTOCLICK=false endARound() for (var button of MENU.buttons) { if (button.submenu_buttons) { @@ -1693,6 +1697,8 @@ function releaseEvent(e) { } } + ALLOWEDTOCLICK=true + if (MOVEMODE) { STARTDRAG=undefined } @@ -2681,8 +2687,9 @@ function DisplayMenu(x,y,menu,ctx) { var colWidth = menu.width/menu.cols var levelBoxBounds = {x:x+col*colWidth-((menu.cols!==1)?colWidth:colWidth/2),y:y+24+24*row,w:colWidth,h:16} if (MouseOverBounds(levelBoxBounds)) { - if (MOUSEDOWN) { + if (MOUSEDOWN&&ALLOWEDTOCLICK) { MOUSEDOWN=false + ALLOWEDTOCLICK=false loadStage(menu.levels[i]) gameState=WAITING } diff --git a/screenshot1.png b/screenshot1.png new file mode 100644 index 0000000..31cdd43 Binary files /dev/null and b/screenshot1.png differ diff --git a/screenshot2.png b/screenshot2.png new file mode 100644 index 0000000..6107d51 Binary files /dev/null and b/screenshot2.png differ diff --git a/screenshot3.png b/screenshot3.png new file mode 100644 index 0000000..86326cb Binary files /dev/null and b/screenshot3.png differ diff --git a/screenshot4.png b/screenshot4.png new file mode 100644 index 0000000..1fb4bcd Binary files /dev/null and b/screenshot4.png differ diff --git a/screenshot5.png b/screenshot5.png new file mode 100644 index 0000000..9a31dde Binary files /dev/null and b/screenshot5.png differ diff --git a/writer_ex.png b/writer_ex.png new file mode 100644 index 0000000..5ba947a Binary files /dev/null and b/writer_ex.png differ