Blockski+ , like Klotski but with a board editor.

So you have written that new, must have program. Let us see it here.
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

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

Post 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.
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

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

Post 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.
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

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

Post 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 2358 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 2355 times
* made a hard board.
Untitled.jpg
Untitled.jpg (72.24 KiB) Viewed 2358 times
Enjoy :)
If at first you don't succeed , try doing something differently.
BruceS
User avatar
cogier
Site Admin
Posts: 1127
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

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

Post by cogier »

Have a look at Boards>Hard>Hard 2. It's very easy!
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

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

Post 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)
Attachments
Untitled.jpg
Untitled.jpg (65.07 KiB) Viewed 2285 times
If at first you don't succeed , try doing something differently.
BruceS
User avatar
cogier
Site Admin
Posts: 1127
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

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

Post by cogier »

How did you find Hard 1 ?
Hard! :? . I haven't completed it. Will try again.....
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

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

Post 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
If at first you don't succeed , try doing something differently.
BruceS
User avatar
cogier
Site Admin
Posts: 1127
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

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

Post by cogier »

I can't run the latest version 1.0.1.

Image
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

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

Post 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
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1579
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

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

Post by BruceSteers »

Hard 2 is now hard ;) lol

219 moves , nearly 5 minutes
Attachments
Untitled.jpg
Untitled.jpg (65.6 KiB) Viewed 2364 times
If at first you don't succeed , try doing something differently.
BruceS
Post Reply