Saturday, March 28, 2015

java - In Slick2D, how can I generate a 2D platformer map from an image?


I'm fairly new to game development. I've been messing around with Slick2D. My map consists of rectangular objects. I want to use an image to represent my map, similar to this:


Level image


How could I generate a level from that image? As I said, I'm new to game development and am not familiar with terminology or procedures.


Bonus question: How could I also generate non-rectangular game objects from it?




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...