Friday, January 13, 2012

Chapter 5 To Graph or Not To Graph

Chapter 5 (I skipped Chapter 4 for now) is coming around and taking shape as an iPad app since I need more screen space. Dont really have an iPad but the simulator is fine for this I guess for now. 
So far I have been able to get the graph and tiles displayed. This time I am working the other way around (which is probably the right way). I started by analyzing the main.cpp file and building the methods and functions in incremental way. Has really helped in making the work move faster. I am also using Interface builder to create the main screen. So I have had to spend some time learning UIView programming and UIViewController programming. The last chapter I completed just used a simple view to do all its work so not much view programming. Still its been 20 days since I last posted and I got delayed due to travel and sickness. But here is a screenshot of the app so far! 
























Whats remaining now is to actually start drawing the graph paths for each algorithm and also get the obstacles, water and mud tiles (for cost based paths) working. This is probably the meat of the work. But hopefully I can finish it and move on or move back to Chapter 4 before hitting the road block chapters of 6 and above.

1 comment:

  1. Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. 그래프게임

    ReplyDelete