Atari is apparently producing a gizmo they call the "Atari VCS", which they're
positioning primarily as a video game console. However! According to an email I
just got from them, this beast has what they're calling "Atari sandbox mode
(install any OS)", and they claim "If you want to develop jus
On 7.04.20 22:24, Roger Guay via use-livecode wrote:
> Hi all,
>
> I know there must be a simple way to do this but it is escaping me at the
> moment. How can I move an object (grab me on mouseDown) and have it snap to a
> grid (square on a board game) on mouseUp?
There are any number of ways to
sez Bob Sneidar :>Apparently nothing is a real.
Neither is anything strictly a real.
[singing] "Let me take you down, 'coz I'm going to Strawberry Fields…"
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe,
While Bob Sneidar's function should do the job of scrubbing weird characters
from text, am unsure why he felt the need to construct that massive pCustomList
variable. Seems to me that it would be simpler, and perhaps quicker, to do this
instead:
function cleanASCII2 DerASCII put "" into DerRezu
Just saw an improvement in my code that *should* make it happy to work with
Unicode characters…
local OkayChars = ""
function CleanASCII3 DerText if OkayChars = "" then -- construct OkayChars
string as needed repeat with K1 = 32 to 126 put numToChar (K1) after
OkayChars end repeat
In case anybody actually was curious to know how to type an infinity symbol: On
a Mac, the keystroke is option-5.
Also on the Mac, there's a cute thingie called "Keyboard Viewer" which does
what it says on the label. KV displays your entire keyboard, *and* it shows you
the complete set of charac
sez J. Landman Gay:> I am converting an old stack to LC and it needs to sort
cards by one of two fields. LC does
> stable sorts, so if I sort by field 1 it works, and then if I sort later by
>field 2 it retains
> the original sort and does a sub-sort. I don't want that. What's the best way
>to
So… a Boggle game. Hm. Seems to me that anything you can do to reduce the
number of words you need consider at any given time would be a win. Maybe not a
*big* win, but still a win. So perhaps give this idea a shot:
When you create a new board:
-- Make a list of all the letters which *are not*
sez j. landman gay:
> Interesting idea. There are 25 letters on each board, some are always
> repeats. I think I'd need
> a good regex so I wouldn't have to run the filter command multiple times.
> How's your regex?
I see you've already implemented something, but just for grins, here's my
thou
sez Alex Tweedly:> The caveat - a user guess which isn't in the word list found
by the > boardwalk can be either "not a word" or "a word, but not present on
the
> board", and you don't know which.
Does it *matter* whether a genuine word isn't on the board? If the board has no
"L" in it, any wor
It occurs to me that any word which is valid in Boggle must consist of an
uninterrupted run of letters which are *right next to each other* on the board.
Hence, any digraph which *doesn't* consist of a pair of neighboring letters,
*cannot* occur in any valid word.
Since the "filter out all words
From: Richard Gaskin
> When I was making a game for a friend last summer I fell in love with
> the Royal Game of Ur (RGoU)…> The dice used in RGoU are binary in range,
>tetrahedra with the faces
> blank and two of the four points painted.
> …> If you ever need to plot dice probabilities, this t
Cross-platform font compatibility is a hellacious rat's nest of mismatches. It
may or may not be worse than handling time (Daylight Savings Time? leap years?
leap *seconds*? etc, ad nauseum), but it's plenty bad enough on its own merits,
or lack thereof.
* You can't be 100% confident that your u
sez Richard Gaskin:
> So help me understand: what are you working on where a user expects >
> fine-grained font rendering consistency on multiple OSes? What do these >
> apps do?> > Do your users switch OSes during a session, or work on Windows by
> day > and Mac at night? How many also use Lin
Have just started a googlemap with markers for various points of interest in
the general vicinity of the Conference. Right now it's just a bunch of
restaurants, some of which also serve alcohol. Will add more markers as time
permits.
https://drive.google.com/open?id=10NeWvnKoVmOnoXFP_68Jzjuvr-s
Suggestion for the language-token for this function: "transplant".
transplant [qualification] from [SourceArray] to [TargetArray]
[qualification] is a pattern/expression which describes exactly which bits you
want to move from SourceArray to TargetArray.
If TargetArray doesn't exist, it should
Have pondered the question, and come up with some code which may or may not
solve the problem at hand, but which may at least prove helpful in looking for
a real solution:
==
Assumption: You’ve got a text document (not HTML, not RTF, just plain TXT)
which contains, amon
> From: Richard Gaskin
>> J. Landman Gay wrote:
>>
>> On December 27, 2018 2:36:16 PM Richard Gaskin via use-livecode
>> wrote:
>>>
>>> Sounds like one more reason to allow stack properties as YAML
>>> frontmatter in the file. Ever since I suggested that a couple
>>> years back, the range of valu
In the past few List digests, there's been some discussion of practical issues
regarding when a click does or doesn't count as clicking *on* a particular
item. So, here's a proposed addition to LiveCode…
=
Name: clickableRegion
Recognized abbreviation: clickReg
"clickableRegion" i
sez hh :
To: use-livecode@lists.runrev.com
> How would you determine that a clickLoc is within such a
> "region" or not?
> (Say, for simplicity, the region is inside the control's
> rectangle)
Given that the engine *already does* have *some* sort of mechanism for
determining which control gets tr
sez “J. Landman Gay" :
> The original issue that influenced this one was how to provide a larger hit
> zone on an SVG widget. How would this property work for that?
I’m thinking that a single line of code would suffice:
set the clickableRegion of widget “Fred” to ListOfPoints
As i’ve noted previ
sez hh :
> > > JLG wrote:
> > > The original issue that influenced this one was how to provide a
> > > larger hit zone on an SVG widget.
> > > How would this property work for that?
>
> > Quentin L. wrote:
> > I?m thinking that a single line of code would suffice:
> >
> > set the clickableRegion o
sez J. Landman Gay:
> On 1/4/17 4:05 PM, Bob Sneidar wrote:
> > I feel so stupid. But I must confess I screwed up.
> You did the right thing posting here. I have a client who runs into
> problems all the time, so we schedule a Skype session where I can see
> what's going wrong. Invariably, as soo
Suggestion for RM to try: Don't fuss about non-integer points—do all the
necessary calculations "under the hood", and just let point-coördinates be
assigned the resulting non-integer numbers as needed. With any luck, LC will
make this "just work" on your screen.
"Bewitched" + "Charlie's Ang
> > On Feb 28, 2017, at 07:14 , Sannyasin Brahmanathaswami via use-livecode
> > wrote:
> > an image is an image is an image, whether it is png, bitmap, jpg or svg,
> > the fact that is is a "widget" is secondary to the use case.
>
> sez Bob Sneidar :
> au contraire. Not all images are the same.
sez Tim Selander :
> I miss the Zynga "Pathwords" game on Facebook, so for my own
> amusement I'm trying to recreate it in Livecode.
>
> For those who don't know the game, it had a solid screenful of
> Scrabble-like lettered tiles. Click and drag the mouse through
> adjacent letters to make wor
Message: 13
Date: Tue, 21 Mar 2017 14:58:02 +
sez Bob Sneidar
> > On Mar 21, 2017, at 04:11 , Klaus major-k via use-livecode
> > wrote:
> >
> > "numtochar" and "chartonum" have been deprecated since version 7.x of
> > Liveocde!
> > So please try again with "NumtoNativeChar" and maybe also
I have a return-delimited list. Each line of this list consists of [some text]
& tab & [other text]. I want to see all the lines of the list for which [some
text] contains Character String X. This is obviously a job for the filter
command, right? So I try this:
filter lines of MyList with ("*"
First off, thanks to Alan Stenhouse for zeroing in on my filter-related
mistake. Any number fo people *could* have done so, but it was Alan who
actually did the deed. So, yay Alan!
Second: I discovered something odd as a result of another mistake I made. My
mistake:
ask file "What do you want
sez "Tiemo Hollmann TB" :
To: "LiveCode User Liste senden"
> I have a list field of words and a correspondent array with the words of the
> field as the keys plus some data per key. I can store the array in a file,
> read it later from file and rebuild the list of words from the keys of the
> arra
sez "J. Landman Gay" :
| On 5/23/17 10:36 AM, Matt Maier via use-livecode wrote:
| > I want to find out which parts of my code are making changes to a control's
| > parameter. Specifically, I've got an arrow that I want to be black, and it
| > is black when it's created, but then it turns gray. I c
My 2 cents' worth: Rather than "clipsToRect", call the property "visibleRect".
Because that's what it is—it's the rectangular area of the screen, within which
the specified portion of the group is visible.
"Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length"
Read the webcomic
The obvious method for generating the points of an oval—use a loop that
generates sin(x) & cos(x) coördinate-pairs—has already been mentioned. What's
*not* so obvious, is that the points generated by that method are not evenly
spaced! Not unless you're working with a perfect circle, anyway. For
Hmmm… Seems like this library is intended for a summat limited subset of
graph-styles. There are pie charts, radar charts, etc ad nauseum, and it's not
clear to me how this library caan cope with any of those "non-standard" types
of graph. As well, it's unclear to me how this library will deal w
Quentin Long here. As luck would have it, I'm going to be singing in a concert
on the Friday after the LiveCode Conference. I have no idea how many LCC
attendees will still be in the Bay Area on Friday, but for the benefit of those
who are:
The program: Ein deutsches Requiem, by Brahms
The time:
sez Sean Cole (Pi):>I've just been teaching my youngest about the 4th - nth
dimensions. Time is
>not the 4th but the 1st temporal dimension. If the 3 spatial dimensions are
>Length, height and width then the 4th is depth, ie, going inwards and
>outwards as the easiest way to picture it (but not tr
> Date: Tue, 12 Nov 2019 12:12:47 -0500
> From: Stephen MacLean
> To: How to use LiveCode
> Subject: Identifying Un-used functions and commands
> Message-ID:
> Content-Type: text/plain; charset=utf-8
>
> Hi All,
>
> I?m wondering if anyone has a way or code to identify any un-used functions
>
I strongly suspect that the desired goal, to have a nice, robust algorithm
which automagically identifies the encoding of *ABSOLUTELY ANY* text document
with zero need for human involvement, simply isn't possible. Because text
encoding is intrinsically arbitrary—see also: the many variations on
38 matches
Mail list logo