Hello,
I am currently working on a top down dungeon crawler-esque game, inspired by the iPhone game “Solomon’s keep”. The problem I am currently faced with is making the background move around the player. I understand how to make the level as a String, as well as how to use objects to create the walls, floors, exits, etc. The problem I am facing is trying to get all of the objects I create to move around the player, as the player stays in the middle of the screen.
I have a move class that can move every object, however, it seems like I have to call the move method for every object created under the actionPerformed class, and since the number of objects changes with every level there doesn’t seem to be a feasible way to do that.
If anyone knows of a good tutorial that explains this, or wants to take a shot at explaining it themselves, I would greatly appreciate it
Thanks in advance,
Dirnol