Search found 4099 matches
- Tue Aug 19, 2025 10:07 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Comparing scripts
- Replies: 4
- Views: 377
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 ...
- Tue Aug 19, 2025 9:52 am
- Forum: Talking LiveCode
- Topic: The end of XTalk / LiveCode for me
- Replies: 30
- Views: 8085
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...
- Mon Aug 11, 2025 8:56 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Freeing Memory
- Replies: 9
- Views: 2975
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
https://quality.livecode.com/show_bug.cgi?id=23088
Scroll to the bottom of the lenghty bug reports.
KInd regards
Bernd
- Thu Aug 07, 2025 5:45 pm
- Forum: LiveCode Builder
- Topic: Parsing error on last line of LCB file
- Replies: 2
- Views: 1344
Re: Parsing error on last line of LCB file
Hi Trevix,
I can provoke that error when I omit
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
I can provoke that error when I omit
Code: Select all
end widget
Could that be the case for you? That is just a guess.
Or maybe another handler without end handler?
Kind regards
Bernd
- Mon Aug 04, 2025 9:33 am
- Forum: Games
- Topic: Flipper II 2025 Game
- Replies: 6
- Views: 2720
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
Thanks for this game, it is new to me and It is fun to play.
Kind regards
Bernd
- Sat Aug 02, 2025 10:55 am
- Forum: Games
- Topic: cutting irregular pieces from image for puzzle game
- Replies: 67
- Views: 71678
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,...
- Mon Jul 28, 2025 9:10 am
- Forum: LiveCode Builder
- Topic: Log LCB to Console.app or OSX terminal
- Replies: 3
- Views: 3232
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...
- Mon Jul 28, 2025 7:41 am
- Forum: LiveCode Builder
- Topic: Log LCB to Console.app or OSX terminal
- Replies: 3
- Views: 3232
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
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
- Fri Jul 25, 2025 9:04 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Marquee Controls in Browse Mode?
- Replies: 2
- Views: 4134
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...
- Wed Jul 23, 2025 7:34 pm
- Forum: Games
- Topic: cutting irregular pieces from image for puzzle game
- Replies: 67
- Views: 71678
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...
- Tue Jul 22, 2025 3:37 pm
- Forum: Talking LiveCode
- Topic: LiveCode Create - Trial or Evaluation Access
- Replies: 5
- Views: 3166
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
I think Livecode Headquarters can answer that question.
Why don't you just write to Support?
Kind regards
Bernd
- Wed Jul 16, 2025 8:55 pm
- Forum: Games
- Topic: cutting irregular pieces from image for puzzle game
- Replies: 67
- Views: 71678
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...
- Fri Jul 11, 2025 9:49 am
- Forum: Games
- Topic: cutting irregular pieces from image for puzzle game
- Replies: 67
- Views: 71678
Re: cutting irregular pieces from image for puzzle game
I think it is due to the fact that the folder does not exist. It is not automatically created. Here is what worked for me on a Mac. on mouseUp put the number of images of this card into nImages put specialFolderPath("documents") & "/app data/testing/tempImages" into tTempPath set the itemDelimiter t...
- Fri Jul 04, 2025 9:51 am
- Forum: Games
- Topic: cutting irregular pieces from image for puzzle game
- Replies: 67
- Views: 71678
Re: cutting irregular pieces from image for puzzle game
I post here an example of making a Puzzle from an image. This version uses the complete set of mask images (64) that make up the possible pieces. This version assembles the layout of the mask images automatically and in random fashion over the image. Each time you run this the puzzle will be unique....
- Thu Jun 26, 2025 9:01 pm
- Forum: Games
- Topic: cutting irregular pieces from image for puzzle game
- Replies: 67
- Views: 71678
Re: cutting irregular pieces from image for puzzle game
I played around with the problem of creating a mask for different shapes for the puzzle pieces and then apply that mask to an image to cut-out the actual puzzle piece image. Please have a look at the two stacks I append. ImageMasksForPuzzlePieces_2 makes the image masks which you then apply in the s...