{"author_name":"Thief","cat":"LD #22","comments":[],"epoch":1323951180,"likes":2,"metadata":{"p_key":"62745","p_author":"Thief","p_authorkey":"7041","p_urlkey":"98518","p_title":"Uploading my framework","p_cat":"LD #22","p_event":"LD22","p_time":"1323951180","p_likes":"2","p_comments":"0","p_status":"UPD5","us_key":"7041","us_name":"Thief","us_username":"thief","event_start":"1323993600","event_key":"8","event_name":"LD22"},"text":"<p>I&#8217;m planning to use my 2D framework (built on xna 4.0) for my LD22 entry, so here it is: <a title=\"http:\/\/www.dynamicarcade.co.uk\/downloads\/xna\/Dynamic2D\/Dynamic2D.zip\" href=\"http:\/\/www.dynamicarcade.co.uk\/downloads\/xna\/Dynamic2D\/Dynamic2D.zip\">http:\/\/www.dynamicarcade.co.uk\/downloads\/xna\/Dynamic2D\/Dynamic2D.zip<\/a><br \/>\n It&#8217;s very bare bones, but it basically works like this:<br \/>\n Derive from Game for your game, which is just like xna&#8217;s Game but with a few more features. The only real difference is game logic should go in UpdateGame() instead of Update(), and try to Draw using GameObjects instead of overriding Draw().<br \/>\n Derive from GameObject for all of your game objects.<br \/>\n Derive from GameObjectBase for object templates. Set GameObjectType and use ConstructInstance() on the template to create an instance of a game object from that template. Then set the object&#8217;s initial properties (like position) then call AddToGame().<\/p>","time":"December 15th, 2011 7:13 am","title":"Uploading my framework"}