<?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-371408380585915800.post1696293703597149277..comments</id><updated>2011-06-27T01:53:59.012-07:00</updated><category term='C++'/><category term='self promotion'/><category term='code management'/><category term='Lion'/><category term='UIKit'/><category term='CoreAudio'/><category term='Cocoa Touch'/><category term='Xcode'/><category term='fun hacks'/><category term='CoreGraphics'/><category term='Objective-C'/><category term='Standard C'/><category term='graphics'/><category term='performance tests'/><category term='Core Data'/><category term='Foundation'/><category term='object-oriented design'/><category term='testing'/><category term='numerical methods'/><category term='WebKit'/><category term='CoreAnimation'/><category term='Snow Leopard'/><category term='AppKit'/><title type='text'>Comments on Cocoa with Love: An Asteroids-style game in CoreAnimation, Part One...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cocoawithlove.com/feeds/1696293703597149277/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/1696293703597149277/comments/default'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/02/asteroids-style-game-in-coreanimation.html'/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</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://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-2266257002018283884</id><published>2011-06-27T01:53:59.013-07:00</published><updated>2011-06-27T01:53:59.013-07:00</updated><title type='text'>Nice tutorial. This example demonstrates straight ...</title><content type='html'>Nice tutorial. This example demonstrates straight forward way to present a game content. However, it is interesting how the game design would look like if there were a separate menu mvc (with xib interface). Matt, do you have any ideas how should the clean design look like, made of three MVSs: main app delegate, menu mvc and game content controller (mvc)? It is obvious that all games need some general methods for loading/saving game data, restarting/resuming and etc. Everything is clear when the game is a straight forward - main app delegate with window and game mvc. The main app delegate handles  such events as applicationDidBecomeActive: and applicationWillResignActive: and uses all game prep methods there. Now, the situation is a little bit different if we have a menu mvc (for example built with interface builder). Both, main app delegate and menu class needs to point to the same game controller object. But the question for me is, how and where should the game be restarted, resetting the game content object and both pointers (app main delegate and menu)?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/1696293703597149277/comments/default/2266257002018283884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/1696293703597149277/comments/default/2266257002018283884'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/02/asteroids-style-game-in-coreanimation.html?showComment=1309164839013#c2266257002018283884' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</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://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2009/02/asteroids-style-game-in-coreanimation.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-1696293703597149277' source='http://www.blogger.com/feeds/371408380585915800/posts/default/1696293703597149277' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-2522423032185694709</id><published>2010-10-01T16:21:17.000-07:00</published><updated>2010-10-01T16:21:17.000-07:00</updated><title type='text'>Core animation is great, but i still prefer OpenGl...</title><content type='html'>Core animation is great, but i still prefer OpenGl cause it is cross plateform. &lt;br /&gt;&lt;br /&gt;To my opinion, making the model into a singleton is not a mvc idiom anymore. You can call it, anywhere and that&amp;#39;s not what we want. Moreover it&amp;#39;s seems that the implementation rely too much on the gameModel interface. I always stay in touch with my model via a custom observer pattern (and not by NSNotification even if there are made for it). But  i think i&amp;#39;m a little too psycho-rigid.&lt;br /&gt;&lt;br /&gt;As Alex said, i&amp;#39;m wondering the best way to implement a mvc philosophy in a game</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/1696293703597149277/comments/default/2522423032185694709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/1696293703597149277/comments/default/2522423032185694709'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/02/asteroids-style-game-in-coreanimation.html?showComment=1285975277000#c2522423032185694709' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</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://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2009/02/asteroids-style-game-in-coreanimation.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-1696293703597149277' source='http://www.blogger.com/feeds/371408380585915800/posts/default/1696293703597149277' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry></feed>
