Jump to content




Mapreader


  • You cannot reply to this topic
No replies to this topic

#1 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 02 July 2014 - 04:26 PM

I've created an api that takes a table of multiline strings and turns it into a function that moves the turtle from start to end. Mark the starting position with "X", continue the path with #, and go up and down by using "U" or "D".
nerd explination

There is only one function: mapreader.path( table[, yield] )
if yield is true, the function will need to be called again for each movement, allowing you to add more code if you like.
the code

pastebin get XPYenpku mapreader

Screenshots & example code coming soon





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users