Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Is there a way to render 2D maps (eg, such as in *.Tmx) where each unit will have its use, durability, animations and other functions that are assigned to that block?

The block is it one field in map such as grass, and now player can dig the grass, after digging this block is removed from the map. block disappears and appears free space

I am looking for a way to create an interactive map where each element (a block) may be edited, and he executes functions(Animations, etc)

I use slick2d

share|improve this question
3  
Your question is very vague. What is a unit? What are these attributes? What are functions? What is a block? What does any of that have to do with a map? – Seth Battin Apr 13 at 1:02
The block is it one field in map such as grass, and now player can dig the grass, after digging this block is removed from the map. block disappears and appears free space I am looking for a way to create an interactive map where each element (a block) may be edited, and he executes functions(Animations, etc) I use slick2d – OnlyOneShot Apr 13 at 9:29
Ok, that makes a little more sense. Unfortunately this site's format really can't give you a start-to-finish tutorial. You want to build a game with a dynamic environment (2d? 3d? isometric? platformer?), and you are starting at square one. Google it. When you run into problems implementing that tutorial, come back here for help with your specific problem. – Seth Battin Apr 13 at 17:06

closed as not a real question by Byte56, Patrick Hughes, Jari Komppa, bummzack, msell Apr 13 at 11:36

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

Browse other questions tagged or ask your own question.