Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   2D map with birdseye view (http://www.go4expert.com/forums/2d-map-birdseye-view-t26991/)

weebo123 21Oct2011 20:43

2D map with birdseye view

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 :)

shabbir 21Oct2011 20:58

Re: 2D map with birdseye view
Duplicate of 2D map with birdseye view. Thread closed.

Avoid having the same thread in multiple sub forum

All times are GMT +5.5. The time now is 10:52.