I Hope this is the correct Section.. :\
i am working on a mini mario project.. and i have create the mario and all of sprite sheet frames , the (moving) background but i have one question about the map..
i search on the web and i found a very good way to represent items on the Screen using a text file using characters which will represent specific BufferedImage on the screen in a spesific place.. but all this will be only in background so i should use an background image instead of painting all this ? i have an arrayList with objects which i draw on screen and i draw every piece on background.. so should i avoid that by creating just an image? or to keep it like this?
now one more question.. i have a Class GameMap which i have all the background staff of the game which i draw on the Screen again and again.. but all this has no effect with user Player(mario) so i should create an new class with object which has effect like boxes enemies etc? or put all this in GameMap class and then find the collision with the cords of the drawing images?