This is a Sokoban game entirely written in QML + Javascript.
The purpose of the game is to move the diamonds to the green spots by letting the warehouse keeper push against the diamonds. You move the warehouse keeper using the arrow keys or by clicking/touching the screen.
I u want to supprot me, or thanks in other way than saying it, consider donation ;)
Copyrights:
Copyright (C) 1998-1999 Anders Widell - original game and graphics
Copyright (C) 2010, 2011 Glad Deschrijver - port to qml
Copyright (C) 2018 Wiktor Strzębała <wiktorek140@tlen.pl> - port to SailfishOS
Attachment | Size | Date |
---|---|---|
sokoban-1.1-2.armv7hl.rpm | 65.11 KB | 18/08/2018 - 14:11 |
sokoban-1.1-0.armv7hl.rpm | 65.1 KB | 18/08/2018 - 13:57 |
sokoban-1.0-1.armv7hl.rpm | 99.67 KB | 16/08/2018 - 11:23 |
version 1.0-1 (2018-08-16):
- port to SailfishOS
- update QtQuick to 2.0
version 0.7 (2011-12-16):
- add panel to select level collections (the list of collections is hardcoded)
version 0.6 (2011-01-19):
- fix bug: the floor items could be disconnected during rotation and the
objects and man didn't zoom until after the board was rotated
- make C++ wrapper so that a standalone executable can be produced
- make all buttons always available by putting them in draggable environments
- try not to hardcode font sizes
- the board can now be dragged
version 0.5 (2010-12-20):
- add menu with about box
- add zooming of the game view
- major rewrite of the code
- when changing a level, the opacity of the board items is set to 0 before
destroying them
version 0.4.1 (2010-11-24):
- fix bug: numOfGoals was not increased when during initializing of a level
the man is positioned on a goal
- fix bug: the texts in the game view didn't wrap when they are too large
- fix bug: clicking the buttons when the message in the game view is displayed
didn't work
- fix bug: the number of blocks on a goal was incorrectly calculated when
during undo a block moves to a goal on which the man was previously located
version 0.4 (2010-11-17):
- clicking on the intro text or "Level won" text switches to the next level
- another attempt to make the board resize when the orientation changes
- add French translation
version 0.3 (2010-11-16):
- add support for moving the man by clicking the new place for the man
(only horizontal or vertical moves are possible)
- rescale the board when the orientation changes
- add undo support (by pressing Ctrl+Z)
version 0.2 (2010-11-11):
- rewrite Man and Object moving code
- add animations
- show correct level number at any moment during the game (also when the "Level won" message appears)
- nicer borders (similar but simpler as in ksokoban)
- center the playing field in the window
Comments
olf
Wed, 2018/08/29 - 00:49
Permalink
@wiktorek140, thank you so much for providing this Sokoban (ex-QML Sokoban, ex-ex-KSokoban) for SailfishOS.
As you asked for comments:
While the suggestion of @Maximilian1st to use two finger gestures for dragging (and maybe pinching / scaling, too) would work, it might be easier to implement a threshold of 1 (or ½) grid space (or a couple of pixels): Drag actions with distances below the threshold would be interpreted as taps.
P.S. (edit):
Three more minor issues:
As the only user visible change I experience is the altered button bar, I am curious what else changed.
Its Readme.md may also provide links to the original source code (KSkoban by Anders Willers up to v0.3.0, 1999-07-14) and the original QML port (QML Sokoban by Glad Deschrijver up to v0.7, 2011-12-16), which your work is based upon.
BTW, also a KDE 4 port (up to v0.5.0, 2012-07-25, with version numbers overlapping those of QML Sokoban) of the original KSokoban, plus an older port to QML2 and a port to BB-OS 10 (with a similar programming environment as SailfishOS) of QML Sokoban exist (all seemingly unrelated), but the latter two were not maintained for long (still may provide some ideas).
Maximilian1st
Sun, 2018/08/19 - 09:34
Permalink
Very nice game, good work. Could the moving of the map be done with two fingers instead of one. The map moves when I want to position the guy...
rob_k
Sat, 2018/08/18 - 19:33
Permalink
Buttons are great now. Unfortunately it is very hard to position the little guy to the next field somehow. Playing on SailfishX, Xperia X, 1080 x1920 pixels. Playing landscape. I'll try to upload screenshot later.
rob_k
Sat, 2018/08/18 - 12:47
Permalink
Reaching higher levels, I need larger buttons. "Undo" most obviously :)
wiktorek140
Sat, 2018/08/18 - 13:53
Permalink
You can alway try play in landscape mode. When i find a while i will redesign buttons on botton.
I consider made it larger or scaled up. but u need to test it and give feedback what i looks like on your device
pdelfes
Sat, 2018/08/18 - 03:33
Permalink
More crap coming to the SailfFail OS. Cool.
wiktorek140
Sat, 2018/08/18 - 13:20
Permalink
if u think its crap simply don't use it, or if you are great developer build an awesome game that nobody can tell its crap.
pdelfes
Sun, 2018/08/26 - 05:32
Permalink
Ok. Thank you dear.
rob_k
Sat, 2018/08/18 - 01:24
Permalink
Man, 30 years ago I got hooked on this game, and now it's happening all over again! (Great port, thanks)
cvp
Thu, 2018/08/16 - 14:06
Permalink
cool Game, thank you :)