Free Hero Mesh

Changes To Class definition file
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

Changes to "Class definition file" between 2018-11-19 00:25:57 and 2018-11-19 05:26:44

37
38
39
40
41
42
43





















37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
  *  Direction
  *  String
  *  Key code
  *  Class
  *  Message
  *  Sound
  *  Bit constant

<h2>Class definition blocks</h2>
The class definition block starts with the class name, and then the various things inside, which can be:
  *  <tt>Compatible</tt>: Enable better compatibility with Hero Mesh, including that some standard variables are now limited to sixteen bits. For new puzzle sets, it is normally better to avoid this flag, although not always.
  *  <tt>,Compatible</tt>: Similar to Compatible but does not limit variables to sixteen bits.
  *  <tt>(EditorHelp)</tt>: After EditorHelp is one or more strings. Each is a line of help text for the composer.
  *  <tt>(Help)</tt>: After Help is one or more strings. Each is a line of help text for the player.
  *  <tt>Input</tt>: Causes the KEY message to be sent to all objects of this class when a move is played and no popup quiz is waiting.
  *  <tt>Invisible</tt>: Objects of this class are invisible at runtime.
  *  <tt>(Misc4)</tt>: After the word Misc4 is one or more numbers; bit constants are also allows. Defines the Misc4 value (a 32-bit number) for this class as the bitwise OR of all numbers specified. The game engine does not use the Misc values; it is for your own use.
  *  <tt>(Misc5)</tt>: Like Misc4 for sets Misc5 instead.
  *  <tt>(Misc6)</tt>: Like Misc6 for sets Misc5 instead.
  *  <tt>(Misc7)</tt>: Like Misc7 for sets Misc5 instead.
  *  <tt>Player</tt>: Indicate that the object of this class is the player object.
  *  <tt>Quiz</tt>: Hide values of local variables from the player by default. Can be overridden in the user configuration file.
  *  <tt>Shovable</tt>: This object is pushable in any direction (if the object pushing it is strong enough).
  *  <tt>(Shovable)</tt>: Specifies which directions it can be pushed. After the word Shovable is either a 8-bit number, or can be one or more directions, which can be E, N, W, and S (diagonal shoving is not allowed).
  *  <tt>Stealthy</tt>: If this object moves, does not cause arrival and departure triggers.
  *  <tt>(Temperature)</tt>: After the word Temperature is a number. Defines the Temperature attribute of this class. Like the Misc values, it is not used by the game engine and is only for your own use.
  *  <tt>UserState</tt>: Does nothing, but can be used for your own purpose.
  *  <tt>VisualOnly</tt>: Most interactions of this object with other objects are suppressed.