Search found 4114 matches

by bn
Thu Oct 30, 2025 10:30 am
Forum: Feature Proposals
Topic: full text justification
Replies: 16
Views: 22484

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: 625

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: 625

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: 625

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: 625

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: 771

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: 387

Re: Cancel Command Demonstration

Mike,

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

Kind regards
Bernd
by bn
Thu Oct 23, 2025 10:18 pm
Forum: Talking LiveCode
Topic: A messageDigest Function Demo
Replies: 1
Views: 474

Re: A messageDigest Function Demo

Mike,

Thank you for this very comprehensive stack for a tricky topic.
I learned a lot.

Kind regards
Bernd
by bn
Fri Oct 10, 2025 11:39 am
Forum: Made With LiveCode
Topic: A Procedural Graphics System
Replies: 6
Views: 3428

Re: A Procedural Graphics System

Mike, In case you have used the debugger while developing your stack it might have happened that the debugger had a very long "hang". This is a long standing bug in the treeview widget used by the debugger which is triggered by non printable characters in imageData. There is a bug report in Quality ...
by bn
Thu Oct 09, 2025 10:21 pm
Forum: Made With LiveCode
Topic: A Procedural Graphics System
Replies: 6
Views: 3428

Re: A Procedural Graphics System

[bn...Thanks, I will review and incorporate your speed up recommendations in the next phase] -Mike Hi Mike, The 1.4 version is very impressive, thank you very much. I worked a bit on the code for "Linear Gradients" and made a couple of additional changes which superseeds the code suggestions I made...
by bn
Wed Oct 01, 2025 6:50 pm
Forum: Made With LiveCode
Topic: A Procedural Graphics System
Replies: 6
Views: 3428

Re: A Procedural Graphics System

The attached version 1.2.0 of the Procedural Graphics System adds some noise generators. These are fairly slow generators in an 800 x 800 pixel image, but not too bad. Mike, Firstly thank you for this elaborate and well written stack. I took the liberty to change some code in your version 1.2.0 to ...
by bn
Sat Sep 27, 2025 10:43 am
Forum: Games
Topic: A Particle FX Engine for LiveCode
Replies: 4
Views: 2412

Re: A Particle FX Engine for LiveCode

Thanks for this stack. It works very well.

As an aside I noticed that when I set the acceleratedRendering to "false" it runs smoother than when it is set to "true".
But that was always true for me and I never got anything "accelerated" when doing animations.

Kind regards
Bernd
by bn
Wed Sep 10, 2025 9:10 pm
Forum: Off-Topic
Topic: Issues in clearing properties
Replies: 4
Views: 1342

Re: Issues in clearing properties

Anyway, see the dictionary for the tools you need. To bulldoze all of them: set the customKeys of stack "yourStack" to "" The screenshot refers to group "dg_ControlName". That could be a part of a dataGrid. Setting the customproperties of the stack to empty will not help then. But I do not know eno...
by bn
Mon Sep 01, 2025 2:53 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 132618

Re: cutting irregular pieces from image for puzzle game

Here are two stacks to 1. create image masks in the shape of a puzzle piece (actually 64 of them) stack "VariableImageMasks" 2. A stack that uses these masks to make puzzle pieces from an image using those masks stack "CreatePuzzleVariableSize". Please feel free to indicate errors or suggestions for...
by bn
Mon Sep 01, 2025 9:07 am
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 132618

Re: cutting irregular pieces from image for puzzle game

Hi rcmills, I do not know if you are still working on your Puzzle. I made a version for puzzle pieces that lets you create them at different sizes. I removed the hardcoded values for the puzzle pieces and replaced them with variables. The mask pieces now have the necessary information as custom prop...