You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to HTML5 Game Development
i just want to know how to move player with mouse click, but with
'blocks' in map, like the sims, the player 'chose the best way to get
there'.
how do to it in javascript + canvas [html5] ?
Szymon Piłkowski
unread,
Feb 14, 2012, 1:12:40 PM2/14/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to html5-game-...@googlegroups.com
Hi, You should read about A*: http://en.wikipedia.org/wiki/A*_search_algorithm There are existing javascript implementations, but seriously, you'll learn a lot if you try to write your own. At least I did. :)
Szymon
-- Szymon Piłkowski :-: http://twitter.com/ard "To, co nazywamy normalnością, to tylko krąg światła wokół ogniska"
Joshua Farrar
unread,
Jan 2, 2015, 3:07:56 AM1/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message