pippinbarr / the-nothings-suite

9 stars 0 forks source link

How to make nothing in Free Hero Mesh #2

Open zzo38 opened 2 years ago

zzo38 commented 2 years ago

Free Hero Mesh is a puzzle game engine (with a similar purpose than PuzzleScript, although it works differently).

  1. Make a empty class definition file by: touch nothing.class

  2. Make picures: heromesh -p nothing You must add at least one picture (although it can be a 1x1 transparent, or the default 24x24 transparent if you prefer), otherwise it will be an error message and will not start.

  3. Make a new puzzle set: heromesh -n nothing This creates an empty solution file, and a single 1x1 level called "Blank" that contains no objects.

The game will run, although you will lose immediately due to there being no objects in the level that can receive messages. If you do not want this, then this can easily be fixed by adding the following code into the class definition file: (Control (KEY)) This defines a control object (which is implicitly placed in all levels), with a message named KEY that does nothing. It is then possible to play moves (that have no effect) and will be recorded, and can be rewound/replayed, etc.

Free Hero Mesh is also a clone of Hero Hearts game engine. The Windows version of Hero Hearts you can select file and create new puzzle set, and then delete class definitions. You will get a single level named "Blank" with no objects, and a single class definition called "Hero" that has code for moving around by pushing the arrows (although the level does not initially contain it). Hero Hearts does not cause you to lose immediately due to being no objects. The DOS version of Hero Hearts will create a level with objects (including walls, and exits; so it is actually possible to win) if you create a new puzzle set.

pippinbarr commented 2 years ago

Huh! I haven't heard about this one so thanks - I shall try to take a look!