2018/06/26 version
275
With the 'touch(n)' Multi-touch support
About changes of the correspondence table of 'n'
There are need to change the number of 'n' in list.
The concise notice of change points are as
follows.
Touch detection: touch(2)>0
-> touch(0)>0
Coordinates: x=touch(0)
-> x=touch(4) y=touch(1) -> y=touch(5)
To change 'sp_print' to 'sp_print2'.
Detail.
It is correspondence table before version274.
n=0 The value of touched x.
n=1 The value of touched y.
n=2 The number of the present touches. on=1 or
more. off=0.
n=3 The value of
movement of flick x.
n=4 The value of
movement of flick y.
Changed as follows.
n=0 The number of the present touches. on=1 or
more. off=0.
n=1 Movement of flick X.
(No.1)
n=2 Movement of flick Y. (No.1)
n=3 Touch No.1 ID.
n=4 No.1 X coordinate.
n=5 No.1 Y coordinate.
Below, each 3 are increasing with the number of the
multi-touch.
n=6 Touch No.2 ID.
n=7 No.2 X coordinate.
n=8 No.2 Y coordinate.
Please change 'touch(n)'-[number of n] in list to the corresponding one.
The included sample program has also been changed to new number.
For multi-touch usage examples, please refer to
the following sample program.
'smp_mtouch2.bas'
2 points multiple
touch that distinguish by left and right separation.(ID unused)
'smp_mtouch4.bas'
4 points more multiple touch that
distinguish by touch-ID.
About new 'sp_print'
Although not used command so much,
'sp_print' became new command to directly write text
in buffer, and display.
New: SP_PRINT
pt,"string",x,y[,fontsize]
Old: SP_PRINT
["string"],[x],[y],[spn][,bgn]
The old type
'sp_print' can be used as 'sp_print2' for a while.
Please use the new 'sp_print' for displaying text on
sprite.
New 'sp_print' is possible to use it like
text display window by one sheet sprite.
For
details of new 'sp_print', please see the manual.