Rolling Effect - Cocos2d - iphone

How would I go about making a sprite "Roll Up" like the app "Roll It Up" on the App Store?
Does anyone know? Can anyone lead me in the right direction?
Thanks

See this Mac Apple app. Here they used CoreImage. This might helps you.
http://developer.apple.com/library/mac/#samplecode/CITransitionSelectorSample/Introduction/Intro.html

This is incredibly basic. My "jerk" answer is this: Do some tutorials and learn how to use cocos2d.
My non "jerk" answer is this: You need to use CCTouchesBegan to find what is being touched, CCTouchesMoved to move the sprite (hint: touch position = sprite position), and CCAction methods for animating the sprite.
The best advice I can give is to go to this site RayWenderlich.com (iOS development tutorials)

Related

animation button moving in wheel like igun pro application for first screen iphone

I am newbie I stuck on one problem i want to make animation which have buttons and moving up and down as like wheel moving.You can see the application "iGun Pro" the same animation i want to make but i am not getting how to make this it's done in core animation or used open GL for the moving buttons.I am not interested now they given animation on text.So please help me if also try to give code or some reference example so i can understand batter.I am not getting how i will search on the web for this animation .Any help appreciated Thank You.
I am very sorry for my bad English.
Can you try this. The code is pasted here for moving a wheel up and down.
You can use the same logic to move the button too.
Link is here.

Adjusting the volume with a uislider cocos2d

Im trying to add a slider for the settings page in my game, i have looked around but there doesnt seem to be much info.
Anyone help at all?
Cheers
Maybe this thread on the Cocos2d forum will help you. It tackles the problem you describe. As a conclusion it says that:
It can only be done using MPVolumeView
Read this piece in the Apple Developer documentation for more about the MPVolumeView.

iPhone/iPad Flipboard Page Turn Animation?

I want to make an animation that is exactly the same as the Flipboard's one. I have tested Leaves and EPGLTransitionView on github, however, Leaves gives me the hand gesture but doesn't implement the page turn animation (its animation is like the iBook's one), and EPGLTransitionView doesn't implement the hand gestures.
Could anyone help me? Thanks in advance.
Sincerely,
Kai.
This github project might be what you are looking for: https://github.com/Dillion/iOS-Flip-Transform.

Flipboard animation

Does anyone knows how to build a flip animation like the flipboard app?
Thanks
If you mean the page flip transition, have a look at the OpenGL transition class I wrote.
https://github.com/epatel/EPGLTransitionView
I added a couple of example transitions and one of them are a "page flip" transition.
Have a look at FlipView, it tries to replicate Flipboard app for iPad
Some of the features implemented are:
Multiple flip (just click on last pagination if u r at first or second for multi-flip).
Views arrangement if orientation changed like Flipboard
Selection of random layout
Hopefully this link is of some help to you :D
I remember from watching an interview with the CEO saying that all the flipping boards and the animations are done using HTML5! I can not find it now sorry :(
I managed to find the non-broken link to FlipView example on github: https://github.com/Reefaq/FlipView
Hope it helps
I've been looking for the same for weeks. If you use the 'origami' transition in the ipad's photo app, you'll see that it has a very similar flipboard effect. Though someone with much more programming chops can probably give you the specifics, I think they use core animation. In it, you can define the anchor point and basically transform the uiview along the z axis.

making game in pad and iphone

Respected sir,
I need help .
If I want to make the object move only when the key(button) is pressed. what should I do to shift the position of the object on frames where the key is held down:-
If I pressed left or right button the object should move on that side .
thanks in advance .
It sounds as though you are quite early in the process of making a game on the platform.
A lot of the basics would be covered in a book on the subject which will take you through the steps one at a time.
A good such book is "Beginning iPhone Games Development" available from Amazon.
Alternatively you could have a look at the code examples Apple provides.
The Move Me example is a good starting point as it shows both user interaction and the movement of objects.
Good luck and, above all, enjoy.
Teo
There is a fantastic page with tutorials from Mike and I guess you will find an answer there.
http://www.71squared.com/iphone-tutorials/