Game Shooting A Object

by vinny.s...@gmail.com » Tue, 02 Jun 2009 14:59:34 GMT


Sponsored Links
 Hi every one

I'm stater in game Development.
Can any Body Helps Me how to develop an application like  shooting An
object

thanks in advance
--~--~---------~--~----~------------~-------~--~----~



Game Shooting A Object

by Yusuf T. Mobile » Wed, 03 Jun 2009 05:06:41 GMT


 I will assume that you already know about application development in
general, and Android development in particular. If not, there are some
Android tutorials that can help you with those.

For shooting an object, your application will need to do three things:
1) "listen" for the user pressing a particular button or tapping on a
screen. FYI, some Android phones don't have QWERTY buttons just built
in, just the on-screen "soft keyboard".
2) draw the elements on the screen, such as spaceship, laser and
Martian. There are several ways to do this, probably using the
"canvas" class is the easiest:  http://www.designerandroid.com/?cat=3 
3) collision detection: this means using math to calculate when the
laser hits the Martian.

If you haven't already seen it, I would also recommend this fine
article: 
 http://www.rbgrn.net/content/54-getting-started-android-game-development 



Yusuf Saib
Android
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.





On Jun 1, 11:59pm, "vinny.s...@gmail.com" <vinny.s...@gmail.com>


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Game Shooting A Object

by Desu Vinod Kumar » Wed, 03 Jun 2009 13:36:20 GMT


 Thanks For Ur reply. It is very Useful information for me .......

By JBox2d can we do this type of animations in android . is it possible have
any idea about this

thanks in advance







-- 
Regards
-------------------
Desu Vinod Kumar
vinny.s...@gmail.com
09916009493

--~--~---------~--~----~------------~-------~--~----~



Game Shooting A Object

by Desu Vinod Kumar » Wed, 03 Jun 2009 13:48:30 GMT


 What i need exactly means
i need to know is there any framework for this 2d graphics in android

Thanks in advance

On Tue, Jun 2, 2009 at 12:29 PM, vinny.s...@gmail.com





-- 
Regards
-------------------
Desu Vinod Kumar
vinny.s...@gmail.com
09916009493

--~--~---------~--~----~------------~-------~--~----~



Game Shooting A Object

by Yusuf T. Mobile » Thu, 04 Jun 2009 03:07:08 GMT


 This is the Canvas class I was referring to:
 http://developer.android.com/reference/android/graphics/Canvas.html 

That will be where you start with 2D graphics on Android.


Yusuf Saib
Android
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.





--~--~---------~--~----~------------~-------~--~----~



Game Shooting A Object

by Andr茅 » Fri, 05 Jun 2009 03:12:08 GMT


 Hello Vinny.

I'm a starter too. I noticed theres an example called Lunar Landar
inside the samples folder of the SDK. I think its a nice place to
start.

Andr

On Jun 2, 3:59am, "vinny.s...@gmail.com" <vinny.s...@gmail.com>



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. configChanges and onConfigurationChanged()

Hello there ;)

I am still confused about configuration changes. I considered this a
bug in earlier API versions and didn't care much about it. But since
this behaviour is still the same in the 1.5 SDK, I wonder if I do not
misunderstand something completely... :/

If I want to handle a change of orientation on a device, I should be
setting android:configChanges="orientation" in the manifest and
implement the onConfigChanged() method of the corresponding activity.
We have already read several times that we also have to listen for
"keyboardHidden" changes on the G1. BUT I FAIL TO UNDERSTAND WHY ! And
it seems, there are others who don't understand this...

If my application does not care whether a keyboard is exposed or not -
why should I be listening for it at all ? I can assume two cases in
which this is going to cause serious trouble:

 - If more than "orientation|keyboardHidden" changes at once,
onConfigurationChanged() won't be called. Assume, a user crosses
country borders (MCC change) in exact the same moment, he changes
orientation... onConfigurationChanged() won't be called - the
application is broken :(.
 - Let's assume an upcoming device has some other configuration
property linked to orientation (which programmers don't know in
advance) - perhaps orientation and touchscreen, because a device has
some weird and limited type of touchscreen - onConfigurationChanged()
wouldn't be called either; the application would be broken and must be
adapted to that device. This rudely offends the resource abstraction
paradigma of the android platform.

In conclusion, to overcome this "design bug" (as I see it now), I
would have to listen for ALL configuration changes since I don't know
which devices (especially device configurations) will be used in the
future. This makes the configChanged property useless. But
unfortunately there is no "all" constant available for
android:configChanges and I am not able to enter numeric constants (a
bitmask); if in a later version of the android API another
configuration value is to be introduced, my workaround doesn't work
and my application is broken again D:.

Please prove me wrong or help me clarify this, before there are LOTS
of different devices out there... Thanks in advance ;)
--~--~---------~--~----~------------~-------~--~----~

2. Check during communication or not

Hi,
how to check phone is during communication or not in the program?
Thanks
--~--~---------~--~----~------------~-------~--~----~

3. Is tool kit required

4. Problem with the dynamical behaviour of my viewAdapter

5. Execute exe in android

6. Is it possible to send a log file via mms or email without user interaction?

7. porting android to omap3 evm---edge modules