5 ms·
Nice. Sokoban nostalgia says Hi :) Some nits and comments if I may. * Don't count moving stones as an actual move until the stone is released. I am on a PC an
by huhtenberg 4y ago
Nice. Sokoban nostalgia says Hi :)
Some nits and comments if I may.
* Don't count moving stones as an actual move until the stone is released. I am on a PC and if I click-and-hold a stone and then move it back and forth, each move is counted even though I haven't released the mouse button yet. This is somewhat counter-intuitive and unexpected.
* Put the light source at the top. You have it at the bottom and this results in a drop shadow above the stones, which looks more like an unintended blur or ghosting. Also shadows/highlights are a bit inconsistent - base tiles imply that the light source is at the bottom-bottom-left, but the stones are shaded as if it's at the bottom-right.
* Perhaps reduce the size of stones a bit to add some breathing space around them when idle and when moving.
* Add a keyboard nav? There are two stones, so something as literal as awsd for one and arrows for another would work. Or just the arrows with a 'space' to toggle the focus.
* Starring criteria is unclear. Got one level with "optimal" rating, yet it gave 3 stars. This was the one where I had to undo several moves because I was mindlessly moving the stone back and forth without releasing it.
- kuboble 4y agoKeyboard control with optional highlight of a current piece is available at https://kuboble.com/beta/ https://kuboble.com/beta/ it works with mouse or Tab for piece selection. arrows for moves, and backspace for undo
- kuboble 4y agoThanks a lot! I haven't expected more than few people seeing it. I'm absolutely excited that people like it and give great feedback. * the move is applied automatically the moment the done does stone_width/2 in a free direction. It would be tough to implement what you suggest. Also I did implement move counter the way you recommend - that if you make a move that cancels previous move it reduces the count but the testers were unanimously confused by it so I reverted it. * there is no light source. It's few simple 2d images. * I actually like how tight the stones are - like in a goban * keyboard is on my todo if pepole intend to play on a pc * starring is 5 for optimal score and 1 less for each extra move. Are you sure you have observed that anomaly?
- pmontra 4y agoNice game. > the move is applied automatically the moment the done does stone_width/2 in a free direction Shouldn't a move be complete when the stone bumps into a wall and stops moving? I guess you already have the code to detect that event. You can hook the move counter there. Keyboard navigation is definitely due on a computer. Select a stone with mouse and move with arrows or awsd. We can play two handed. It's much better on a phone now because we can throw stones to walls with a finger.
- kuboble 4y agoHi, It's that the animation and bumping is executed already when the stone does a short way - on a larger board it looks like this: https://i.gyazo.com/bd780834e5546a4d8f84791b0f619ebb.mp4 https://i.gyazo.com/bd780834e5546a4d8f84791b0f619ebb.mp4 But I see how it can be confusing when the path to travel is 1*stone_width. I don't have a good idea how to preserve the behavior on a bigger board and making it less confusing on a smaller one.
- huhtenberg 4y ago* Then, once move is applied disallow moving the stone again without re-engaging it a new tap/click-hold? Or undo the last move silently if the following move is the reverse of the preceding one? * I meant "implied" light source. My point was that visually it's somewhat messy due to shadows being on top. Re: the starring thing - I can't reproduce, but 100% saw it. Was on the level 3.
- japanman425 4y agoBiggest tip of all is don’t be demoralised by snarky remarks such as this > Sokoban nostalgia says Hi :) HN is full of people who have seen it been there done it and like to point it out in the pass agg format such as that. One of the most difficult barriers to starting a “cool” project for me is the “but X already exists” even worse when someone points it out to me in a snide manner. Absolutely love your game. Reminds me of the primitive yet challenging games you would find on random floppy disks at a jumble sale. Thank you for making it!
- soperj 4y agoIf you play more you'll realize there are levels with more than 2 stones.
- user3939382 4y ago+1 for the keyboard. That would make it more addicting and immediately what I wanted.