I would love my app to flip like Tabtale apps when moving to the next activity.
I have played around with page curl, animations, fade in and out.
Is there some sample code or math equation that l could use?
Please help out still new to android.
I think that they are using game engine like cocos2d or something similar and didn't implement it using page curl.
Related
I want to make an app, a kind of "Never have I ever" but with cards. When a "tricky" card appears I want to display an animation like that:
A image with text apears from the right side of the screen and stops on the centre. Waits a few seconds (3-4). In that waiting time it could size up a bit or something like that. Finally it goes out by the left side of the screen.
I have found out a similar animation in a game called Clash Royale.
http://i.imgur.com/8kB18dj.gifv
Thanks on advance.
*As note: I will develop it on Android Studio.
I need help doing it, examples por something like that. If you put the conde I will be thanked.
If I get you right, you want help with the basics of animation in android...
I know, that this is probably not exactliy what you wanted to hear or read, but you have to get into the huge topic 'animation' by yourself - I think you won't find someone, who does that specific animation for you.
A good way to start may be the following tutorial on how to make some real basic animation stuff:
YouTube Tutorial Part 62 (and the following)
I walked through this tutorial series by myself and it really helped me a lot.
Also this seems to be a good tutorial about animations.
Good luck and have fun!
I have done apps which uses only pictures and sound clips. What I want to do is to build an Android app which involves animation. I have seen many of the "Water effect" apps in play store, which has quite good animation effect. One of my them is "Koi Pond". I would like to do the similar kind of app for sand. The detailing of the animation should look good as we see and touch the real sand.
I'm new to animation stuff and have no idea about it. Can anyone please help me out with how to use the detailed animation for Android? I know that it is not possible only with java. Please refer me to any blogs/docs available on this stuff.
Thanx
For such effects (as used in Koi Pond) you will need several pixel shaders. To use it you will need to us OpenGL ES 2.0. I would recommend using a game engine like AndEngine for the basic setup and the shader usage. If you have no experience with shaders it won't be that easy!
I'm not sure if AndEngine is the best choice for that, but it is possible with it.
Check it out http://www.andengine.org/
There are also a couple of shader tutorials in the forum
At first for translate or some other simple animation you can use android native animation method , but for great things you can use , this , I think it's all you want ;)
Regards Hayk Nahapetyan
I am implementing an app in which i need to flip/pagecurl a pageview? how can i do that? I didnot find a solution for this. I searched a lot in google? Can any one help me on this?
Three possibilities I can think of.
You can implement it using cocos2d-x. There are a lot of scene's transitions which also contains the page curl animation you describe.
There is an open source project called android_page_curl which does this.
Depending on the android versions you are supporting, you can try RenderScript to create that animation.
I've been spending the last week to develop a little platform game with HTML5's canvas element.
I was thinking about trying to port my game to the Android platform, but came across a few questions.
I have never done any Android programming, nor Java!
Only Javascript and PHP - but belive I have a good understanding of programming in general.
Will I be able to use the same procedure for building my game? Here I mean, my way of drawing everything on the screen/canvas. The rest is just calculations, and should be easily ported?
Every game loop I draw the background image, all items, and both players.
What would be the best way to control a platform game on a touchscreen? I was thinking about detecting parts of the screen individually.
Finger on right side: Walk right
Finger on left side: Walk left
Tap screen: jump
2 Finger tap: place bomb
Any suggestions or links are appreciated. Let me know if you need to see any code or an example of the game.
I suggest you look into using cocoonjs with your experience in php/javascript. It is really new so there is not a lot of documentation but if you pick through there demo code I am sure you will be fine.
http://wiki.ludei.com/cocoonjs:devguide
Am not being specific here but I think you can look up on Appcelerator Titanium and Phonegap to write Android apps using PHP and Javascript. There is a difference between how they function and what they do, though.
Here are some links:
http://www.appcelerator.com/products/titanium-mobile-application-development/
http://www.phonegap.com/home
I have search a lot for page flip effect in android. I found some links. An example for flip without using OpenGL.
But I want to implement a 3D real page flip effect for android. same as This Or the effect you have seen in IReader for android.
According to my search OpenGL must be use for this. I also search some framework that provide the alternative of OpenGL. But at the end I found nothing.
So I am just want to start OpenGL for this. But I have never ever use OpenGL.
Can any one help me for page flip? some useful link, tutorials, Starting up for OpenGL in android etc...
I am using this code. Its really really perfect for any one to understand and use. Thanks a lot to Harism
GitHub Link for Page Curl Animation in android With OpenGL
here is the one i tried today itself and works fine. code.google.com