From e644f25b52b16f5e50a72007f3e3785d48c54cb4 Mon Sep 17 00:00:00 2001 From: Stephen MacKenzie Date: Tue, 16 Apr 2019 14:17:41 -0700 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7cf4b3c..20669d4 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,13 @@ You need to set the screen mode. SCREEN 11 on the first line. Mouse input needs to be refactored, mouse handling is more complex now. I added a subroutine that gets the CHX, CHY, and B params. Mouse x,y coordinates need to be recalculated due to resolution differences. Added sub GetCoords that prints the coords as you click: + REM To get coordinates, comment next line (GetXY), then uncomment the line after that (GetCoords) + REM Be sure to restore for normal use. Uncomment out GetXY, comment out GetCoords + 557 GetXY CHX, CHY + REM 560 GetCoords ' use this to run in a loop to determine mouse coordinates Replaced delay loops with sleep calls. 5 second delay, or press any key to advance (after music finishes).Need to flush keys afterwards _KEYCLEAR.