The Daily Click ::. Forums ::. Klik Coding Help ::. Round the house
 

Post Reply  Post Oekaki 
 

Posted By Message

Wiseman



Registered
  14/10/2002
Points
  18
11th August, 2003 at 13:30:01 -

I have some movement problems:

0 Active object1(character)

IIIIIIIII Active object2(house)

0 Active object3(destinaion)

With ball movement, I want character to go round the house to the given destination.
How can it be done?

 
I33´t lover, baby there´s no other...

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
11th August, 2003 at 13:34:45 -

i would use waypoints.

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
11th August, 2003 at 13:44:14 -

You can also try a pathfinding method - here is one:
http://www.clickteam.com/CTforum/showthreaded.php3?Cat=&Board=upload&Number=169920&Search=true&Forum=upload&Words=Pathfinding&Match=Entire%20Phrase&Searchpage=1&Limit=25&Old=allposts&Main=169920
And another:
http://www.clickteam.com/CTforum/showthreaded.php3?Cat=&Board=upload&Number=46751&Search=true&Forum=upload&Words=Pathfinding&Match=Entire%20Phrase&Searchpage=3&Limit=25&Old=allposts&Main=46751

Yay. I haven't tried them out but they should be good. If not, go search.

 
n/a

Wiseman



Registered
  14/10/2002
Points
  18
11th August, 2003 at 14:03:20 -

What do you mean by waypoints?
The problem is that the position of the destination will change during the game...

 
I33´t lover, baby there´s no other...

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
11th August, 2003 at 14:14:19 -

Not the best example but it should get the idea across

Image

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Wiseman



Registered
  14/10/2002
Points
  18
11th August, 2003 at 14:26:07 -

but what if the position of the central node is changing often?

 
I33´t lover, baby there´s no other...

Wiseman



Registered
  14/10/2002
Points
  18
11th August, 2003 at 14:28:33 -

Thanks for your advices
I try to download the collusion object, maybe this could help too..

 
I33´t lover, baby there´s no other...

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
11th August, 2003 at 15:01:01 -

Those URLs were so big and long that DC decided not to linkify them. Just copy them into your browser's address bar, it will fit. No, really.

 
n/a

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
11th August, 2003 at 15:22:47 -

I suppose if you want that sort of system you'll have to look into path finding

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
12th August, 2003 at 03:30:54 -

Waypoints are the best method, but i have seen this really simple bouncing engine.

Active collides with background - active.dir = active.dir - 16, bounce.

That's it.

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click