Jump to content
Xtreme .Net Talk

Recommended Posts

  • Administrators
Posted

Positioning, pathfinding etc would probably be easier if they were the same size or smaller.

That way a tile is either walkable or not - removes the need to do alot of collision detection just to determine if a route is traversable. Some collision detection will be required to prevent objects moving through the edges of non-passable tiles though.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

thanks a lot - i made my tiles 30x30 and it works!

i stored all my tiles into a boolean array (Passable[me.width/30,me.height/30]

and set them to true/false depending on whether they were walkable or not

 

thanks

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...