Creating a civilization game in java SWING best way to place the map on screen? -


I am making a game of civilization for a project, just thinking that this is a .map example, For example, t000 = "aaaaaaaaaaaaaaaaaaaaaa" will be the area for the Arctic.

I just ask that what is the best way to see the map to see in Java SWING, because what I'm doing right now is creating the 2D array of the Jabaton and the geo The section is inserted in the image

Consider using image impressions for the background of each area, and then maybe making a grid of JAlabel, holding each image icon It has been that which corresponds to the right area.

Edit
If your phantom remains on a tile, add it to the tile as a component (just make sure to give JLable a decent layout manager) . If the phantom is to be carried on tiles, then it should be drawn in a separate layer, either on the upper level glass of glass or in Jellierpen

Comments