Search found 439 matches

by Zax
Thu Sep 01, 2022 6:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image? - Beleaguered Castle

richmond62 wrote:
Thu Sep 01, 2022 5:29 pm
I tried your game on MacOS.
Oh, yes. Sorry.
I'll look into the code tomorrow.
by Zax
Thu Sep 01, 2022 5:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image? - Beleaguered Castle

Hmm, I don't know what to say: I built a Linux version for you but I can't test it and any Linux version will not be supported.
But I realize the "Rules" button has disappeared... my bad :(
I'll fix it.
by Zax
Thu Sep 01, 2022 3:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image? - Beleaguered Castle

richmond62 wrote:
Thu Sep 01, 2022 2:44 pm
BUT, I think a few textured boards might be even nicer.
Just put 256 x 256 pixels jpg or png images in the Boards folder and re-open the app. If the Boards folder is not visible, look into the "contents" of the app itself. Et voilà ;)
by Zax
Thu Sep 01, 2022 2:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image? - Beleaguered Castle

This is a new version that should fix the Boards problem: Mac OS: https://sw.ixoft.com/files/BeleagueredCastle_012_OSX.zip Windows: https://sw.ixoft.com/files/BeleagueredCastle_012_win.zip Linux: https://sw.ixoft.com/files/_OLD/BeleagueredCastle_012_linux.zip If the boards graphics are still unavail...
by Zax
Wed Aug 31, 2022 7:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

richmond62 wrote:
Wed Aug 31, 2022 4:27 pm
Mais, vous avez un petit problem.
Thank tou for your conseils avisés ! :mrgreen:
by Zax
Wed Aug 31, 2022 3:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

Dear Beast ;) , congratulations for all your posts, and thank you for your advices. I would like the "Boards" folder to be visible by the user (so he eventually can add his own backgrounds). So the specialFolderPath("resources") will not work. Any idea about how to point to a visible folder inside t...
by Zax
Tue Aug 30, 2022 11:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

The only "Default" board is an unexpected bug! The "Boards" folder should be left as it comes, it the unzipped "Beleaguered Castle" folder (the same folder as the app). I think the bug is in my script when its define the app's folder to search in. I use this old script found in my personal library: ...
by Zax
Tue Aug 30, 2022 6:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

Yesterday's update still resizes the board sometimes. How are you managing the geometry? It kind of looks like it's resizing when a row gets too close to an edge? Board resizing is managed by script, testing the width of the larger row compared to the board's wifth - to let the player add cards to ...
by Zax
Mon Aug 29, 2022 6:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

OK !
I'm working on the next version, which includes easier cards drag an drop. I'll compile a 64-bit version for Linux.
Available very soon.
by Zax
Mon Aug 29, 2022 2:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

richmond62 wrote:
Mon Aug 29, 2022 10:21 am
Please try a build as suggested with 9.6.8.
The standalone Linux version I posted was made with LC MacOSX 9.6.8 stable.
lin.jpg

What do you want me to do exactly?
by Zax
Mon Aug 29, 2022 6:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

Glad to hear the game doesn't seem too jerky on newer machines. :) Jacqueline , the adaptative board size has been a problem for me since the start of development. I tried numerous thing without yet finding a good solution. And yes, the game is winnable. I win about 1 game out of 6. The trick is to ...
by Zax
Sun Aug 28, 2022 1:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

Thank you for your comments, I appreciate :) (and I also thank you to be so patient for my "exotic" english). What I appreciate in Beleaguered Castle is the balance between chance and reflection. After the random draw of the cards, it becomes a puzzle game. Jacqueline , concerning the mysterious del...
by Zax
Sat Aug 27, 2022 1:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

OK, this is it! At least a beta version. The main features I wanted are present (choice of board and card graphics). The cards movements are not very smooth on my machine but it should be fine on newer machines. I've wanted to make a Beleaguered Castle Solitaire for a long time - you can find some o...
by Zax
Sat Aug 27, 2022 10:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

It's better. But 1 ms is still not enough: I tried with 100 ms with success. In fact, I already locked the screen before changing images' text but the unlock screen command was placed at the end of doOtherStuff statement. But you're right Jacqueline, SVG process doesn't take much time, so it's all s...
by Zax
Fri Aug 26, 2022 2:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a button's icon with a part of a big image? - Beleaguered Castle
Replies: 255
Views: 114337

Re: Create a button's icon with a part of a big image?

The project is progressing well, I'm now in an optimization phase. Regarding my latest problem, I found the faulty operation: when opening the stack, I redraw all the gaming cards from images residing in a substack. This operation is a bit slow on my old machine and the problem is that the last line...

Go to advanced search