Changes

→‎Display: update for SMAPI 3.0
Line 61: Line 61:  
  |name  = Rendering
 
  |name  = Rendering
 
  |desc  = Raised before the game draws anything to the screen in a draw tick, as soon as the sprite batch is opened. The sprite batch may be closed and reopened multiple times after this event is called, but it's only raised once per draw tick. This event isn't useful for drawing to the screen, since the game will draw over it.
 
  |desc  = Raised before the game draws anything to the screen in a draw tick, as soon as the sprite batch is opened. The sprite batch may be closed and reopened multiple times after this event is called, but it's only raised once per draw tick. This event isn't useful for drawing to the screen, since the game will draw over it.
  −
Limitations:
  −
* The event isn't raised during some cutscenes or minigames (e.g. the [[Sebastian#Six Hearts|board game scene]]) due to limitations in the game design.
  −
  −
{{SMAPI upcoming|3.0|The event is now raised correctly in minigames.}}
      
  |arg name 1 = <tt>e.SpriteBatch</tt>
 
  |arg name 1 = <tt>e.SpriteBatch</tt>
Line 75: Line 70:  
  |name  = Rendered
 
  |name  = Rendered
 
  |desc  = Raised after the game draws to the sprite patch in a draw tick, just before the final sprite batch is rendered to the screen. Since the game may open/close the sprite batch multiple times in a draw tick, the sprite batch may not contain everything being drawn and some things may already be rendered to the screen. Content drawn to the sprite batch at this point will be drawn over all vanilla content (including menus, HUD, and cursor).
 
  |desc  = Raised after the game draws to the sprite patch in a draw tick, just before the final sprite batch is rendered to the screen. Since the game may open/close the sprite batch multiple times in a draw tick, the sprite batch may not contain everything being drawn and some things may already be rendered to the screen. Content drawn to the sprite batch at this point will be drawn over all vanilla content (including menus, HUD, and cursor).
  −
Limitations:
  −
* The event isn't raised during some cutscenes or minigames (e.g. the [[Sebastian#Six Hearts|board game scene]]) due to limitations in the game design.
  −
  −
{{SMAPI upcoming|3.0|The event is now raised correctly in minigames.}}
      
  |arg name 1 = <tt>e.SpriteBatch</tt>
 
  |arg name 1 = <tt>e.SpriteBatch</tt>
translators
8,404

edits