Page 1 of 1
5.5 version
Posted: Mon Mar 14, 2016 10:07 am
by Mr. Kibernetik
New graphics command will be added:
DRAW IMAGE n$ IN x1,y1, x2,y2, x3,y3, x4,y4
draws image with filename [n$] inside arbitrary quadrangle with coordinates: [x1,y1] - top left corner, [x2,y2] - top right corner, [x3,y3] - bottom left corner, [x4,y4] - bottom right corner. Valid image types are: JPG, PNG, BMP, GIF, TIF, ICO, CUR, XBM.
Re: 5.5 version
Posted: Mon Mar 14, 2016 10:09 am
by Mr. Kibernetik
New sample program "flying turtle.txt" will be added to "Graphics" section.
Re: 5.5 version
Posted: Mon Mar 14, 2016 12:03 pm
by Mr. Kibernetik
BUTTON_PRESSED() function will indicate touch of a button instead of release of a button.
Re: 5.5 version
Posted: Mon Mar 14, 2016 3:12 pm
by Dutchman
Mr. Kibernetik wrote:BUTTON_PRESSED() function will indicate touch of a button instead of release of a button.
Does that mean that pressing a button can be missed if the scanning loop is too slow
Re: 5.5 version
Posted: Mon Mar 14, 2016 3:41 pm
by Mr. Kibernetik
Dutchman wrote:Mr. Kibernetik wrote:BUTTON_PRESSED() function will indicate touch of a button instead of release of a button.
Does that mean that pressing a button can be missed if the scanning loop is too slow
No. You cannot miss button press, but it will be triggered not by release moment but by press moment.
Actually button_press() function triggering by release can be considered a bug. Normally it should be triggered by press.
Re: 5.5 version
Posted: Mon Mar 14, 2016 6:14 pm
by Mr. Kibernetik
New misc command will be added:
BEEP
makes short beep sound.
Re: 5.5 version
Posted: Tue Mar 15, 2016 5:05 pm
by Mr. Kibernetik
GET PIXEL COLOR command will be expanded:
GET PIXEL x,y COLOR r,g,b,a
gets color of pixel at coordinates [x,y] to variables for red [r], green [g] and blue components, and alpha-value to variable [a]. This command is screen scale-dependent.
Re: 5.5 version
Posted: Tue Mar 15, 2016 5:10 pm
by Mr. Kibernetik
New sample program "interactive turtle.txt" will be added to "Graphics" section.
Re: 5.5 version
Posted: Tue Mar 15, 2016 5:50 pm
by Mr. Kibernetik
Beta version is available here:
viewtopic.php?f=42&t=1369#p8409
Re: 5.5 version
Posted: Mon Mar 21, 2016 10:45 pm
by Mr. Kibernetik
Version is published in App Store.