Page 2 of 5

Re: Blockski+ , like Klotski but with a board editor.

Posted: Wednesday 31st January 2024 7:14pm
by BruceSteers
There's a glitch in movement I will sort out after work this evening.

Just a little bug i've noticed where a block can move diagonally 1 space but it shouldn't really because block corners are in the way.

Plus i just tried the new Medium 2 board and i think it's impossible to do :-\

EDIT: i just fixed medium 2 board before going to work.
and added a check before saving a board that is not in edit mode and may have been moved around for testing.

Re: Blockski+ , like Klotski but with a board editor.

Posted: Thursday 1st February 2024 11:14am
by BruceSteers
With v 0.0.10 I have fixed the diagonally moving where it shouldn't bug.

I have also improved movement (the direction getting stuck) it used to just NOT move a direction if the mouse was more than one block away. Now it tries to move 1 space in that direction not stay where it is so this has improved it a lot.

Todo:
* Removable walls (walls that can be destroyed somehow)
* To be able to select multiple blocks for copy/move/delete.
* Highscores
* And make many many new boards.

Re: Blockski+ , like Klotski but with a board editor.

Posted: Friday 2nd February 2024 7:04pm
by BruceSteers
I'm advancing this to Beta now.
Archive is in the first post https://forum.gambas.one/viewtopic.php?p=8057#p8057

The editor still needs some upgrades but is pretty functional now.

Added thing like...
* New board button now opens a form to set path/dimensions instead of just an InputBox for name.
Untitled.jpg
Untitled.jpg (32.77 KiB) Viewed 2836 times
* Reselect checkbox on block selector stops block selection toggle button deselecting so you can add multiple blocks by clicking board.

* Settings window, Change "Default background image" makes background for all boards that have no image set use this image.

* made a clone of the gnome Klotski Daisy board.
Blockski.png
Blockski.png (387.38 KiB) Viewed 2833 times
* made a hard board.
Untitled.jpg
Untitled.jpg (72.24 KiB) Viewed 2836 times
Enjoy :)

Re: Blockski+ , like Klotski but with a board editor.

Posted: Saturday 3rd February 2024 12:57pm
by cogier
Have a look at Boards>Hard>Hard 2. It's very easy!

Re: Blockski+ , like Klotski but with a board editor.

Posted: Saturday 3rd February 2024 2:50pm
by BruceSteers
cogier wrote: Saturday 3rd February 2024 12:57pm Have a look at Boards>Hard>Hard 2. It's very easy!
haha yes sorry the latest board was an unfinished half build :-/

How did you find Hard 1 ?

I'm just about to upload V1.0.1 as there's been some changes
havent played Hard 2 yet but i think it's okay for now

I have added a new board selector that previews the boards and generates a thumbnail image in ~/.config/Blockski+/ that makes it look much better.

I just have to add code to update the thumbnail when a board is edited/saved
(EDIT: I have done that now)

Re: Blockski+ , like Klotski but with a board editor.

Posted: Saturday 3rd February 2024 4:10pm
by cogier
How did you find Hard 1 ?
Hard! :? . I haven't completed it. Will try again.....

Re: Blockski+ , like Klotski but with a board editor.

Posted: Saturday 3rd February 2024 4:25pm
by BruceSteers
cogier wrote: Saturday 3rd February 2024 4:10pm
How did you find Hard 1 ?
Hard! :? . I haven't completed it. Will try again.....
Cool , then the game challenge is good :)

I can do it in 2:30
70 moves

Re: Blockski+ , like Klotski but with a board editor.

Posted: Saturday 3rd February 2024 4:28pm
by cogier
I can't run the latest version 1.0.1.

Image

Re: Blockski+ , like Klotski but with a board editor.

Posted: Saturday 3rd February 2024 4:41pm
by BruceSteers
cogier wrote: Saturday 3rd February 2024 4:28pm I can't run the latest version 1.0.1.

Image
Aah cherers , must be a new property .
i've removed setting from the IDE designer and used code with Try to stop error on previous gambas versions.

V1.0.2

Re: Blockski+ , like Klotski but with a board editor.

Posted: Saturday 3rd February 2024 4:44pm
by BruceSteers
Hard 2 is now hard ;) lol

219 moves , nearly 5 minutes