Openbound - Effects
Effects are simple animations, unassociated with any <sprite>
.
Table Of Contents
Structure
The <effects>
section is simply defined as such:
<sburb description='first room'>
<effects>
...
</effects>
</sburb>
When defining an effect, you need only define it the way that you would any other animation:
<sburb description='first room'>
<effects>
<animation name='teleportEffect' x='-66' y='-110' sheet='teleportSheet' colSize='132' rowSize='165' length='6' frameInterval='2' loopNum='0'/>
</effects>
</sburb>
The name
attribute is used to refer back to the effect when using it. To use an effect, simply execute the playEffect command in an action.