Hello coders. as i said in my previous post, i am attempting to create a side-scrolling platformer. my issue now is collision detection. what i am attempting to do is create a bitmap in paint that wont be the real background, but will color-code the map. all i need to do is to have something "read" the .bmp. it needs to do this by taking multiples of (5,5) pixels and depending on the color, input data into an array. i've attaqtched a picture of my first map i've created. hopefully it helps.
green = non-moveable area (floor/walls)
lime = floor you con jump through from botom to top, but can walk on
brown = ladders, ropes
yellow = doors
gold = move to next area
green = non-moveable area (floor/walls)
lime = floor you con jump through from botom to top, but can walk on
brown = ladders, ropes
yellow = doors
gold = move to next area