Paging UIScrollView doesn't work :( (iPhone, cocos2d) - iphone

I found this:
http://www.cocos2d-iphone.org/forum/topic/9417
but the project doesn't works with iOS 4.x and cocos2d 0.99.5.
Can someone share a working project? or get it work?
Thank you very much for any help.
PS: I will vote up any helpful answer and the one who will share a working project gets the accepted answer.

Hi
I don't have time (right now) but I will try to use the one you have linked and post the working project because I will be in need of this in near future.
I used http://brandonreynolds.com/blog/tag/angry-birds-menu/ once.
Edit:
If you read that topic at cocos2d forum, a person named "blackmouth" have posted a working project.
This is the link : https://github.com/blackmouth/shapes-panels

Related

Working with Multiple Views in Xcode 4?

I'm doing some tutorials on iPhone development and I am working with window based applications to create an app with multiple views (The tutorial I'm using is from TheNewBoston 21-26). I'm currently using Xcode 4 to make these apps but I'm having trouble because Bucky uses Xcode 3 and there seem to be some differences. Every time I try to make this app, I end up with a blank white screen. I follow the instructions correctly watched the videos multiple times but still nothing happens. Even when I make my own simple window based application it does not seem to work. I think it may have something to do with connecting the views with the MainWindow. If you have somehow gotten this to work using only the instructions from the video can you please give me a link to a website or video that has a simple multi-view tutorial. If Xcode 4 no longer allows this method of working than can you please explain how to get around it. Thanks so much, I really appreciate you helping me. I know I'm new and this is a really basic question but it has been giving me a hard time. Thanks again!
Welcome to iOS development! :) I haven't worked the specific tutorial which you mention, but there's certainly many many others around the web which you could refer to.
Here's just a couple off Google when I looked around a bit regarding handling multiple views through a NavigationController which look detailed enough with good guidelines;
http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/
http://fuelyourcoding.com/iphone-view-switching-tutorial/
If you're totally new, I would totally recommend getting your hands on some iOS development book (its worth the investment!); there are many; and they outline the process in good detail from start to finish. If you're unfamiliar with the whole process, there are many minor things that can go wrong and create frustration.
Happy coding! :)

PanoramaGL on iOS 4.0

Has anybody used the panoramaGL from http://code.google.com/p/panoramagl/ ?
How did you setup the project?
I have changed the base sdk to 4.0 but I am getting 75 errors.
If not is there any free library to do 360 photo on iPhone?
The last version of PanoramaGL runs fine on iOS 4 or better. Please check http://code.google.com/p/panoramagl/ and download HelloPanoramaGL example that uses hotspots.
There is a sample Xcode project source code called HelloPanorama in the Downloads section of the PanoramaGL. It is very self explanatory, but here is a walk thru tutorial.
The non-ARC errors for a project with ARC could be fixed using the following instructions. If you'll get any ** errors, just replace **variableName with *__autoreleasing *variableName.
That did it for me.
Note: also if your PLSpherical2Panorama class renders a messed up panorama, you need to have at least one hotspot on it to fix it. Took me some time to find out.
Not a real answer but look here and here. Although the guy behind PanoramaGL is still working on the lib, It seems that people consider It sort of deprecated. I managed to correct lot of the errors to have It compile well on my iPad, but the user experience looking around the panoramic photo, it's not so good like I'd like It to be. The documentation about the tesselation algorithm It's not easy, so I preferred starting over.
In order to avoid having the hotspot image in the middle of the image you can use this. It's an empty image and it's completely transparent :) http://it.wikipedia.org/wiki/File:ImmagineVuota.png

NyArToolkit for iphone

Does anybody have a WORKING copy of NyArToolikit augmented reality port to iPhone? I've read the article http://www.morethantechnical.com/2009/07/01/augmented-reality-on-the-iphone-using-nyartoolkit-w-code/comment-page-2/#comment-380.
Tough I've been unable to figure out the missing parts to make it work. For instance what should be "3DGraphicsView.h" and "3DGraphicsView.m". There's no such file on the code and it seems not to be mentioned on the article text.
Thank you!
Moving ahead to iOS4 SDK options. NyArToolkit for iPhone (this specific implementation) won't work on OS3+.
Did you check https://github.com/omeryavuz/VRToolKit for augmented reality iphone working demo?
Bug fixed https://github.com/benlodotcom/VRToolKit

Three20 TTLauncherView Tutorial?

I'm attempting to use TTLauncherView from the Facebook Three20 project in my app, but I'm not having much luck (I'm a bit of a newbie at this). Does anyone have any good tutorials at using it that I could read?
FYI basically I need to pull images that a user chooses from the iPhone camera album, and display them as icons that when pressed lead to another view.
Thanks.
you can start studying TTCatalog sample project that comes with three20 library.
Right now I'm working with a improved version of the three20 made by Rodrigo Mazzilli, you can find it here (http://github.com/rodmaz/three20).
rodmaz's version is a fork from the original project and it comes with some improvements, specially in TTLauncherView. It has a new class called TTLauncherViewController which is easier to use, take a look at his demo project TTCatalog.
http:// three20.info/ is a good collaborative site with some tutorials, but it doesn't have much information about TTLauncherView at this moment.
Finally, you should join three20's google group at http:// groups.google.com/group/three20 where you find hundreds of developers using this library.
best
http://iosguy.com/2010/10/19/tthree20-a-brief-ttlauncherview-tutorial/

How do i use cocos2d with Xcode?

I downloaded the lastest version of cocos2d but I am confused as to how to use it with my current project. Can anyone show me how to use it with xcode. I'm looking to design a 2D maze. Do i have to import something ? Any sort of help would be appreciated.
Yes, you need to drag the cocos2d files into your project, then they will be available.
This is a very helpful step-by-step resource on how to do that.
http://monoclestudios.com/cocos2d_whitepaper.html
As far as designing your game, get started, play around, and look at the sample code. There are also very helpful folks on the message board.
http://www.cocos2d-iphone.org/forum/
Good luck!
For the latest version of Cocos2D-iPhone (0.8.1) I've put together a tutorial at:
http://www.antonmills.com/?p=233
It includes everything you need for setting up the Xcode template, adding sprites and a small animation loop in a Hello World type of application, might be helpful :)
also deffinitely check the forum John posted, very helpful lot :)
Cheers,
anton.