Release

Boulder Dash NX

7

desbyc 2018-12-19 16:00

Hi, today i release the final version of my interpretation of Boulder Dash, Boulder Dash NX:-).
It was a lot of work an i have to thank Timo for much help and tips. Thank you.
Also thanks to:
- https://codeincomplete.com/posts/boulderdash-game-logic/
- https://gist.github.com/sinewalker/b7019b2e8ecb4b1a0de79f8c9a7d4b28

The Game:
Your goal is to collect all diamonds. You can walk up, down, left and right, but not diagonal. Sometimes the diamonds are under rocks and you have to put the rocks away. You can do that by pushing them left or right if no other rocks, diamonds or dirt is behind them. If you walk under a rock, nothing happens, but if a rock or a diamond falls on you, you die and you have to repeat the cave. There is no life to lose:-).
The butterflies want to kill you, avoid to touch them. After collected all diamonds the cave is complete and you get the next. You have to complete 6 caves.
Sometimes you get stuck between the rocks or you cant reach all diamonds.
Then press Left+A for reboot the cave.
If you want to restart the whole game press Left+B.
I tested all caves very intensive and all are solvable. Believe me.
The best way to play is to use a gamepad. With build in pad, it is difficult.
You can build you own caves. Look at my caves and you see how to build one.
There are some rules for caves.
Make a border withe char 64.
Leave line 0 free for statistics.
Place at least one diamond (inside the border) with char 32.
Place one player-start-point (inside the border) with char 66.
All other object are optional.
To test your cave, change the value of STARTLEVEL at the beginn of the code.
E.G.: to reach cave 6, STARTLEVEL has to be 5.
Questions.....ask me:-)
Have fun.

This version is for the latest NX-version.
I will post a second version without sound.


desbyc 2018-12-19 16:30

I forgot something: there is a time-limit of two minutes per cave. If you do not collect all diamonds in two minutes, the cave starts again.


Toddl 2018-12-19 19:57

Excellent


was8bit 2018-12-20 03:25

I'm sorry, but I have a heavy finger, and had to make this adjustment as I am constantly moving multiple squares when I want to only move one square...

IF TAP THEN
TOUCHDOWN=TOUCH.X>32 AND TOUCH.X<63 AND TOUCH.Y>96 AND TOUCH.Y<127
TOUCHLEFT=TOUCH.X>0 AND TOUCH.X<31 AND TOUCH.Y>64 AND TOUCH.Y<127
TOUCHUP=TOUCH.X>32 AND TOUCH.X<63 AND TOUCH.Y>64 AND TOUCH.Y<95
TOUCHRIGHT=TOUCH.X>64 AND TOUCH.X<95 AND TOUCH.Y>64 AND TOUCH.Y<127
ELSE
TOUCHDOWN=0
TOUCHLEFT=0
TOUCHUP=0
TOUCHRIGHT=0
END IF


was8bit 2018-12-20 03:25

Otherwise, awesome game :D


desbyc 2018-12-20 08:44

Yes i tryed that, but it does not work for me. See end of the code. There is a TMP: area with some code i tryed and did not use. The best way to play is in the browser, directly under Windows or macOS or with a gamepad.
BTW: I challenge you to make caves for the game:-).


was8bit 2018-12-20 13:32

I'm still,figuring out the existing levels :)


desbyc 2018-12-20 16:20

The Caves are very hard if you dont know my thoughts😏. Dont collect diamonds without thinking.


was8bit 2018-12-20 20:21

It's very well made, for sure! Very tricky they are! :)


desbyc 2018-12-21 05:44

Yes master😂.


was8bit 2018-12-21 06:33

:D


Timo 2018-12-22 21:09

I played until the 4th level (i think), but I got stuck with one diamond. It doesn’t let me take it without getting killed by rocks :(
Well, i will try more.


dredds 2019-04-03 16:17

This is great.


CubicleHead 2019-05-22 19:59

Really hard and awsome


desbyc 2019-05-22 20:02

Thanx😏


Log in to reply.