<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3717133688018454834.post22433261955653771..comments</id><updated>2011-06-14T09:20:54.186+01:00</updated><category term='flash'/><category term='processing'/><category term='meetup'/><category term='courses'/><category term='javascript'/><category term='html5'/><category term='web'/><category term='multiplayer'/><category term='3d'/><category term='atari'/><category term='books'/><category term='confernces'/><category term='development'/><category term='free'/><category term='ActionScript'/><category term='amiga'/><category term='meta4orce'/><category term='github'/><category term='events'/><category term='art'/><category term='benchmarks'/><category term='open source'/><category term='creative commons'/><category term='inspiration'/><category term='XNA'/><category term='help'/><category term='papervision3d'/><category term='c#'/><category term='extendedplay'/><category term='iphone'/><category term='devon'/><category term='plymouth'/><category term='frameworks'/><category term='git'/><category term='gamedev'/><category term='tips'/><category term='animation'/><category term='rss'/><category term='source control'/><category term='podcasts'/><category term='eclipse'/><category term='xbox'/><category term='code'/><category term='freelance'/><category term='unity3d'/><category term='sprites'/><category term='fdt'/><category term='iain'/><category term='blogs'/><category term='flash on the beach'/><category term='code generation'/><category term='cornwall'/><category term='javafx'/><category term='demos'/><category term='25lines'/><category term='FlashDevelop'/><category term='reviews'/><category term='multiuser'/><category term='java'/><category term='speaking'/><category term='silverlight'/><category term='maths'/><category term='flexsdk'/><category term='2d'/><category term='fix your time step'/><category term='blitting'/><category term='games'/><category term='molehill'/><category term='geek'/><category term='away3d'/><category term='gamepad'/><category term='pv3d'/><category term='mvc'/><category term='character design'/><category term='game design'/><category term='flexbuilder'/><category term='monetisation'/><category term='fotb'/><category term='opinion'/><category term='software'/><category term='twitter'/><category term='scaleform'/><category term='design'/><category term='experimental'/><category term='what-if'/><category term='bunnies'/><category term='windowsphone7'/><category term='talks'/><category term='svn'/><category term='competitions'/><category term='oldschool'/><title type='text'>Comments on Iain Lobb: Understanding Game Time Steps - Your 3 Options</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.iainlobb.com/feeds/22433261955653771/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3717133688018454834/22433261955653771/comments/default'/><link rel='alternate' type='text/html' href='http://blog.iainlobb.com/2010/07/understanding-game-time-steps-your-3.html'/><author><name>Iain</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3717133688018454834.post-9085999090501905351</id><published>2010-08-02T13:55:55.586+01:00</published><updated>2010-08-02T13:55:55.586+01:00</updated><title type='text'></title><content type='html'>This comment has been removed by a blog administrator.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3717133688018454834/22433261955653771/comments/default/9085999090501905351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3717133688018454834/22433261955653771/comments/default/9085999090501905351'/><author><name>Patrick</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.iainlobb.com/2010/07/understanding-game-time-steps-your-3.html' ref='tag:blogger.com,1999:blog-3717133688018454834.post-22433261955653771' source='http://www.blogger.com/feeds/3717133688018454834/posts/default/22433261955653771' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1569035069'/></entry><entry><id>tag:blogger.com,1999:blog-3717133688018454834.post-344671873921662765</id><published>2010-07-29T18:54:41.557+01:00</published><updated>2010-07-29T18:54:41.557+01:00</updated><title type='text'>Thanks for your input Al. After Mike and your grea...</title><content type='html'>Thanks for your input Al. After Mike and your great contributions I think I will definitely take another look at delta time. &lt;br /&gt;&lt;br /&gt;Fix your timestep also syncs with real time by the way, even if the CPU slowed right down to 1 fps, so that would have also stopped your cheats (and probably crashed their computer). Competitions shouldn&amp;#39;t rely on client-side logic anyway as Flash is too easy to RAM hack etc.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3717133688018454834/22433261955653771/comments/default/344671873921662765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3717133688018454834/22433261955653771/comments/default/344671873921662765'/><link rel='alternate' type='text/html' href='http://blog.iainlobb.com/2010/07/understanding-game-time-steps-your-3.html?showComment=1280426081557#c344671873921662765' title=''/><author><name>Iain</name><uri>http://blog.iainlobb.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.iainlobb.com/2010/07/understanding-game-time-steps-your-3.html' ref='tag:blogger.com,1999:blog-3717133688018454834.post-22433261955653771' source='http://www.blogger.com/feeds/3717133688018454834/posts/default/22433261955653771' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-578054028'/></entry><entry><id>tag:blogger.com,1999:blog-3717133688018454834.post-7332193642142565506</id><published>2010-07-29T13:23:16.843+01:00</published><updated>2010-07-29T13:23:16.843+01:00</updated><title type='text'>Option 1 is essential option 2 with a deltaTime of...</title><content type='html'>Option 1 is essential option 2 with a deltaTime of 1.  Using the deltaTime is really the only way to keep Flash game responsive.&lt;br /&gt;&lt;br /&gt;Gaffers technique is great - but you must remember we have 1 thread in Flash and if we sit in a while loop (or multiple in the final method) for longer than the number of MS for a frame we end up in with a non-responsive game - as you mention.&lt;br /&gt;&lt;br /&gt;By using deltaTime we are not limited to a Euler integrator, which as Mike says, is generally enough for simple games.  For rigid-bodies, springs and so on we can use Runge-Kutta, LeapFrog (Velocity Verlet) and so on to perform each step.  This keeps things from exploding due to inaccuracies.&lt;br /&gt;&lt;br /&gt;Furthermore if you ever add a high-score to your game based on a timer, you must use deltaTime as there are tools to slow the CPU for cheating.  As we found out on a certain soft-drink site.&lt;br /&gt;&lt;br /&gt;Great site btw!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3717133688018454834/22433261955653771/comments/default/7332193642142565506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3717133688018454834/22433261955653771/comments/default/7332193642142565506'/><link rel='alternate' type='text/html' href='http://blog.iainlobb.com/2010/07/understanding-game-time-steps-your-3.html?showComment=1280406196843#c7332193642142565506' title=''/><author><name>Al</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.iainlobb.com/2010/07/understanding-game-time-steps-your-3.html' ref='tag:blogger.com,1999:blog-3717133688018454834.post-22433261955653771' source='http://www.blogger.com/feeds/3717133688018454834/posts/default/22433261955653771' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-382960028'/></entry><entry><id>tag:blogger.com,1999:blog-3717133688018454834.post-6171816412755135365</id><published>2010-07-27T02:44:10.975+01:00</published><updated>2010-07-27T02:44:10.975+01:00</updated><title type='text'>FWIW, I&amp;#39;ve found that option 2 with plain Eule...</title><content type='html'>FWIW, I&amp;#39;ve found that option 2 with plain Euler integration is actually very safe for most games.  You start running into problems only when a) your framerate varies wildly or b) you are trying to have very realistic physics.  I&amp;#39;ve been getting away with it so far anyway :)&lt;br /&gt;&lt;br /&gt;You an also use this trick to avoid the worst of Euler integration: http://www.niksula.cs.hut.fi/~hkankaan/Homepages/gravity.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3717133688018454834/22433261955653771/comments/default/6171816412755135365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3717133688018454834/22433261955653771/comments/default/6171816412755135365'/><link rel='alternate' type='text/html' href='http://blog.iainlobb.com/2010/07/understanding-game-time-steps-your-3.html?showComment=1280195050975#c6171816412755135365' title=''/><author><name>Mike</name><uri>http://excitemike.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.iainlobb.com/2010/07/understanding-game-time-steps-your-3.html' ref='tag:blogger.com,1999:blog-3717133688018454834.post-22433261955653771' source='http://www.blogger.com/feeds/3717133688018454834/posts/default/22433261955653771' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1259509149'/></entry></feed>
