Timeline for Moving around/avoiding obstacles
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Dec 7, 2021 at 15:34 | history | edited | Pikalek | CC BY-SA 4.0 | broken link fixed, corrected minor typos, removed edit break |
| S Dec 7, 2021 at 15:34 | history | suggested | Glorfindel | CC BY-SA 4.0 | broken link fixed |
| Dec 3, 2021 at 11:49 | review | Suggested edits | |||
| S Dec 7, 2021 at 15:34 | |||||
| Feb 23, 2011 at 18:33 | vote | accept | user | ||
| Feb 23, 2011 at 17:50 | comment | added | brainydexter | It really depends. Thought: divide your world into a grid of 32 x 32 which would then represent positions in a 2D array. For example, in your case: red dot is at 120, 120 pixels (or 120/32 x 120/32 : 3.75 x 3.75) 3.75 x 3.75 represents a position on your world-grid (or 2D array). Since arrays are indexed by integers, you only want integer part of it. Thus, the red dot would be at 3 x 3. Hope this helps | |
| Feb 23, 2011 at 17:38 | comment | added | user | This A* algorithm article seems to be what I was looking for, but unfortunately what I still don't know is how to divide my "world" into grids :S | |
| Feb 23, 2011 at 17:36 | vote | accept | user | ||
| Feb 23, 2011 at 17:37 | |||||
| Feb 23, 2011 at 17:36 | vote | accept | user | ||
| Feb 23, 2011 at 17:36 | |||||
| Feb 23, 2011 at 17:03 | vote | accept | user | ||
| Feb 23, 2011 at 17:29 | |||||
| Feb 23, 2011 at 16:25 | vote | accept | user | ||
| Feb 23, 2011 at 17:03 | |||||
| Feb 23, 2011 at 15:51 | history | edited | brainydexter | CC BY-SA 2.5 | added a simpler idea |
| Feb 23, 2011 at 15:43 | history | answered | brainydexter | CC BY-SA 2.5 |