2D map with birdseye view

Problems with Canvas, OpenGL, etc...

2D map with birdseye view

Postby weebo123 » Thu Oct 20, 2011 4:36 pm

Hi,

I have recently decided to do some Android Game Development using Java. However I am having the below issue:

I am looking at creating a 2D birdseye view of a map where the user is basically working there way through it.

Is there a way that I can create the whole map in 1 go and store it somewhere. Then simply only display a certain section of that map during gameplay.
e.g map size =100 x 100 but user can only ever see 5x5 (which is zoomed tin to use up 70% of the screen).

I am thinking of using a 2d java array of bitmaps and using this array to draw onto a canvas. However, I am not entirly sure how to do this, as i would also like that every time the player moves their character forward a step, the next section of the canvas is drawn (always 5 x 5 regardless of whether they go left, right, straight or back).

Any help as to how I could go about doing this would be much appreciated.

Thanks
weebo123
Freshman
Freshman
 
Posts: 6
Joined: Thu Oct 20, 2011 4:33 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 2 guests