Changes

Jump to navigation Jump to search
→‎Event changes: + GameLoop events
Line 107: Line 107:  
| <tt>GameEvents.EighthUpdateTick</tt>
 
| <tt>GameEvents.EighthUpdateTick</tt>
 
| →
 
| →
| ''TODO''
+
| <tt>GameLoop.Updated</tt>
 
|  
 
|  
 +
* Check if <tt>e.IsMultipleOf(8)</tt>.
 
|-
 
|-
 
| <tt>GameEvents.FirstUpdateTick</tt>
 
| <tt>GameEvents.FirstUpdateTick</tt>
 
| →
 
| →
| ''TODO''
+
| <tt>GameLoop.Launched</tt>
|
+
| The new event is raised before the first update tick. To do something ''after'' the first update tick, use <tt>GameEvents.Updated</tt> with <tt>if (e.Ticks == 1)</tt>.
 
|-
 
|-
 
| <tt>GameEvents.FourthUpdateTick</tt>
 
| <tt>GameEvents.FourthUpdateTick</tt>
 
| →
 
| →
| ''TODO''
+
| <tt>GameLoop.Updated</tt>
 
|  
 
|  
 +
* Check if <tt>e.IsMultipleOf(4)</tt>.
 
|-
 
|-
 
| <tt>GameEvents.HalfSecondTick</tt>
 
| <tt>GameEvents.HalfSecondTick</tt>
 
| →
 
| →
| ''TODO''
+
| <tt>GameLoop.Updated</tt>
 
|  
 
|  
 +
* Check if <tt>e.IsMultipleOf(30)</tt>.
 +
 
|-
 
|-
 
| <tt>GameEvents.OneSecondTick</tt>
 
| <tt>GameEvents.OneSecondTick</tt>
 
| →
 
| →
| ''TODO''
+
| <tt>GameLoop.Updated</tt>
 
|  
 
|  
 +
* Check if <tt>e.IsOneSecond</tt>.
 +
 
|-
 
|-
 
| <tt>GameEvents.QuarterSecondTick</tt>
 
| <tt>GameEvents.QuarterSecondTick</tt>
 
| →
 
| →
| ''TODO''
+
| <tt>GameLoop.Updated</tt>
 
|  
 
|  
 +
* Check if <tt>e.IsMultipleOf(15)</tt>.
 +
 
|-
 
|-
 
| <tt>GameEvents.SecondUpdateTick</tt>
 
| <tt>GameEvents.SecondUpdateTick</tt>
 
| →
 
| →
| ''TODO''
+
| <tt>GameLoop.Updated</tt>
 
|  
 
|  
 +
* Check if <tt>e.IsMultipleOf(2)</tt>.
 
|-
 
|-
 
| <tt>GameEvents.UpdateTick</tt>
 
| <tt>GameEvents.UpdateTick</tt>
 
| →
 
| →
| ''TODO''
+
| <tt>GameLoop.Updated</tt>
|  
+
| Equivalent.
 
|-
 
|-
 
| <tt>GraphicsEvents.OnPostRenderEvent</tt>
 
| <tt>GraphicsEvents.OnPostRenderEvent</tt>
translators
8,403

edits

Navigation menu