Re: [OT] Any way to do simple texture maps?

2015-06-19 Thread Alejandro Tejada
Hi Geoff, You want to use a LiveCode implementation of Perlin Noise. Look at these two JavaScript examples: http://www.sjeiti.com/perlin-noise-versus-simplex-noise-in-javascript-final-comparison/ Who, in this mail list, could help to translate Javascript code to LiveCode scripts? Al On Wed Jun

Re: Displaying a jpg photo larger than my liveCode window ?

2015-06-19 Thread Brahmanathaswami
Aloha from beautiful Kauai Why can't "grab" server you needs? # put into the script of the image itself # I typically will store this as a custom property and then add it to new images on import or one open card # main dish: on mouseDown grab Me set the cursor to han

Re: Equilateral Triangles

2015-06-19 Thread Mark Wieder
Richard Gaskin writes: > > Mike Bonner wrote: > > > I have a feature request.. Add the points property to regular > > polygons. They don't need to be settable, but then you can > > easily find the centroid of say.. a triangle > > Apparently Mark Wieder was using Jacque's time machine last y

Re: Do new Livecode 8 widgets work on mobile?

2015-06-19 Thread David Bovill
Isn't it crazy that given how easy it is to edit and change / fix LiveCode IDE stacks we are still waiting for the mothership to fix simple errors like this instead of patching them and submitting fixes ourselves? The code is: on mouseUp >answer "What version of XCode do you have installed?"

Re: local variable being reset from outside of script

2015-06-19 Thread Mark Wieder
J. Landman Gay writes: > Could some other control using the same behavior be interfering or > acting as the target? Each control keeps its own set of variable values > and if the focus shifts and triggers a second instance you may be seeing > a report from another object. Just a wild guess. Yo

Re: Do new Livecode 8 widgets work on mobile?

2015-06-19 Thread Dave Kilroy
Sorry I must have given you bad advice - I just installed Xcode 6.3.1 and it didn't work with LC 8 dp1 or dp2 - maybe when LC 8 came out in early April I was using Xcode 6.3.0 - I was also probably running an earlier version of iOS... I think unless we can recreate the same conditions in our devel

Re: local variable being reset from outside of script

2015-06-19 Thread J. Landman Gay
On 6/19/2015 12:13 PM, Dr. Hawkins wrote: >Somehow, between the two checks, pChFld changes from holding an id to >empty. I managed a partial workaround, but there are more disappearing local variables. Could some other control using the same behavior be interfering or acting as the target? E

Re: Displaying a jpg photo larger than my liveCode window ?

2015-06-19 Thread Mike Bonner
Heres an example stack with the working script. Done in 7.0.5. https://dl.dropboxusercontent.com/u/11957935/picdrag.livecode On Fri, Jun 19, 2015 at 7:38 AM, Mike Bonner wrote: > Put the image into a group, size and place the group, then set the lockloc > to true. > > I was going to use mouseMo

Re: Do new Livecode 8 widgets work on mobile?

2015-06-19 Thread David Bovill
No joy. Livecode 8.0 dp1 and Xcode 6.3.1 don't seem to play either? On 19 June 2015 at 13:35, David Bovill wrote: > Thanks - Dave. I'm downloading xcode 6.3.1 now from > https://developer.apple.com/downloads/ > > On 19 June 2015 at 11:52, Dave Kilroy wrote: > >> Back when 8 dp1 came out (and I

Re: local variable being reset from outside of script

2015-06-19 Thread Dr. Hawkins
On Fri, Jun 19, 2015 at 9:02 AM, Dr. Hawkins wrote: > Somehow, between the two checks, pChFld changes from holding an id to > empty. I managed a partial workaround, but there are more disappearing local variables. The partial workaround is to But now it's getting worse: ck is a checkpoint r

[OT] Bought my book? Please confirm your address!

2015-06-19 Thread Mark Schonewille
Hi, This is a message for everyone who has bought or might be interested in purchasing the book Programming Livecode for the Real Beginner. We have had many orders lately and we work hard to ship the books as quickly as possible. Unfortunately, sometimes a shipment gets delayed, because we d

local variable being reset from outside of script

2015-06-19 Thread Dr. Hawkins
In the script of a behavior button for a field, I have a block of *if* pChFld is empty *then* *breakpoint* *end* *if* *palette* chStk *if* pChFld is empty *then* *breakpoint* *end* *if* where pChFld is declared local outside of and before any ha

OT: Free 3D Rendered Art Made Easy (an answer for RE: [OT] Re: Any way to do simple texture maps?)

2015-06-19 Thread Lynn Fredricks
> something like > this (on the right): > > https://upload.wikimedia.org/wikipedia/commons/8/84/Phong-shad > ing-sample.jpg > > At best I'm looking for something like this: > > http://i.ytimg.com/vi/Nn8G0ifQPDE/maxresdefault.jpg It is really easy just to make a sphere in any 3D package (like B

Re: Displaying a jpg photo larger than my liveCode window ?

2015-06-19 Thread Mike Bonner
Put the image into a group, size and place the group, then set the lockloc to true. I was going to use mouseMove for this, but I couldn't get it to behave as I liked, and its too early to figure out why, so I used a send loop instead. Add this code to your group: local sMouseLoc on mouseDown

Displaying a jpg photo larger than my liveCode window ?

2015-06-19 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, I have a tiny problem (otherwise I wouldn’t ask for help) ! I have a stack window of a reasonable size, but I want to display a jpg (or other) file in this window, but it is much larger. I want to be able to “click and slide” on my displayed photo, in much the same way

Re: Do new Livecode 8 widgets work on mobile?

2015-06-19 Thread David Bovill
Thanks - Dave. I'm downloading xcode 6.3.1 now from https://developer.apple.com/downloads/ On 19 June 2015 at 11:52, Dave Kilroy wrote: > Back when 8 dp1 came out (and I had Xcode 6.3.1) I did a quick test and got > widgets working nicely on iOS with no extra work involved - but at the > moment

Re: Do new Livecode 8 widgets work on mobile?

2015-06-19 Thread Dave Kilroy
Back when 8 dp1 came out (and I had Xcode 6.3.1) I did a quick test and got widgets working nicely on iOS with no extra work involved - but at the moment I'm also grounded with LC 8 for iOS and Android (am expecting a dp3 out soon...) Dave - "The difference between genius and stupidity is;

Do new Livecode 8 widgets work on mobile?

2015-06-19 Thread David Bovill
Has anyone tested these on Android and iOS. I'm still not able to test this end - so I'm wanderign if anyone else has managed to get LiveCode 8 widgets on iOS - and if so how :) On 18 June 2015 at 19:17, David Bovill wrote: > Is there a way to add this manually? I'd like to do a test of the new