Hello JGO,
I’ve gotten back into game development, and I’ve already ran into an issue. In this game, when the player/enemy runs into the “e” square (I’ve been focusing more on the code than art, so the tile’s an E as of right now), I want it to disappear. The collision and such works fine, and one of the players deletes the tiles fine, but when I try to use the other player, it does this (Ignore all the boxes on the side, they’re for debug purposes):
Yeah. The error Eclipse gives me is this: http://pastebin.com/3vcTQZ89
Here’s the code to remove the tiles: http://pastebin.com/WPudwYY8
Am I doing something wrong? If so, what is it? This may be a very simple problem to deal with, and I’m just not looking hard enough. If the provided code is not enough, I’ll answer questions.
Thanks,
DarkCart