Tag Archives: separation of concerns

cocos2d meets MVC – wrap up

This post is going to be short. If you have any questions regarding the previous parts or something is unclear please let me know. I have some contract projects going on (which going to be HUGE!!!) so not so much time for blogging. To wrap up the previous parts: We implemented the Model which helps [...]
Posted in idevblogaday, iPhone | Also tagged , , , , , , , | 2 Comments

cocos2d meets MVC – Implementing simple board game part 3

This is the 3rd part from the series how to build a simple puzzle game using cocos2d and MVC pattern. If you haven’t read previous parts I suggest you do it before reading this post: cocos2d meets MVC part 1, cocos2d meets MVC part 2 Updating the Model When the user touches the toolbox item [...]
Posted in idevblogaday, iPhone | Also tagged , , , , , , , | 7 Comments

cocos2d meets MVC – Implementing simple board game part 2

In the first part of the cocos2d meets MVC series I described how to start implementing MVC paradigm for cocos2d based board game. The first post only scratched the surface, we have prepared a skeleton but we still have a lot to do. Introducing model In the previous part we introduced the View and the [...]
Posted in idevblogaday, iPhone | Also tagged , , , , , , , , | 5 Comments

cocos2d meets MVC – Implementing simple board game part 1

This is a first part of a series of posts that aim to help to understand how we can build a game in cocos2d using MVC pattern (or its variation adapted to cocos2d programming model). This is a follow up post to the previous posts that I wrote some time ago so if you haven’t [...]
Posted in idevblogaday, iPhone | Also tagged , , , , , , , , | 8 Comments

How to implement MVC pattern in cocos2d game–part 2

My last post about implementing MVC pattern in cocos2d was definitely lacking some code examples. I must admit – I was writing it on my PC notebook when I was on a business trip and I didn’t have an access to my game source code. This is a follow-up post to the previous one, so [...]
Posted in iPhone | Also tagged , , , , , , , | 45 Comments