Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-07-2006, 10:43 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
writable attribute for tiles

If there was either an attribute that we could write to for the tile object, or if tiles could join a class, making a pathfinder would be made immensely more efficient since you wouldn't need a list to contain all the closed nodes (single tile or otherwise). I'm sure there would be other possibilities to this, but I'm only interested in pathfinding.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #2  
Old 05-08-2006, 04:27 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Dach
If there was either an attribute that we could write to for the tile object, or if tiles could join a class, making a pathfinder would be made immensely more efficient since you wouldn't need a list to contain all the closed nodes (single tile or otherwise). I'm sure there would be other possibilities to this, but I'm only interested in pathfinding.
Once you find a tile, add it to a list, and make sure it's not in the list? Though, yea, the only reason this would be really useful would be for level-editing purposes (they could store a tiletype as well, for broader pathfinding?)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.