"Silly" fun for the weekend

2017-07-14 Thread Richmond Mathewson via use-livecode
Anyone who is bored/at a loose end/slightly bonkers can fool around with my "exam" for my kids: http://forums.livecode.com/viewtopic.php?f=22&t=29498&p=155915#p155915 Would be glad of feedback. Richmond. ___ use-livecode mailing list use-livecode@list

intersect . . . invisible images

2017-07-14 Thread Richmond Mathewson via use-livecode
Oh dear, oh dear, oh dear . . . There I am fooling around setting up an "exam" for my "kiddiewinks" when I discovered something quite unsuspected about intersect ; So I have some code that goes something like this: if intersect(img"A",img"B",4) then add 1 to SCORE set the vis of img "B" t

Re: intersect . . . invisible images

2017-07-14 Thread Mark Waddingham via use-livecode
On 2017-07-14 11:20, Richmond Mathewson via use-livecode wrote: Oh dear, oh dear, oh dear . . . There I am fooling around setting up an "exam" for my "kiddiewinks" when I discovered something quite unsuspected about intersect ; So I have some code that goes something like this: if intersect(im

Re: intersect . . . invisible images

2017-07-14 Thread Richmond Mathewson via use-livecode
Thanks, Mark, that is a solution that would work very well. In my solution to the problem I just "parked" the images off-screen once they had been intersected with. HOWEVER . . . at the risk of sound a teeny-weeny bit b*tchy . . . It does seem illogical that while one can set levels of transp

Re: intersect . . . invisible images

2017-07-14 Thread Lagi Pittas via use-livecode
Hi Richmond I would think there could be use cases where that would be useful (hidden monsters, unexploded bombs) I assumed that they left this undocumented feature (bug?) in because the "fix" is so simple but with the other use cases not so simple - or is it? Lagi On 14 July 2017 at 11:01,

LiveCode crashing when I try to make a Mac standalone

2017-07-14 Thread Jonathan Lynch via use-livecode
I have tried this with 8.1.5 rc2, 8.1.5, and 8.1.6 rc1. LiveCode unexpectedly quits while making the standalone. Sometimes it gets far enough for the resulting app to function and sometimes it does not. The resulting app does not appear to have the icon attached. What are some things I should b

Re: intersect . . . invisible images

2017-07-14 Thread Richmond Mathewson via use-livecode
Those invisible images are a bit like hidden monsters; jumping out at unwary programmers! Richmond. On 7/14/17 1:40 pm, Lagi Pittas via use-livecode wrote: Hi Richmond I would think there could be use cases where that would be useful (hidden monsters, unexploded bombs) I assumed that they lef

Re: LiveCode crashing when I try to make a Mac standalone

2017-07-14 Thread panagiotis merakos via use-livecode
Hi Jonathan, You could: 1. Type in the message box: "put true into grevdevelopment" 2. And then "edit the script of stack revsaveasstandalone" 3. Add breakpoints to the command "revSaveAsMacStandalone" 4. Save as standalone 5. The debugger should now stop at the first breakpoint 6. Click the "ste

Re: intersect . . . invisible images

2017-07-14 Thread Mark Waddingham via use-livecode
On 2017-07-14 12:01, Richmond Mathewson via use-livecode wrote: It does seem illogical that while one can set levels of transparency with interset an image can continue intersecting with another when it is, supposedly, invisible . . . Originally intersect only worked on the rects of the objects

RE: Native Livecode Pinch and Zoom

2017-07-14 Thread Ralph DiMola via use-livecode
BR, We got “Pinch-and-zoom” to work by adding a viewport meta-tag into the head of our html files: Hope this helps... Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com

Re: Finding errors in a standalone

2017-07-14 Thread Alex Tweedly via use-livecode
On 14/07/2017 04:40, J. Landman Gay via use-livecode wrote: Being ignorant of almost everything about internet connection details, I've never called tsNetInit. I just include the internet library in my standalone and it works. I'm gussing it initializes itself when the library loads. What h

Re: Finding errors in a standalone

2017-07-14 Thread Alex Tweedly via use-livecode
On 14/07/2017 04:48, Mark Wieder via use-livecode wrote: Well, you already have a license for PowerDebug, which will enable to to debug running standalone apps in the same subnet (include the library when you build, launch the IDE, then launch the app: breakpoints, errors, etc will be caught)

Re: intersect . . . invisible images

2017-07-14 Thread Sannyasin Brahmanathaswami via use-livecode
Indeed, I won't list them but I get at least 5 use cases popping into my head the moment I saw this, where one would want the intersection between 1 object and an invisible object 2: just one: solution to a puzzle could be invisible. as user moves tiles around the intersect would trigger "got

Re: Finding errors in a standalone

2017-07-14 Thread Mark Wieder via use-livecode
On 07/14/2017 07:34 AM, Alex Tweedly via use-livecode wrote: Clicking on the "?" icon just gives me an error message "There was an error executing a script in stack About Powerdebug. No more information is available because the stack is password protected." That's bizarre - it's definitely

Re: intersect . . . invisible images

2017-07-14 Thread J. Landman Gay via use-livecode
I'm not sure why the explanation would be difficult. Existence is different from appearance. Intersect looks for existence at a particular location, visibility is how the object looks. Substitute "blue" for "visible" and it's the same thing. On July 14, 2017 5:03:09 AM Richmond Mathewson via

Re: intersect . . . invisible images

2017-07-14 Thread Mike Bonner via use-livecode
The invisible man still had to worry about opening doors and bumping into things. His shin could intercept painfully with the corner of a coffee table whether visible or not. On Fri, Jul 14, 2017 at 10:19 AM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > I'm not sure

Re: "Silly" fun for the weekend

2017-07-14 Thread Mike Bonner via use-livecode
Heres my take. https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 On Fri, Jul 14, 2017 at 2:45 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Anyone who is bored/at a loose end/slightly bonkers > can fool around with my "exam" for my kids: > > ht

Re: intersect . . . invisible images

2017-07-14 Thread Richmond Mathewson via use-livecode
If intersect looks for existence rather than appearance why does it tale transparency levels into consideration? R. On 7/14/17 7:19 pm, J. Landman Gay via use-livecode wrote: I'm not sure why the explanation would be difficult. Existence is different from appearance. Intersect looks for existe

Re: intersect . . . invisible images

2017-07-14 Thread Richmond Mathewson via use-livecode
I hope his shin does; unless, of course, his transparency level is below a certain threshold. The problem is NOT the invisible man; it's the kid he fathered on a visible woman so we have the 50% visible child, also known as "The situation that H.G.Wells didn't think about too carefully." Thi

Re: intersect . . . invisible images

2017-07-14 Thread Mike Bonner via use-livecode
Hes the invisible man with a multi-phasing skill. Just being invisible doesn't remove him from physical constraints. Add the ability to set a phase state based on transparency level and there ya go. You're welcome. On Fri, Jul 14, 2017 at 11:26 AM, Richmond Mathewson via use-livecode < use-live

Re: "Silly" fun for the weekend

2017-07-14 Thread Richmond Mathewson via use-livecode
Why not post it to the Forum? R. On 7/14/17 8:01 pm, Mike Bonner via use-livecode wrote: Heres my take. https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 On Fri, Jul 14, 2017 at 2:45 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: Anyone who i

Re: intersect . . . invisible images

2017-07-14 Thread Sannyasin Brahmanathaswami via use-livecode
OT: your physical/food body is "intersected" by your pranic, astral, mental and superconscious bodies, all of which are "invisible." Hopefully they fully intersect most of the time unless you are sleeping or actively astral traveling. (Not a good idea for the untrained) but I would change the

Re: "Silly" fun for the weekend

2017-07-14 Thread Richmond Mathewson via use-livecode
You are a lot kinder than me; when my "ant" bashed into a wall I sent it all the way back to the start and took away its points and made the food items reappear. Richmond. On 7/14/17 8:01 pm, Mike Bonner via use-livecode wrote: Heres my take. https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze

Re: intersect . . . invisible images

2017-07-14 Thread Sannyasin Brahmanathaswami via use-livecode
Ha! It not that deterministic: Your blend level is a matter of person evolutionary "work" that you have or have not done to date. Oh.. this metaphor has great edu possibilities. BR On 7/14/17, 7:26 AM, "use-livecode on behalf of Richmond Mathewson via use-livecode" wrote: I hope his

Re: intersect . . . invisible images

2017-07-14 Thread Richmond Mathewson via use-livecode
I'm not sure if all the adherents to the Use-List would accept the existence of the pranic, astral, mental and superconscious bodies as they are empirically unverifiable. LiveCode and object within a LiveCode stack, are, on the other hand 100% empirically verifiable. It might be argued that t

Re: intersect . . . invisible images

2017-07-14 Thread Mark Waddingham via use-livecode
As I attempted to explain (clearly not very well!) intersect uses the transparency of pixels of the object when rendered in isolation to determine what parts of the object should be used to check for intersection. For example, you might have an image which incorporates a mostly transparent drop

Re: intersect . . . invisible images

2017-07-14 Thread Richmond Mathewson via use-livecode
You explained it well enough . . . however some of us (well, 2 of us at least) do love wandering off topic. Richmond. On 7/14/17 9:16 pm, Mark Waddingham via use-livecode wrote: As I attempted to explain (clearly not very well!) intersect uses the transparency of pixels of the object when ren

Re: intersect . . . invisible images

2017-07-14 Thread Sannyasin Brahmanathaswami via use-livecode
Ahh, very helpful to understand that utilization. On 7/14/17, 8:16 AM, "use-livecode on behalf of Mark Waddingham via use-livecode" wrote: For example, you might have an image which incorporates a mostly transparent drop shadow. By choosing an appropriate threshold, the shape which act

Re: intersect . . . invisible images

2017-07-14 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > I'm not sure if all the adherents to the Use-List would accept the > existence of the pranic, astral, mental and superconscious bodies > as they are empirically unverifiable. > > LiveCode and object within a LiveCode stack, are, on the other hand > 100% empirically ver

High Sierra & LC

2017-07-14 Thread Marty Knapp via use-livecode
I just downloaded the latest Mac OS beta - High Sierra and attempted to run 2 different apps that were built with LC 6.6.5. When I tried to print from each, they both crashed before the system print dialog appeared. They both function fine running on Sierra. Has anyone done any testing with the

Re: intersect . . . invisible images

2017-07-14 Thread J. Landman Gay via use-livecode
On 7/14/17 12:22 PM, Richmond Mathewson via use-livecode wrote: If intersect looks for existence rather than appearance why does it tale transparency levels into consideration? That just exchanges the dimensions of the object rectangle for the position of its "visible" outline. It is still che

Re: High Sierra & LC

2017-07-14 Thread Tore Nilsen via use-livecode
I can not start any version of LC in beta 3 of High Sierra. In beta 1 and 2 LC hung when I tried to access the color palette. Regards Tore Nilsen > 14. jul. 2017 kl. 20:46 skrev Marty Knapp via use-livecode > : > > I just downloaded the latest Mac OS beta - High Sierra and attempted to run 2

Re: High Sierra & LC

2017-07-14 Thread Colin Holgate via use-livecode
7.1.4 is intermittent, sometimes it opens fine. 8.1.4 and 8.1.5 have issues if they are set to open in 32 bit. 9.0.0 seems fine. Downloading 8.1.6 now to see how that does. > On Jul 14, 2017, at 11:46 AM, Marty Knapp via use-livecode > wrote: > > I just downloaded the latest Mac OS beta - H

Re: intersect . . . invisible images

2017-07-14 Thread Sannyasin Brahmanathaswami via use-livecode
LOL. OK way OT now.. (Richmond I have a long way to go to catch up to you on OT…) the so-called "100% empirical" is such a bogus idea in the first place, as many a modern brain scientist will tell you. And we know some of the top "empirically trained" guys. What measurements, by whom and under w

Re: "Silly" fun for the weekend

2017-07-14 Thread Sannyasin Brahmanathaswami via use-livecode
I'm not bored or at loose ends.. but looking for game models, this 60+ couldn't stop. got all 7 raisins, out in 349 secs… you could speed it up a lot! How would we (how do "they") implement the movement of a player on screen (in this case, the ant) on mobile? Silly fun was in fact addictive.

Re: "Silly" fun for the weekend

2017-07-14 Thread Dr. Hawkins via use-livecode
On Fri, Jul 14, 2017 at 10:59 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > You are a lot kinder than me; when my "ant" bashed into a wall > I sent it all the way back to the start and took away its points > and made the food items reappear. > > I've somehow man

Re: "Silly" fun for the weekend

2017-07-14 Thread Mike Bonner via use-livecode
A standard on mobile for this sort of thing seems to be a simulated d-pad type control. Though using the accelerometers isn't difficult and could make it a real challenge when trying not to touch walls. (perhaps change things so that wall touches are ok, but there are holes to avoid like a marble

Re: "Silly" fun for the weekend

2017-07-14 Thread Richmond Mathewson via use-livecode
Please do feel free to use this, I'm glad that it might be slightly more use than just an end of quickie summer course test. Best, Richmond. On 7/14/17 10:35 pm, Sannyasin Brahmanathaswami via use-livecode wrote: I'm not bored or at loose ends.. but looking for game models, this 60+ couldn't

Re: "Silly" fun for the weekend

2017-07-14 Thread J. Landman Gay via use-livecode
On 7/14/17 2:59 PM, Mike Bonner via use-livecode wrote: A standard on mobile for this sort of thing seems to be a simulated d-pad type control. Though using the accelerometers isn't difficult and could make it a real challenge when trying not to touch walls. I've also seen mobile games where j

Re: Finding errors in a standalone

2017-07-14 Thread J. Landman Gay via use-livecode
On 7/14/17 9:31 AM, Alex Tweedly via use-livecode wrote: I guess the *real* question is not about tsNet - it is what info *should* I get when some failure happens. The result contains any LC errors, and apparently there were none. The "it" variable contains whatever is returned by the server.

Re: intersect . . . invisible images

2017-07-14 Thread Stephen Barncard via use-livecode
And of course, this dovetails nicely into Jacque's disappearing socks theory. Lol on this wonderful thread. I love you guys. On Fri, Jul 14, 2017 at 12:08 Sannyasin Brahmanathaswami via use-livecode < use-livecode@lists.runrev.com> wrote: > LOL. OK way OT now.. (Richmond I have a long way to

Re: High Sierra & LC

2017-07-14 Thread Tore Nilsen via use-livecode
9.0 db 8 and 8.14 and 8.15 opens fine in 64 bit mode, trying to set any color via the color palette crashes any of these versions of LC. Tore > 14. jul. 2017 kl. 20:56 skrev Colin Holgate via use-livecode > : > > 7.1.4 is intermittent, sometimes it opens fine. 8.1.4 and 8.1.5 have issues > if

postgres table query not getting all names

2017-07-14 Thread Dr. Hawkins via use-livecode
Sometime ago, I wrote my own getTableNames() because revDatabaseTableNames() would consistently fail to find them all. Now, it to is filing. It is, in essence, *put* "SELECT table_name FROM information_schema.tables ;" \ & cr into dcmd *put* revDataFromQuery(,cr,db,dcmd) into tabList *return

Re: High Sierra & LC

2017-07-14 Thread Marty Knapp via use-livecode
With the release of High Sierra scheduled for this Fall (Sept/Oct?), it would be nice to hear from the mother ship what is happening with this. If no version of LC will produce an app that will run reliably on it, I would think there would be more concern? Marty 9.0 db 8 and 8.14 and 8.15 ope

Re: High Sierra & LC

2017-07-14 Thread Bob Sneidar via use-livecode
I'm sure they are on it. Bob S > On Jul 14, 2017, at 15:49 , Marty Knapp via use-livecode > wrote: > > With the release of High Sierra scheduled for this Fall (Sept/Oct?), it would > be nice to hear from the mother ship what is happening with this. If no > version of LC will produce an app

Re: High Sierra & LC

2017-07-14 Thread Tore Nilsen via use-livecode
At this stage in the development of High Sierra I guess it is hard to tell whether or not difficulties in using LC or apps created with LC is caused by bugs in the OS or incompatibilities in LC. I think their policy is to address any incompatibilities in LC once the OS is out of beta. Tore > 1

Re: High Sierra & LC

2017-07-14 Thread Bob Sneidar via use-livecode
Apparently the big thing they are doing is they are updating the file system. Bob S > On Jul 14, 2017, at 15:54 , Tore Nilsen via use-livecode > wrote: > > At this stage in the development of High Sierra I guess it is hard to tell > whether or not difficulties in using LC or apps created wi

Re: postgres table query not getting all names

2017-07-14 Thread Mark Wieder via use-livecode
On 07/14/2017 03:48 PM, Dr. Hawkins via use-livecode wrote: Sometime ago, I wrote my own getTableNames() because revDatabaseTableNames() would consistently fail to find them all. Now, it to is filing. It is, in essence, *put* "SELECT table_name FROM information_schema.tables ;" \ & cr into d

Re: High Sierra & LC

2017-07-14 Thread Colin Holgate via use-livecode
I’m seeing the current issues without having gone to APFS. I did do that for the first beta, but it had some very bad things about it, and after I had to wipe my drive and recover files I decided to not go back to it yet. It shouldn’t really affect whether apps work correctly. > On Jul 14, 2017

Re: Finding errors in a standalone

2017-07-14 Thread Alex Tweedly via use-livecode
I guess I asked that question rather badly. I didn't mean "what info should I get from tsNetInit ?" I meant "what info should I get when a standalone app crashes" ? All I'm getting now is this empty dialog box that says "execution error" and has no further info. Well, it turns out I finally

Correct img format for browser widget.

2017-07-14 Thread james--- via use-livecode
Can someone tell me the correct format for an image src tag to use with the browser widget? I have a folder of HTML and an associated folder of images yet I am unable to get the images to show. They are .png. I have tried Src = "full path to image" Src = "relative path to image" Src ="file://ful

Re: "Silly" fun for the weekend

2017-07-14 Thread Sannyasin Brahmanathaswami via use-livecode
1) We just dress up the screen with some incredible artwork (of which we have tons) 2) instead of picking up food, you hit on "surprises" which make a sound or say something and then give you a teaser question like What is the difference between "empirical" and "metaphysical" __ 1) none

Re: "Silly" fun for the weekend

2017-07-14 Thread Sannyasin Brahmanathaswami via use-livecode
confirmed, I just re-downloaded again Monument Valley 1, that's exactly how they make "little alice" (or whatever her name is) move around the castle walkways. tap and she goes there (if she can) So I guess the algorithm would be 1) when you tap on a place on the maze that in fact the little gi

Re: "Silly" fun for the weekend

2017-07-14 Thread Mark Wieder via use-livecode
On 07/14/2017 06:53 PM, Sannyasin Brahmanathaswami via use-livecode wrote: Monument Valley just released their latest. But not for Android yet. ...damn you, Apple... -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@

Re: "Silly" fun for the weekend

2017-07-14 Thread Scott Rossi via use-livecode
Mark, Monument Valley isn’t Apple, it's Ustwo Games. Blame them :-) If MV2 isn’t in the Play Store yet, have you gotten ahold of the add-ons for MV1? Forgotten Shores and Ida’s (RED) Dream? Definitely worth purchasing, IMO. Generally, people seem to be complaining that the challenge in the new

Re: intersect . . . invisible images

2017-07-14 Thread J. Landman Gay via use-livecode
On 7/14/17 4:28 PM, Stephen Barncard via use-livecode wrote: And of course, this dovetails nicely into Jacque's disappearing socks theory. I lost a sock about six years ago and it still hasn't shown up. I've kept the single remaining one of the pair in hopes that the missing one would hone

Re: "Silly" fun for the weekend

2017-07-14 Thread J. Landman Gay via use-livecode
Got you beat, 319 seconds. Richmond, you need to set the navigationArrows to false (and hopefully back to the user setting after the game.) I had other stacks open and the up arrow key kept popping them to the front. That caused script errors about how it couldn't find object "ant". Even so,