diff --git a/js_v9/render.js b/js_v9/render.js index 61da5f1..d5737aa 100644 --- a/js_v9/render.js +++ b/js_v9/render.js @@ -72,16 +72,16 @@ function render() { function renderBeginningText() { if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { - renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height)/3 - 35 - 135 * settings.scale, 20, '#2c3e50', 'Tap on the left or the right of the screen', '20px Exo'); - renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height)/3 - 35 - 105 * settings.scale, 20, '#2c3e50', 'to rotate the hexagon.', '20px Exo'); - drawKey("",(trueCanvas.width)/2 + 1.5 * settings.scale - 5 , (trueCanvas.height)/3 - 35 - 107 * settings.scale); - renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height * 3.1)/3 - 35 - 135 * settings.scale, 20, '#2c3e50', 'Match 3+ blocks to score points.', '20px Exo'); + renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height)/3 - 138 * settings.scale, 20, '#2c3e50', 'Tap on the left or the right of the screen', '20px Exo'); + renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height)/3 - 108 * settings.scale, 20, '#2c3e50', 'to rotate the hexagon.', '20px Exo'); + drawKey("",(trueCanvas.width)/2 + 1.5 * settings.scale - 5 , (trueCanvas.height)/3 - 110 * settings.scale); + renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height * 3.1)/3 - 135 * settings.scale, 20, '#2c3e50', 'Match 3+ blocks to score points.', '20px Exo'); } else { - renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height)/3 - 35 - 135 * settings.scale, 20, '#2c3e50', 'Use the right and left arrow keys', '20px Exo'); - renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height)/3 - 35 - 105 * settings.scale, 20, '#2c3e50', 'to rotate the hexagon.', '20px Exo'); - drawKey("",(trueCanvas.width)/2 + 1.5 * settings.scale - 5 , (trueCanvas.height)/3 - 35 - 107 * settings.scale); - renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height * 3.1)/3 - 35 - 120 * settings.scale, 20, '#2c3e50', 'Match 3+ blocks to score points.', '20px Exo'); + renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height)/3 - (170 * settings.scale), 20, '#2c3e50', 'Use the right and left arrow keys', '20px Exo'); + renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height)/3 - (145 * settings.scale), 20, '#2c3e50', 'to rotate the hexagon.', '20px Exo'); + drawKey("",(trueCanvas.width)/2 + 1.5 * settings.scale - 2.5 , (trueCanvas.height)/3 - (140 * settings.scale)); + renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height * 3.1)/3 - (140 * settings.scale), 20, '#2c3e50', 'Match 3+ blocks to score points.', '20px Exo'); } //renderText((trueCanvas.width)/2 + 1.5 * settings.scale, (trueCanvas.height)/2 - 35 - 65 * settings.scale, 20, '#2c3e50', (settings.platform == 'mobile' ? 'Tap the middle to toggle 2x speed!' : 'Hold the down arrow to toggle 2x speed!'), '20px Exo');