-
Notifications
You must be signed in to change notification settings - Fork 35
Warnings
Warnings appear when storybrew detects a potential performance problem, or a mistake that could break your storyboard. These warnings don't necessarily there is a problem, but are there to notify you of things you may want to be aware of.
A lot of sprites are being rendered. Usually not a problem until it gets very high.
A lot of commands are being processed. Commands are the most expensive part of a storyboard and the best way to improve performance is usually to reduce how many commands are processed every frame.
Sprites are active from the time of the start of their first command to the time of the end of their last command. While a sprite is active, ALL of its commands are processed. A way to reduce this number is to split sprites with many commands into multiple sprites with less commands.
A lot of commands are being processed, but these commands are on sprites that aren't visible.
Sprites are active from the time of the start of their first command to the time of the end of their last command. While a sprite is active, ALL of its commands are processed. This is true even for sprites that aren't visible. A way to reduce this number is to stop using the sprite while it isn't visible, and then create a new sprite when it becomes visible again.
How many times the screen has been filled with pixels. This is what osu! calls "sb load", but this is measured much more accurately.
A way to reduce this is to remove unnecessary transparency from sprites, and make sure to fade out sprites that are masked by other sprites on top of them.
A command of a certain type starts before the previous command has ended.
For example:
S,0,1000,3000,0,1.0
S,0,2000,4000,1.0,0
The size of the sprites between 2000ms and 3000ms is undefined because both commands are active during this period.
A sprite contains commands that may not be used together. The sprite may not behave in the same way in osu!, and sometimes may not behave the same way depending on framerate.
Commands that can't be used on the same sprite:
- Move with MoveX or MoveY.
- Scale with ScaleVec.
Need help with something that isn't in the wiki? Try contacting Damnae in osu! or Discord.