Custom Block: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
m (Lachesis moved page Customblock to Custom Block: Correct name includes a space and is capitalized.)
m (Customblock → Custom Block)
Line 1: Line 1:
[[Customblock|Customblocks]] are a [[built-in]] [[terrain]] provided in the [[MegaZeux]] editor.  They are static, non-interactive solid characters alongside terrain types like Solid, Normal, and Line. Customblocks in particular allow the user to choose any artwork out of the character set to be displayed, where other solid types have a single defined appearance.  This property, while making them marginally more complicated to work with, means that a [[MZXer]] with even the slightest technical or graphical inclination will use customblocks in favor of anything else almost all of the time.  Customblocks are also the only solid terrain that can interact with [[sprites]]. See also: [[Customfloors]]
[[Custom Block|Custom Blocks]] are a [[built-in]] [[terrain]] provided in the [[MegaZeux]] editor.  They are static, non-interactive solid characters alongside terrain types like Solid, Normal, and Line. Custom Blocks in particular allow the user to choose any artwork out of the character set to be displayed, where other solid types have a single defined appearance.  This property, while making them marginally more complicated to work with, means that a [[MZXer]] with even the slightest technical or graphical inclination will use Custom Blocks in favor of anything else almost all of the time.  Custom Blocks are also the only solid terrain that can be detected by [[Sprite|sprite collision]].


Customblocks can be accessed from the editor by pressing F3 and selecting them from the menu. Placing them also involves selecting a character to display, which can be changed at any time by moving over them on the board and pressing Enter.
There are several equivalent types of Custom Block for other use cases: [[Custom Floor]] for floors, [[Custom Break]] for breaks, etc.
 
Custom Blocks can be accessed from the editor by pressing F3 and selecting them from the menu. Placing them also involves selecting a character to display, which can be changed at any time by moving over them on the board and pressing Enter.


[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]]
[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]]

Revision as of 01:45, 29 May 2025

Custom Blocks are a built-in terrain provided in the MegaZeux editor. They are static, non-interactive solid characters alongside terrain types like Solid, Normal, and Line. Custom Blocks in particular allow the user to choose any artwork out of the character set to be displayed, where other solid types have a single defined appearance. This property, while making them marginally more complicated to work with, means that a MZXer with even the slightest technical or graphical inclination will use Custom Blocks in favor of anything else almost all of the time. Custom Blocks are also the only solid terrain that can be detected by sprite collision.

There are several equivalent types of Custom Block for other use cases: Custom Floor for floors, Custom Break for breaks, etc.

Custom Blocks can be accessed from the editor by pressing F3 and selecting them from the menu. Placing them also involves selecting a character to display, which can be changed at any time by moving over them on the board and pressing Enter.