5.5 version
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
5.5 version
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.
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.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 5.5 version
New sample program "flying turtle.txt" will be added to "Graphics" section.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 5.5 version
BUTTON_PRESSED() function will indicate touch of a button instead of release of a button.
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: 5.5 version
Does that mean that pressing a button can be missed if the scanning loop is too slowMr. Kibernetik wrote:BUTTON_PRESSED() function will indicate touch of a button instead of release of a button.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 5.5 version
No. You cannot miss button press, but it will be triggered not by release moment but by press moment.Dutchman wrote:Does that mean that pressing a button can be missed if the scanning loop is too slowMr. Kibernetik wrote:BUTTON_PRESSED() function will indicate touch of a button instead of release of a button.
Actually button_press() function triggering by release can be considered a bug. Normally it should be triggered by press.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 5.5 version
New misc command will be added:
BEEP
makes short beep sound.
BEEP
makes short beep sound.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 5.5 version
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.
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.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 5.5 version
New sample program "interactive turtle.txt" will be added to "Graphics" section.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 5.5 version
Beta version is available here: viewtopic.php?f=42&t=1369#p8409
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 5.5 version
Version is published in App Store.