<script src="http://spelprogrammering.nu/simple.js"> function update() { clearScreen(); if (touchscreen.currentlyTouched) { text(50, 50, 20, "Nu petar du!", "black"); } for (var i = 0; i < touchscreen.points.length; i++) { var x = touchscreen.points[i].x; var y = touchscreen.points[i].y; var id = touchscreen.points[i].id; ring(x, y, 70, 10, "red"); text(x+60, y-60, 14, id, "black"); } } </script>