I am planning to make treasure hunt game which will contain particles effect,animation, Pinch Zoom or double tap Zoom and Scrolling. What will be the best to work with treasure hunt game. I mean smooth zoom , nice particle etc .. and also resources or some example because I am new to android this will be learning process for me. So what should I choose to go ahead with ?
Suggestions with reason will be appreciated because I need to know why canvas not or surfaceview or cocos2d not.
I’d suggest you to use a SurfaceView, because you needn’t work with Layouts and XML Files, so it’s faster than a custom Custom View or Android Layout, because of it’s hardwarenearness.
SurfaceView is also the most common way to draw in games, so you’ll find many tutorials on this in the internet()(for example the well done Droidnova tutorial).
It should be possible to recognize gestures with the abstract Surface View class onTouchEvent.
There are also some game engines, which are easy to use and sometimes even have a good performance, but they are often bad documentated and debugging is hard, if you doesn’t know the underlying source code, so I wouldn’t suggest them.