Android Game - Program Structur problem

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Android Game - Program Structur problem

Postby samyboy » Wed Jun 30, 2010 12:18 pm

Hello,

I am currently writing a 2D game for the Android platform with my friend.
We're both juvelines with no Java background, not to talk about development on Android.

So my questions might appear trivial, but oh well...

I've made a basic Startmenu, also got the OnClickListeners up and running, but now I'm kind of stuck on how to go further, so I have a few questions:

- I have an "Options" button, when the user clicks that he should be able to choose different options, how would you realise that? Using a second Activity??? Where would you store the chosen options/settings?

- I have a "Start" button, how would you change the window and go to the "game" itself? Is that another Activity? I'm kind of irritated...

- And finally how would you code the whole game? We don't want to use OpenGL, rather just simple images we move around on the window... any keywords?

Thank you very much for your time.

Greetings,

samyboy
My Android Game Development Blog:

Android Game Development
samyboy
Developer
Developer
 
Posts: 40
Joined: Mon May 03, 2010 6:36 pm

Top

Re: Android Game - Program Structur problem

Postby blundell » Thu Jul 01, 2010 2:08 pm

Yes most applications are made up of multiple Activity's.

-Options button:
http://developer.android.com/guide/topi ... orage.html
http://developer.android.com/reference/ ... mmary.html

-Game development
This requires implementing a game loop
http://www.rbgrn.net/content/54-getting ... evelopment
Here is Googles own Game demo:
http://developer.android.com/resources/ ... index.html

I'm sure that'll fill in the most gaps for you
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Top

Return to General

Who is online

Users browsing this forum: No registered users and 5 guests