I am developing an android game where balls are floating on the screen or falling from above.
I have no idea on doing this animation as i am new to android, can you guys help me with this animation thing on how to do this.
I want to make the balls fall from above
Try android game engines, they are set of classes to develop games. try andengine thats the best one i know but not a nice tutorial is available although you can see examples and learn from them.
Related
I recently came across Android Animation Interpolater and it quite works for me .
But other than that
--what is the way to do it, or is there a library for the same purpose ?
Try this library...
very small and simple to use.
https://github.com/plattysoft/Leonids
I'm looking for a 'basic' AR SDK that allows me to draw images and 3D shapes around the user (no matter where he is). It would be even better if the SDK includes a simple way to detect interaction with the shapes (something like onClick).
I made a project from scratch on Android but there's still a lot of work to do and I'll need to do the same on iOS after... So that's why I'm looking for an SDK or a similar project (no matter what platform).
I tested Metaio but it's quite expensive and maybe overkill for my purpose because it uses LLA coordinates.
I tested DroidAR on Android but it's only for Android and it looks heavy too (don't need the GPS).
How about Qualcomm's Vuforia? I was able to quickly get a sample project running on it.
EDIT Looks like I was wrong about what it could do. According to this (which is slightly dated, so who knows) Metaio might be your only choice.
i really don't sure what you really want to do ..but if you simply show images or 3d models on camera without any detection you can achieve this very easily i am explaining for Android and you can extend it to ios on same logic.
first approach:
you have to use custom camera of Android in your app,then use any game engine as per your need..i will suggest Jpct-ae or Rajawali
they are very simple to integrate and can be used for 2d images and 3d models.
this tutorial will explains a lot
keep the gl-surafce transparent and you can have model floating in space ...
second approach :
to add some more effect to your AR app you can use sensor values to move model in 3d space as per movement of device..it gives a cool effect.
use first approach and additionally collect sensor values and apply that matrix to gl camera of your game engine..for sensor values follow here
good tutorial here..
i hope this may help you..i done these a long time ago but try to help if you want..
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
Hi can anyone I am trying to make a game that uses a dpad. I have been playing gmaes that have them but can't find any good reference's. Am I wrong to be trying to create buttons to do this? I am new to android.
A lot of game engines have provisions for d-pads, I think http://www.andengine.org has one.
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