Search found 4122 matches

by bn
Tue Nov 25, 2025 11:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Alphabeticising a word list?
Replies: 34
Views: 1379

Re: Alphabeticising a word list?

Here is a version for custom sort that lets you define the alphabet used and which letters take precedence when sorting. It sorts not only the first letter but sorts all letters of a word according to the preferences. Could not test it with old slavonic since I have not access to an old slavonic alp...
by bn
Sun Nov 23, 2025 3:06 pm
Forum: Made With LiveCode
Topic: A Soroban Abacus Demo
Replies: 1
Views: 437

Re: A Soroban Abacus Demo

Mike,

Thank you. I finally understand what abacus things do.

Kind reagards
Bernd
by bn
Sat Nov 22, 2025 10:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Alphabeticising a word list?
Replies: 34
Views: 1379

Re: Alphabeticising a word list?

I suspect that it's going to be something Richmond is trying to generalise for multiple alphabets. sort international might work for many situations but it uses the system locale Devanagari was just an example. The point I was trying to make is that it says that "text" type of sort (implicitely the...
by bn
Fri Nov 21, 2025 10:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Alphabeticising a word list?
Replies: 34
Views: 1379

Re: Alphabeticising a word list?

Richmond, from the dictionary entry for sort container: Name: sortType Type: enum Description: If you don't specify a sortType, the sortType is text. • international: sorts by collation according to the system locale • numeric: sorts by number. (Use this form if the sortKey consists of numbers) • da...
by bn
Wed Nov 12, 2025 9:34 am
Forum: Talking LiveCode
Topic: Slot Machine emulation
Replies: 22
Views: 17086

Re: Slot Machine emulation

Thanks Mike, The main trick is to double the number of referenced images in the fields. That way you can simulate a endless scrolling by setting the scroll of the field to show the appropriate image. Also I like the idea of a game loop: all scrollers register with the game loop and the loop triggers...
by bn
Tue Nov 11, 2025 8:16 pm
Forum: Talking LiveCode
Topic: Slot Machine emulation
Replies: 22
Views: 17086

Re: Slot Machine emulation

Hi, Here is something similar to a slot machine I made many years ago. It uses a game loop for animating three scrolling fields. It has a lot of eye candy and features. I had to provide images in 2 zipped folders because of size restrictions. The images are just test images. Put them into 1 folder a...
by bn
Mon Nov 03, 2025 8:52 pm
Forum: Made With LiveCode
Topic: A Procedural Graphics System
Replies: 10
Views: 6609

Re: A Procedural Graphics System

Hi Mike, My apologies for my last stack with revised handlers. The handler for radial gradient was not in the button... (blush) The handler for conical gradient was for a prior versin of the Procedural Graphics System. Now it is adapted to v 1.5.2 (blush) The handler for invert colors was failing on...
by bn
Sun Nov 02, 2025 9:02 pm
Forum: Made With LiveCode
Topic: A Procedural Graphics System
Replies: 10
Views: 6609

Re: A Procedural Graphics System

Mike, unfortunately the handler for "Linear Graphic (Angled)" is missing. Here are my versions based on your versions for the other scripts I have been working on. And a script to invert colors that is extremely fast, just for your interest. Here I was inspired by your Truchet tiles: https://forums....
by bn
Thu Oct 30, 2025 10:30 am
Forum: Feature Proposals
Topic: full text justification
Replies: 17
Views: 29543

Re: full text justification

Mike,

Thank you for posting this.
You might want to have a look at:
viewtopic.php?f=4&t=20513

Kind regards
Bernd
by bn
Wed Oct 29, 2025 6:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to save a graphic on a card using paint tools
Replies: 21
Views: 4075

Re: How to save a graphic on a card using paint tools

Hi Martin,

I am glad it works for you.
I'm trying to understand what is really happening.
There is nothing really to understand here except that you hit a bug in LC that is now fixed.

Kind regards
Bernd
by bn
Tue Oct 28, 2025 11:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to save a graphic on a card using paint tools
Replies: 21
Views: 4075

Re: How to save a graphic on a card using paint tools

I do not understand. If I paint a line on a new card, it is true that the rect of the "image" of that line fills the card window. Save that stack. It is lost if I close and reopen. An imported image, however, allows the paint to survive if that paint lies within the rect of that image. What am I mi...
by bn
Tue Oct 28, 2025 8:49 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to save a graphic on a card using paint tools
Replies: 21
Views: 4075

Re: How to save a graphic on a card using paint tools

Bernd. Could you try to create an image object of the size and location you want first and then do your drawing- Why would that be of any use, even if it worked? The whole point of paint tools, awkward as they are, is lost if you have to prep them with an image. In that case, what do you need to pa...
by bn
Tue Oct 28, 2025 7:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to save a graphic on a card using paint tools
Replies: 21
Views: 4075

Re: How to save a graphic on a card using paint tools

Martin, I think you run afoul of an LC bug that if you use the paint tools and you do not explicitly create an image object where you "paint" then LC creates an image object for you but the problem is that that image is not "stable". Could you try to create an image object of the size and location y...
by bn
Thu Oct 23, 2025 10:59 pm
Forum: Talking LiveCode
Topic: Truchet Pattern Generator
Replies: 9
Views: 1904

Truchet Pattern Generator

Hi, Michael Roberts, "Mike" did a wonderful stack for a Procedural Graphics System. https://forums.livecode.com/viewtopic.php?f=143&t=39878&p=235242#p235195 A part of it is creating patterns and one of them is "Truchet Tiles". I did not know Truchet tiles and I tried this and it creates intersting p...
by bn
Thu Oct 23, 2025 10:41 pm
Forum: Talking LiveCode
Topic: Cancel Command Demonstration
Replies: 1
Views: 1129

Re: Cancel Command Demonstration

Mike,

Thank you for another thourougly made and very instructive stack explaining an important concept of Livecode.

Kind regards
Bernd