Hey guys, recently I have been getting into a lot of Java game development after a semester course on Java at university. I’m doing everything in my own spare time and sometimes it’s hard to wrap my head around the more technical aspects of the language.
I have been experimenting with the Slick2D library and have been having a lot of fun making small games based off this Entity Engine Tutorial --> http://slick.cokeandcode.com/wiki/doku.php?id=entity_tutorial
Now the problem I have at the moment is creating a isometric “board” built by separate diamonds. What would be the best way for me to do this? Rather, what would be the most efficient way to do this?
I know how I can store the tiles in a 2 dimensional array based on this --> http://www.java-gaming.org/topics/drawing-isometric-tiles-inside-a-screen/24922/view.html
However what I don’t understand is how I should go about implementing this code.
Should I create a new TileMap class that builds the map in another class?
If so how do I go about re-using the one image over and over without creating a new entity every time?
I think I’ve hit a bit of a wall, and am getting confused with the complexity of some object oriented aspects of coding in general, I am very new!
Any help would be very appreciated! ( Sorry if I’m rambling, I REALLY want to get this stuff!!! )