Skip to content

Commit

Permalink
update a bit of the documentation (#81)
Browse files Browse the repository at this point in the history
* Revert "Update index.md (#80)"

This reverts commit 532ec78.

* Update index.md

* Update index.md
  • Loading branch information
Frakits authored Jan 21, 2025
1 parent 532ec78 commit 223bd1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wiki/modding/stages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ Other options include:
- ``alpha`` is the "opacity" of the sprite
- ``color`` tints the sprite in the color you set it to *(example <code class="hljs-string">#FF0000</code> will tint the sprite in full red)*
- ``playOnCountdown`` tells the sprite whether or not to play it's animation during countdown or not.
- ``beatOffset`` offsets animated sprite boping, and ``beatInterval`` sets animated sprites boping to a interval *(``(curBeat + beatOffset) % beatInterval`` similar to camera modulo)
- ``beatOffset`` offsets which beat to play the sprite animation
- ``beatInterval`` sets sprite's animation to play at a beat interval *(basically the amount of beats to skip + 1)*

You can also define animations by giving it a child node called <syntax lang="xml">&lt;anim&gt;</syntax>. A sprite node with an animation node looks something like this:
```xml
Expand Down

0 comments on commit 223bd1c

Please sign in to comment.