Re: lingo-l Oops

2003-11-18 Thread Mathew Ray
Hi Rodrigo,

For moving a character around in a tile-based environment, search for 
resources on pathfinding or a* searches. There are many theoretical 
approaches for what the cs people call search trees or shortest-path 
algorithms, but a* is guaranteed to find a solution with the drawback 
that it takes longer than more approximation-based approaches. I know I 
did a bunch of research on this a couple years ago and ended up using 
the resources at gamasutra.com quite extensively, although now you may 
be able to find more director examples. I know grant skinner has some 
good actionscript code at gskinner.com, but it isn't completely accurate 
but the tradeoff is that it is very fast...may be easy enough to adapt 
to lingo. On the other hand, lingo may be fast enough to pull off a* 
without any issues - smaller 'rooms' will help. The smaller the number 
of tiles to search, the faster the path can be computed. Blocked terrain 
can be achieved by marking various instances of tiles as impassable, or 
having a very high movement cost, therefore coercing your avatar to walk 
around it.

~Mathew

Rodrigo Peres wrote:
Hi list,

Does anyone com point me in a direction, docs, tutorial anything that can
help to build interactions like this. With interactions I mean the ability
to control your avatar and don't cross walls, chairs etc.
www.habbohotel.com



Thank's

Rodrigo

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]



--
Thanks,
Mathew
..
Mathew J. Ray
Interactive Developer
IQ Television Group
tel: 404.255.3550
fax: 770.956.8014
..


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Oops

2003-11-18 Thread Martin Pallett
Hi,

Elia Morling posted a lingo implementation of A* on dirGames-L some time ago

http://www.tildruin.com/sourcecode.asp

terms of use and his contact information are on the site and in the download

Hope this helps,

Martin Pallett

At 09:17 18/11/2003 -0500, you wrote:
Hi Rodrigo,

For moving a character around in a tile-based environment, search for 
resources on pathfinding or a* searches. There are many theoretical 
approaches for what the cs people call search trees or shortest-path 
algorithms, but a* is guaranteed to find a solution with the drawback that 
it takes longer than more approximation-based approaches. I know I did a 
bunch of research on this a couple years ago and ended up using the 
resources at gamasutra.com quite extensively, although now you may be able 
to find more director examples. I know grant skinner has some good 
actionscript code at gskinner.com, but it isn't completely accurate but 
the tradeoff is that it is very fast...may be easy enough to adapt to 
lingo. On the other hand, lingo may be fast enough to pull off a* without 
any issues - smaller 'rooms' will help. The smaller the number of tiles to 
search, the faster the path can be computed. Blocked terrain can be 
achieved by marking various instances of tiles as impassable, or having a 
very high movement cost, therefore coercing your avatar to walk around it.

~Mathew

Rodrigo Peres wrote:
Hi list,
Does anyone com point me in a direction, docs, tutorial anything that can
help to build interactions like this. With interactions I mean the ability
to control your avatar and don't cross walls, chairs etc.
www.habbohotel.com
Thank's
Rodrigo
Spike
Rowe House
Emson Close
Saffron Walden
UK  CB10 1HL
+44 (0) 1799 529 100
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


lingo-l Oops

2003-11-17 Thread Rodrigo Peres
Hi list,

Does anyone com point me in a direction, docs, tutorial anything that can
help to build interactions like this. With interactions I mean the ability
to control your avatar and don't cross walls, chairs etc.

www.habbohotel.com



Thank's

Rodrigo

--
Rodrigo Peres
www.rodrigoperes.com.br
escritório/office: +55(11) 3781.7017
celular/mobile: +55(11) 9108.6169
--

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


lingo-l Oops

2003-11-12 Thread Rodrigo Peres
Hi list,

Does anyone com point me in a direction, docs, tutorial anything that can
help to build interactions like this. With interactions I mean the ability
to control your avatar and don't cross walls, chairs etc.

www.habbohotel.com



Thank's

Rodrigo



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


lingo-l OOPS

2003-02-03 Thread Rodrigo Peres
Hi,

Who has already saw the game The sims?? I need to develop something like
that but more simpler.  What I need is to develop a room with some furniture
and my character that will walk in this room and don't cross throw walls
neither tables etc. It will turn around or take another way.

Does anyone knows any kind of book or resource or anything that can point me
in a direction.

Thank's in advance

Rodrigo
-- 


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]