Thx Vlad, Robert, Jason, Martin!...
I have upgraded everything to XML... but my game it's not real time,
it's a turn based strategy =P... so for now it's ok with the
ImageViews, Buttons and all of this stuff to start... I mean, i've
never programmed on Java and it's my first project on android... I
Yes, use a SurfaceView!!!
At the beginning I also made the mistake using ImageViews. Use a
SurfaceView!!
Learn this:
http://www.droidnova.com/playing-with-graphics-in-android-part-i,147.html
Greetings, Martin
On 26 Feb., 00:58, Jason Arora wrote:
> I agree 100% with Robert. For a real-time vid
I agree 100% with Robert. For a real-time video game, you want to stay
away from High-level GUI components.
Kofa, it sounds like you are making good progress. Are you using a
SurfaceView to draw the world and cities onto yet?
I recommend that you do not work on the Game Menu yet. In my opinion,
t
Vlad and Kofa,
I have to say again that all of that high level stuff (layouts and
imageviews) is totally inappropriate for a real-time game. Consider
loading all graphics into bitmaps, running a logic thread and drawing
to a SurfaceView. You will have far superior performance and can do
anything
> ImageView[] var1 = new ImageView[4];
> var1[0].SetId(100);
Wouldn't work with any non-primitive type. You only get an array of
handles, need to initialize each object explicitly:
...
var1[0] = new ImageView(...)
var1[0].setId(100);
...
With regards to the 1st question, you can create an instance
First of all, sorry for the delay to reply...=P
I have just read your message... i have started already and I have
developed much I think =)
I will tell you what I have, I will focus on the "engine"(GUI):
a main menu with buttons, one with START GAME goes to another
activity, there another butt
That's a custom job, my friend. You will want to write this like any
normal video game, using GL or at least a SurfaceView. You will need
to track the touch movement and keep the world's position, which you
will then want to draw (clipped) along with all of the objects,
transformed to that positi
7 matches
Mail list logo