Search found 4102 matches

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

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

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

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...
by bn
Tue Aug 19, 2025 10:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Comparing scripts
Replies: 4
Views: 1945

Re: Comparing scripts

Hi, I made a stack to compare versions of a script. It uses diffCompare and is not polished since it is mostly for private use. It lists the diffences in gitHub style, clicking on a "difference" hilites the difference and scrolls them into view. You can paste the scripts into the fields or load two ...
by bn
Tue Aug 19, 2025 9:52 am
Forum: Talking LiveCode
Topic: The end of XTalk / LiveCode for me
Replies: 42
Views: 22312

Re: The end of XTalk / LiveCode for me

In LiveCode I had a list of notes titles, and clicking a title called up the note data in the right-hand pane. To associate a note title with its note data, I had to maintain a separate index of note IDs, and whenever I reordered the note titles, I'd have to reorder the separate index. With HTML, t...
by bn
Mon Aug 11, 2025 8:56 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Freeing Memory
Replies: 9
Views: 8181

Re: Freeing Memory

There are some reports of memory not being freed when printing to PDF and it looks like it is currently being looked at (awaiting test):

https://quality.livecode.com/show_bug.cgi?id=23088

Scroll to the bottom of the lenghty bug reports.

KInd regards
Bernd
by bn
Thu Aug 07, 2025 5:45 pm
Forum: LiveCode Builder
Topic: Parsing error on last line of LCB file
Replies: 2
Views: 2871

Re: Parsing error on last line of LCB file

Hi Trevix,

I can provoke that error when I omit

Code: Select all

end widget
as the last line.

Could that be the case for you? That is just a guess.

Or maybe another handler without end handler?

Kind regards
Bernd
by bn
Mon Aug 04, 2025 9:33 am
Forum: Games
Topic: Flipper II 2025 Game
Replies: 6
Views: 4446

Re: Flipper II 2025 Game

Hi Mike,

Thanks for this game, it is new to me and It is fun to play.

Kind regards
Bernd
by bn
Sat Aug 02, 2025 10:55 am
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 87272

Re: cutting irregular pieces from image for puzzle game

One thing I have learned in the past day is that in LC 10.0.2 the mobilePickPhoto "library" function no longer works properly in iOS. I use it to pick photos from my iPhone library to use in creating the puzzles. I reverted to compiling with 9.6.10, and it worked fine. Has anyone else noticed this,...
by bn
Mon Jul 28, 2025 9:10 am
Forum: LiveCode Builder
Topic: Log LCB to Console.app or OSX terminal
Replies: 3
Views: 4960

Re: Log LCB to Console.app or OSX terminal

Hi Trevix, I never used "log" in iOS or any other app, only in the IDE when debugging LCB widgets using the "Extension Builder". Sorry to be of no help here. I just looked at the LCB-dictionary for "log" as well as in the LCS-dictionary for "log" and had the impression that the LCS "log" had the abi...
by bn
Mon Jul 28, 2025 7:41 am
Forum: LiveCode Builder
Topic: Log LCB to Console.app or OSX terminal
Replies: 3
Views: 4960

Re: Log LCB to Console.app or OSX terminal

Hi Trevix,

I used "log" while debugging LCB scripts with the built in display of LC when debugging and it displays the values in the debugger window of LC.
But looking at the dictionary for LCB it seems that you can "log" to console too.
But may be I am wrong.

Kind regards
Bernd
by bn
Fri Jul 25, 2025 9:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Marquee Controls in Browse Mode?
Replies: 1
Views: 5275

Re: Marquee Controls in Browse Mode?

Hi Jon, I made a stack that does what I think you want. The script is in the group "myGroup" and the group needs something (in this case a graphic "grcBack") to catch mouseDown etc. as the lowest (first) layer of the group. Click in the group and move the mouse to select controls, on mouseUp the sel...
by bn
Wed Jul 23, 2025 7:34 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 87272

Re: cutting irregular pieces from image for puzzle game

Hi rcmills, In trying to do a puzzle I noticed that it is at times hard to place the puzzle pieces exactly where they belong using the mouse. I thought it would be a nice option to move the puzzle pieces and make them "magnetic". By that I mean that if you come to within 2 pixel of the correct posit...
by bn
Tue Jul 22, 2025 3:37 pm
Forum: Talking LiveCode
Topic: LiveCode Create - Trial or Evaluation Access
Replies: 5
Views: 4881

Re: LiveCode Create - Trial or Evaluation Access

Hi Andrew,

I think Livecode Headquarters can answer that question.
Why don't you just write to Support?

Kind regards
Bernd
by bn
Wed Jul 16, 2025 8:55 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 87272

Re: cutting irregular pieces from image for puzzle game

I made a script that arranges the Puzzle Pieces in correct order and position. Consider it a "cheat" script or a final arrangement script since manual placement of puzzle pieces is difficult. on mouseUp local tMaxColNum, tMaxRowNum, tNumPieces local tCollect, tShortImgName, tExpectedNumPieces, tStar...