Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please help me! I am thinking of generating different terrains environment every time the game loads again. But i am thinking of loading or drawing a image containing all the units like river, land and tree. Then the checking of obstacles against the units like boat, car and plane. I have done lots of research but i am struck on how to do it. Please help me.

share|improve this question

closed as not a real question by Byte56, Josh Petrie, Laurent Couvidou, Trevor Powell, Tetrad Feb 2 '13 at 1:40

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, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

What you've described could be literally anything in a game. What exactly are you asking? – Anko Jan 22 '13 at 18:32
Check out the FAQ for some discussion oriented sites. Where to get started questions should be asked there. – Byte56 Jan 22 '13 at 19:41

The question is a bit general so here's a general answer. gives a tutorial on using a tilemap ( within your game. You can dynamically change tiles, etc. Each tile may have properties, such as which objects are stored within it, or whether it is water (in which case you'd only let a player swim or use a boat, but not drive a car) or whether it's a tree (in which case you can't walk through it) etc. If you want a more specific answer you'll have to provide a more specific question.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.