<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://oxeyegames.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=FrameUpdate</id>
		<title>FrameUpdate - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=FrameUpdate"/>
		<link rel="alternate" type="text/html" href="http://oxeyegames.com/wiki/index.php?title=FrameUpdate&amp;action=history"/>
		<updated>2026-04-04T19:59:58Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://oxeyegames.com/wiki/index.php?title=FrameUpdate&amp;diff=361&amp;oldid=prev</id>
		<title>Thewreck: Created page with '{{EngineHook| frameUpdate | This hook is called everytime the game needs to be updated. Things that change over time should be performed here. | {{MethodParam|time|A number|This ...'</title>
		<link rel="alternate" type="text/html" href="http://oxeyegames.com/wiki/index.php?title=FrameUpdate&amp;diff=361&amp;oldid=prev"/>
				<updated>2010-01-19T12:44:50Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;{{EngineHook| frameUpdate | This hook is called everytime the game needs to be updated. Things that change over time should be performed here. | {{MethodParam|time|A number|This ...&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{EngineHook|&lt;br /&gt;
frameUpdate&lt;br /&gt;
|&lt;br /&gt;
This hook is called everytime the game needs to be updated. Things that change over time should be performed here.&lt;br /&gt;
|&lt;br /&gt;
{{MethodParam|time|A number|This is the time passed since the last frameUpdate, in seconds.}}&lt;br /&gt;
}}&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  local totalPassedTime = 0&lt;br /&gt;
&lt;br /&gt;
  local function updateMyGame(time)&lt;br /&gt;
    totalPassedTime = totalPassedTime + time&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
  hook.add(&amp;quot;frameUpdate&amp;quot;, updateMyGame)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Thewreck</name></author>	</entry>

	</feed>