Hope to get some positive feedback on this one.I feel that NPCs was the biggest part of PacMan, I still have yet to do that, looking forward to it.Any update ideas or things that you think should be added to my TODO list, please comment with them.

Here's what I did for the map. I made a 2D array that stored the walls and bullets, and cycled through it in a constructor for the class "Level", and when it detects a pellet it adds a new one to the pellet list along with x and z coordinates, same with the walls.

Since the screen is going to be longer and wider than the array from above, I multiply the coordinates by 13 (the size of my sprites) to make them go in the right places. When I do collision detection with the walls, I draw rectangles around each piece of wall by cycling through the list, multiplying the x and y by 13 again to get the correct location, and using 13 as the height and width. Same thing with the pellets, except since they are only 4*4, I use 4 as the height and width instead of 13.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org