I have been working on a Puzzle game,(basically its Like Portal in 2d). the main Ideas is going to be to get a Box on a button so that you can get out the door. But I ran into a design problem with the Tile engine. How its works is it calls entities from an array in the Tile file so as to get there id’s and then compairs them to a .txt file to see were they go.
I designed the Door and Button to be Tiles and then I would use another Tile called wireTile. basically it calls every tile of one sort through the same class, so I cant have a perminiate x, or y to any Tile. Do you know anyway to give each tile a more permintate position?
Level.java
http://www.java-gaming.org/?action=pastebin&id=286
Tile.java
http://www.java-gaming.org/?action=pastebin&id=287
here is my Tile and level code.