phil652 Posted May 3, 2015 Posted May 3, 2015 (edited) Let me explain what I want to do. I have an image containing a 2D grid like the image below and I want to put in an array in this format. ;x = wall(black cells and grey boxes), s= start (red circle), g = goal(blue circle), 0 = available path(everything else) $data[5][5] = [["x","x","x","x","x"], _ ["x","s","0","x","x"], _ ["x","x","0","x","x"], _ ["x","x","0","g","x"], _ ["x","x","x","x","x"]]Any ideas How I could do that. I tough I could maybe use the colors but I'm not really sure how to do this.I am new to Autoit and this forum so let me know if I need to add anything.<snip>Thank you Edited May 3, 2015 by Melba23 Removed game image
Moderators Melba23 Posted May 3, 2015 Moderators Posted May 3, 2015 phil652,Do NOT post this question a third time - our patience has limits.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts