5.5 version

Post Reply
User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

5.5 version

Post 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.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.5 version

Post by Mr. Kibernetik »

New sample program "flying turtle.txt" will be added to "Graphics" section.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.5 version

Post by Mr. Kibernetik »

BUTTON_PRESSED() function will indicate touch of a button instead of release of a button.

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: 5.5 version

Post 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 :?:

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.5 version

Post 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.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.5 version

Post by Mr. Kibernetik »

New misc command will be added:

BEEP
makes short beep sound.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.5 version

Post 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.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.5 version

Post by Mr. Kibernetik »

New sample program "interactive turtle.txt" will be added to "Graphics" section.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.5 version

Post by Mr. Kibernetik »

Beta version is available here: viewtopic.php?f=42&t=1369#p8409

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.5 version

Post by Mr. Kibernetik »

Version is published in App Store.

Post Reply