BDCFF Object 0001: Diamond

Object number: $0001
Game class: Boulder Dash (by Peter Liepa)
Object name: Diamond (or Jewel?)

In this document:


Properties

Animate: yes
Impact explosive: no
Chain explosion action: consumed
Explosion type: n/a
Rounded: yes


Attributes

Attribute format: %00000000 0000000a

a: Flag indicating whether the diamond is currently considered to be "falling" or "stationary". The flag is set (1) when falling, clear (0) when stationary. It is recommended that all diamonds begin life as stationary diamonds.


Graphics

Diamond animation sequence
This GIF shows the animation sequence of a diamond from the C64 implementation of Boulder Dash (hence the graphics are 8 double-width pixels wide and 16 pixels high).


Specification

The diamond is almost identical to the boulder. Basically, you can take the boulder's algorithm and replace all instances of "boulder" with "diamond", and in the case of falling through the magic wall, a diamond morphs into a boulder in the same way that boulders morph into diamonds.

Please refer to the boulder specification for full details.


Web page design by Peter Broadribb