Custom Break: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
(Created page with "{{ID |name = Custom Break |id = 7 |robotic = CustomBreak |color = none |param = select |idchar = 255 - use param |break_shot = y |break_bombed = y }} Custom Breaks (ID 7, <code>CustomBreak</code>) are a built-in terrain provided in the MegaZeux editor. They are static walls that can be destroyed with Bullets or Explosions, similar to Breakaways, except they use their parameter to select their display...")
 
mNo edit summary
Line 9: Line 9:
|break_bombed = y
|break_bombed = y
}}
}}
[[Custom Break|Custom Breaks]] (ID 7, <code>CustomBreak</code>) are a [[built-in]] [[terrain]] provided in the [[MegaZeux]] [[editor]]. They are static walls that can be destroyed with [[Bullet|Bullets]] or [[Explosion|Explosions]], similar to [[Breakaway|Breakaways]], except they use their parameter to select their display character. This means that, like [[Custom Block|Custom Blocks]], they tend to completely replace [[Breakaway]] in all but the most basic usage.
[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]] [[Category:Terrains]]
 
A [[Custom Break]] (ID 7, <code>CustomBreak</code>) is a [[built-in]] [[terrain]]. It is a generic breakable wall, identical to [[Breakaway]], except that its [[parameter]] is used to select its display character. This means that, like [[Custom Block|Custom Blocks]], they tend to completely replace Breakaway in all but the most basic usage.


In games that heavily utilize [[sprites]], they are sometimes used for background tiles with special properties (such as pits), since Custom Block is almost always used for colliding areas and [[Custom Floor]] is most likely to be used for walkable floors.
In games that heavily utilize [[sprites]], they are sometimes used for background tiles with special properties (such as pits), since Custom Block is almost always used for colliding areas and [[Custom Floor]] is most likely to be used for walkable floors.
[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]]

Revision as of 00:01, 31 May 2025

Custom Break # 7 Id7.png
Robotic name CustomBreak
Default color none
Default param select
ID char 255 - use param (#7)
Attributes Break when shot
Break when bombed

A Custom Break (ID 7, CustomBreak) is a built-in terrain. It is a generic breakable wall, identical to Breakaway, except that its parameter is used to select its display character. This means that, like Custom Blocks, they tend to completely replace Breakaway in all but the most basic usage.

In games that heavily utilize sprites, they are sometimes used for background tiles with special properties (such as pits), since Custom Block is almost always used for colliding areas and Custom Floor is most likely to be used for walkable floors.