Search found 73 matches

by rcmills
Tue Aug 26, 2025 4:42 pm
Forum: iOS Deployment
Topic: answer dialog box failure in iOS
Replies: 7
Views: 2608

Re: answer dialog box failure in iOS

Thanks, alexscott. I was thinking it had to be something like what you are suggesting, something causing a stack overflow or something. I do use lock screen and unlock screen several places, and might can clean that up.
by rcmills
Sat Aug 23, 2025 4:16 pm
Forum: iOS Deployment
Topic: answer dialog box failure in iOS
Replies: 7
Views: 2608

Re: answer dialog box failure in iOS

I'm afraid the code around the answer dialog is quite mundane. I think the problem is somewhere else in the code (total code around 2000 or so lines), as the area where the problem is now occurring was not modified for weeks, while I worked on other sections. Here is the code where the problem occur...
by rcmills
Fri Aug 22, 2025 9:44 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

Thanks, Klaus. I have reported the bug - ID # 24734
by rcmills
Fri Aug 22, 2025 9:41 pm
Forum: iOS Deployment
Topic: answer dialog box failure in iOS
Replies: 7
Views: 2608

answer dialog box failure in iOS

I have run up against (created?) a catastrophic bug in my iOS build, which I cannot understand. The answer dialog function has begun stopping the running of my code cold, after one execution. It begins doing this after running my initialization section (which does use the answer dialog command sever...
by rcmills
Thu Jul 31, 2025 1:19 am
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

Thanks very much, Bernd. I will look this over, as I have indeed been having UI difficulties with moving the pieces. I have been out of town, and left this fun task alone for a while, but am returning to it. One thing I have learned in the past day is that in LC 10.0.2 the mobilePickPhoto "library" ...
by rcmills
Fri Jul 11, 2025 10:05 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

Thanks again! Even though I "thought" I had created the proper folders, going through the process of checking on them somehow fixed the problem!
by rcmills
Thu Jul 10, 2025 12:19 am
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

OK, now I am trying to set up a method of saving a puzzle in progress, so that a player's progress isn't lost between closing and reopening the iOS app. I can save a lot of the data, but can't make the export image command do what I think it should. My code keeps giving the error export: can't open ...
by rcmills
Sun Jul 06, 2025 4:41 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

Thanks for all your help! It has been very valuable!
by rcmills
Mon Jun 30, 2025 2:31 am
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

Thanks again, Bernd. I used the technique you included in your apps to create mask images which then can accept snapshots from the puzzle picture. Right now I am struggling with placement of the resulting pieces. Something I hope to get sorted soon:)
by rcmills
Tue Jun 24, 2025 1:56 am
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

OK, I finally got the cool app downloaded, and looked it over. It is clever, and very elegantly coded. Unfortunately, the original puzzle pieces are images already pre-formed in the app. What I want to do is create the puzzle piece shapes randomly using coding. There seems to be no way to do that to...
by rcmills
Mon Jun 23, 2025 11:57 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

i am fascinated, but the zip file won't download for me.
by rcmills
Fri Jun 20, 2025 2:23 am
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

1. MaskData. Maskdata is one byte per pixel (as opposed to 4 bytes for imageData). That byte is either numToByte(0) for transparent or numToByte(255) for opaque. MaskData transparency is on or off Thanks again, Bernd. That works! It does what I was trying to do with the alphaData. I think I’m (hope...
by rcmills
Thu Jun 19, 2025 9:48 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

Thanks so much, Craig! Yes, I am up to my elbows in the app already, and would appreciate all the help I can get :) The puzzle pieces are already designed by the app, using the points in polygon graphics (Grok helped me with that), and the UI of dragging the pieces and checking for positioning too. ...
by rcmills
Thu Jun 19, 2025 5:35 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

So, is there no way to remove (turn transparent) portions of an image, pixel by pixel? In my attempt in the app I attached several replies ago, looking at the imageData of the image, it seems that the zeros I put in the first of the four bytes (the alpha channel) for each pixel immediately return to...
by rcmills
Thu Jun 19, 2025 5:30 pm
Forum: Games
Topic: cutting irregular pieces from image for puzzle game
Replies: 70
Views: 79902

Re: cutting irregular pieces from image for puzzle game

As an amatuer, I'm doing it for fun, and hopefully to please (impress?) my wife, who is tired of the endless ads on the puzzle apps available on the App Store :)