Thx! In the meantime, some people will perhaps have noticed that a disturbing time lag seems to have appeared with the new version compared to the previous one when playing using the mouse. It makes the game really difficult to play. I've found a major cause I reproduce here because it is instructive about the kind of problems you come across frequently with this kind of development. A systematic lag appears in the console at the place marked with "***"
2017-05-25 04:28:58.26 : P! 20175252282900746819600> [Mouse Down] BEGIN 2017-05-25 04:28:58.26 : P! 20175252282900746819600> [Mouse Down] Event pos = 188 348 *** 2017-05-25 04:28:59.07 : P! 20175252282900746819600> [Mouse Down] Canvas pos = 76 0 2017-05-25 04:28:59.07 : P! 20175252282900746819600> [Mouse Down] Adj pos = 188 348 2017-05-25 04:28:59.07 : P! 20175252282900746819600> [Mouse Down] Cell = (2,5) 2017-05-25 04:28:59.07 : P! 20175252282900746819600> [Mouse Down] END This should not happen given it is basically within a bunch of Put_Line displaying variables... App.Game_log ("[Mouse Down] Event pos =" & Mouse_Event.X'Img & Mouse_Event.Y'Img); App.Game_log ("[Mouse Down] Canvas pos =" & App.My_Canvas.Position_Left'Img & App.My_Canvas.Position_Top'Img); App.Game_log ("[Mouse Down] Adj pos =" & App.Btn_Down_pix_x'Img & App.Btn_Down_pix_y'Img); App.Game_log ("[Mouse Down] Cell = " & Coord (App.Btn_Down_pos)); Variables, right ? Of course not!... The line with function calls Position_Left and Position_Top triggers two two-way information travels across the Atlantic... ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list